Searched refs:dm_table (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/md/ |
D | dm.h | 46 struct dm_table; 52 void dm_table_event_callback(struct dm_table *t, 54 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index); 55 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector); 56 bool dm_table_has_no_data_devices(struct dm_table *table); 57 int dm_calculate_queue_limits(struct dm_table *table, 59 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, 61 struct list_head *dm_table_get_devices(struct dm_table *t); 62 void dm_table_presuspend_targets(struct dm_table *t); 63 void dm_table_presuspend_undo_targets(struct dm_table *t); [all …]
|
D | dm-table.c | 57 static inline sector_t *get_node(struct dm_table *t, in get_node() 67 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() 82 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() 119 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets() 144 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create() 147 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create() 190 void dm_table_destroy(struct dm_table *t) in dm_table_destroy() 374 struct dm_table *t = ti->table; in dm_get_device() 467 static int adjoin(struct dm_table *table, struct dm_target *ti) in adjoin() 581 static int validate_hardware_logical_block_alignment(struct dm_table *table, in validate_hardware_logical_block_alignment() [all …]
|
D | dm-ioctl.c | 45 struct dm_table *new_map; 254 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove() 256 struct dm_table *table; in __hash_remove() 285 struct dm_table *t; in dm_hash_remove_all() 374 struct dm_table *table; in dm_hash_rename() 682 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table() 685 struct dm_table *table = NULL; in dm_get_inactive_table() 705 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table() 720 struct dm_table *table; in __dev_status() 868 struct dm_table *t; in dev_remove() [all …]
|
D | dm.c | 69 struct dm_table *map; 467 struct dm_table *map; in dm_blk_report_zones() 514 struct dm_table *map; in dm_prepare_ioctl() 700 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri… in dm_get_live_table() 722 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast() 1075 struct dm_table *map; in dm_dax_get_live_target() 1120 struct dm_table *map; in dm_dax_supported() 1559 struct dm_table *map, struct bio *bio) in init_clone_info() 1573 struct dm_table *map, struct bio *bio) in __split_and_process_bio() 1636 struct dm_table *map; in dm_submit_bio() [all …]
|
D | dm-rq.h | 33 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
|
D | dm-core.h | 137 struct dm_table { struct
|
D | dm-rq.c | 495 struct dm_table *map = dm_get_live_table(md, &srcu_idx); in dm_mq_queue_rq() 531 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t) in dm_mq_init_request_queue()
|
/Linux-v5.10/include/linux/ |
D | device-mapper.h | 19 struct dm_table; 261 struct dm_table *table; 471 int dm_table_create(struct dm_table **result, fmode_t mode, 477 int dm_table_add_target(struct dm_table *t, const char *type, 486 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type); 491 int dm_table_complete(struct dm_table *t); 496 void dm_table_destroy(struct dm_table *t); 506 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx); 513 sector_t dm_table_get_size(struct dm_table *t); 514 unsigned int dm_table_get_num_targets(struct dm_table *t); [all …]
|