Lines Matching refs:srcu_idx
256 int srcu_idx; in __hash_remove() local
265 table = dm_get_live_table(hc->md, &srcu_idx); in __hash_remove()
268 dm_put_live_table(hc->md, srcu_idx); in __hash_remove()
376 int srcu_idx; in dm_hash_rename() local
439 table = dm_get_live_table(hc->md, &srcu_idx); in dm_hash_rename()
442 dm_put_live_table(hc->md, srcu_idx); in dm_hash_rename()
645 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table() argument
651 dm_get_live_table(md, srcu_idx); in dm_get_inactive_table()
670 int *srcu_idx) in dm_get_live_or_inactive_table() argument
673 dm_get_inactive_table(md, srcu_idx) : dm_get_live_table(md, srcu_idx); in dm_get_live_or_inactive_table()
684 int srcu_idx; in __dev_status() local
710 table = dm_get_live_table(md, &srcu_idx); in __dev_status()
720 dm_put_live_table(md, srcu_idx); in __dev_status()
723 int srcu_idx; in __dev_status() local
724 table = dm_get_inactive_table(md, &srcu_idx); in __dev_status()
730 dm_put_live_table(md, srcu_idx); in __dev_status()
1178 int srcu_idx; in dev_wait() local
1199 table = dm_get_live_or_inactive_table(md, param, &srcu_idx); in dev_wait()
1202 dm_put_live_table(md, srcu_idx); in dev_wait()
1434 int srcu_idx; in table_deps() local
1442 table = dm_get_live_or_inactive_table(md, param, &srcu_idx); in table_deps()
1445 dm_put_live_table(md, srcu_idx); in table_deps()
1460 int srcu_idx; in table_status() local
1468 table = dm_get_live_or_inactive_table(md, param, &srcu_idx); in table_status()
1471 dm_put_live_table(md, srcu_idx); in table_status()
1521 int srcu_idx; in target_message() local
1550 table = dm_get_live_table(md, &srcu_idx); in target_message()
1571 dm_put_live_table(md, srcu_idx); in target_message()