Searched refs:io_barrier (Results 1 – 2 of 2) sorted by relevance
598 …uct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barrier) in dm_get_live_table()600 *srcu_idx = srcu_read_lock(&md->io_barrier); in dm_get_live_table()602 return srcu_dereference(md->map, &md->io_barrier); in dm_get_live_table()605 void dm_put_live_table(struct mapped_device *md, int srcu_idx) __releases(md->io_barrier) in dm_put_live_table()607 srcu_read_unlock(&md->io_barrier, srcu_idx); in dm_put_live_table()612 synchronize_srcu(&md->io_barrier); in dm_sync_table()987 __acquires(md->io_barrier) in dm_dax_get_live_target()1711 cleanup_srcu_struct(&md->io_barrier); in cleanup_mapped_device()1748 r = init_srcu_struct(&md->io_barrier); in alloc_dev()2437 synchronize_srcu(&md->io_barrier); in __dm_suspend()[all …]
117 struct srcu_struct io_barrier; member