Searched refs:srcu_idx (Results 1 – 6 of 6) sorted by relevance
/drivers/md/ |
D | dm-ioctl.c | 257 int srcu_idx; in __hash_remove() local 266 table = dm_get_live_table(hc->md, &srcu_idx); in __hash_remove() 269 dm_put_live_table(hc->md, srcu_idx); in __hash_remove() 377 int srcu_idx; in dm_hash_rename() local 440 table = dm_get_live_table(hc->md, &srcu_idx); in dm_hash_rename() 443 dm_put_live_table(hc->md, srcu_idx); in dm_hash_rename() 657 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table() argument 663 dm_get_live_table(md, srcu_idx); in dm_get_inactive_table() 682 int *srcu_idx) in dm_get_live_or_inactive_table() argument 685 dm_get_inactive_table(md, srcu_idx) : dm_get_live_table(md, srcu_idx); in dm_get_live_or_inactive_table() [all …]
|
D | dm.c | 420 int srcu_idx, r; in dm_grab_bdev_for_ioctl() local 424 map = dm_get_live_table(md, &srcu_idx); in dm_grab_bdev_for_ioctl() 446 dm_put_live_table(md, srcu_idx); in dm_grab_bdev_for_ioctl() 450 dm_put_live_table(md, srcu_idx); in dm_grab_bdev_for_ioctl() 576 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri… in dm_get_live_table() argument 578 *srcu_idx = srcu_read_lock(&md->io_barrier); in dm_get_live_table() 583 void dm_put_live_table(struct mapped_device *md, int srcu_idx) __releases(md->io_barrier) in dm_put_live_table() argument 585 srcu_read_unlock(&md->io_barrier, srcu_idx); in dm_put_live_table() 929 sector_t sector, int *srcu_idx) in dm_dax_get_live_target() argument 934 map = dm_get_live_table(md, srcu_idx); in dm_dax_get_live_target() [all …]
|
D | dm-rq.c | 632 int srcu_idx; in dm_old_request_fn() local 633 struct dm_table *map = dm_get_live_table(md, &srcu_idx); in dm_old_request_fn() 636 dm_put_live_table(md, srcu_idx); in dm_old_request_fn() 640 dm_put_live_table(md, srcu_idx); in dm_old_request_fn() 736 int srcu_idx; in dm_mq_queue_rq() local 737 struct dm_table *map = dm_get_live_table(md, &srcu_idx); in dm_mq_queue_rq() 740 dm_put_live_table(md, srcu_idx); in dm_mq_queue_rq()
|
D | dm-table.c | 985 int srcu_idx; in dm_table_determine_type() local 986 struct dm_table *live_table = dm_get_live_table(t->md, &srcu_idx); in dm_table_determine_type() 993 dm_put_live_table(t->md, srcu_idx); in dm_table_determine_type()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | dev.c | 447 int srcu_idx; in mlx5_core_page_fault() local 449 srcu_idx = srcu_read_lock(&priv->pfault_srcu); in mlx5_core_page_fault() 452 srcu_read_unlock(&priv->pfault_srcu, srcu_idx); in mlx5_core_page_fault()
|
/drivers/infiniband/hw/hfi1/ |
D | debugfs.c | 74 int srcu_idx; in hfi1_seq_read() local 77 r = debugfs_use_file_start(d, &srcu_idx); in hfi1_seq_read() 80 debugfs_use_file_finish(srcu_idx); in hfi1_seq_read() 90 int srcu_idx; in hfi1_seq_lseek() local 93 r = debugfs_use_file_start(d, &srcu_idx); in hfi1_seq_lseek() 96 debugfs_use_file_finish(srcu_idx); in hfi1_seq_lseek()
|