Home
last modified time | relevance | path

Searched refs:table_head (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/sys/dev/dm/
H A Ddm_ioctl.c242 dm_table_head_init(&dmv->table_head); in dm_dev_create_ioctl()
356 prop_dictionary_set_uint32(dm_dict, DM_IOCTL_OPEN, dmv->table_head.io_cnt); in dm_dev_rename_ioctl()
439 prop_dictionary_set_uint32(dm_dict, DM_IOCTL_OPEN, dmv->table_head.io_cnt); in dm_dev_status_ioctl()
450 if ((j = dm_table_get_target_count(&dmv->table_head, DM_TABLE_ACTIVE))) in dm_dev_status_ioctl()
457 if (dm_table_get_target_count(&dmv->table_head, DM_TABLE_INACTIVE)) in dm_dev_status_ioctl()
495 prop_dictionary_set_uint32(dm_dict, DM_IOCTL_OPEN, dmv->table_head.io_cnt); in dm_dev_suspend_ioctl()
540 dm_table_switch_tables(&dmv->table_head); in dm_dev_resume_ioctl()
547 dmgetproperties(dmv->diskp, &dmv->table_head); in dm_dev_resume_ioctl()
549 prop_dictionary_set_uint32(dm_dict, DM_IOCTL_OPEN, dmv->table_head.io_cnt); in dm_dev_resume_ioctl()
556 dm_table_destroy(&dmv->table_head, DM_TABLE_INACTIVE); in dm_dev_resume_ioctl()
[all …]
H A Ddevice-mapper.c284 dm_table_destroy(&dmv->table_head, DM_TABLE_ACTIVE); in dm_detach()
287 dm_table_destroy(&dmv->table_head, DM_TABLE_INACTIVE); in dm_detach()
289 dm_table_head_destroy(&dmv->table_head); in dm_detach()
500 dm_table_disksize(&dmv->table_head, &dkw->dkw_size, NULL); in disk_ioctl_switch()
536 tbl = dm_table_get_entry(&dmv->table_head, DM_TABLE_ACTIVE); in disk_ioctl_switch()
545 dm_table_release(&dmv->table_head, DM_TABLE_ACTIVE); in disk_ioctl_switch()
558 dm_table_disksize(&dmv->table_head, NULL, &secsize); in disk_ioctl_switch()
575 dm_table_disksize(&dmv->table_head, &numsec, &secsize); in disk_ioctl_switch()
619 dm_table_size(&dmv->table_head)) <= 0) { in dmstrategy()
635 tbl = dm_table_get_entry(&dmv->table_head, DM_TABLE_ACTIVE); in dmstrategy()
[all …]
H A Ddm_dev.c293 dm_table_destroy(&dmv->table_head, DM_TABLE_ACTIVE); in dm_dev_destroy()
296 dm_table_destroy(&dmv->table_head, DM_TABLE_INACTIVE); in dm_dev_destroy()
298 dm_table_head_destroy(&dmv->table_head); in dm_dev_destroy()
H A Ddm.h146 dm_table_head_t table_head; member
H A Ddm_table.c346 head = &table_en->dm_dev->table_head; in dm_table_add_deps()
/netbsd-src/sys/dev/dm/doc/
H A Dlocking.txt52 dm_table_head_t table_head;
134 * Decrement io reference counter and wake up all callers, with table_head cv.
144 * Initialize table_head structures, I'm trying to keep this structure as
150 * Destroy all variables in table_head