Searched refs:DM_TABLE_ACTIVE (Results 1 – 6 of 6) sorted by relevance
/netbsd/sys/dev/dm/ |
H A D | dm_table.c | 73 if (table_id == DM_TABLE_ACTIVE) in dm_table_busy() 160 if (table_id == DM_TABLE_ACTIVE) in dm_table_destroy() 218 return dm_table_size_impl(head, DM_TABLE_ACTIVE); in dm_table_size() 246 id = dm_table_busy(head, DM_TABLE_ACTIVE); in dm_table_disksize()
|
H A D | device-mapper.c | 284 dm_table_destroy(&dmv->table_head, DM_TABLE_ACTIVE); in dm_detach() 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() 635 tbl = dm_table_get_entry(&dmv->table_head, DM_TABLE_ACTIVE); in dmstrategy() 685 dm_table_release(&dmv->table_head, DM_TABLE_ACTIVE); in dmstrategy()
|
H A D | dm_ioctl.c | 447 if ((j = dm_table_get_target_count(&dmv->table_head, DM_TABLE_ACTIVE))) in dm_dev_status_ioctl() 650 table_type = DM_TABLE_ACTIVE; in dm_table_deps_ioctl() 931 table_type = DM_TABLE_ACTIVE; in dm_table_status_ioctl() 933 if (dm_table_get_target_count(&dmv->table_head, DM_TABLE_ACTIVE)) { in dm_table_status_ioctl()
|
H A D | dm.h | 299 #define DM_TABLE_ACTIVE 0 macro
|
H A D | dm_dev.c | 293 dm_table_destroy(&dmv->table_head, DM_TABLE_ACTIVE); in dm_dev_destroy()
|
/netbsd/sys/dev/dm/doc/ |
H A D | locking.txt | 178 * DM_TABLE_ACTIVE will return active table id. 190 if (table_id == DM_TABLE_ACTIVE)
|