Searched refs:dm_table (Results  1 – 7 of 7) sorted by relevance
| /Linux-v5.4/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 | 32 struct dm_table {  struct 97 static inline sector_t *get_node(struct dm_table *t,  in get_node() 107 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n)  in high() 122 static int setup_btree_index(unsigned int l, struct dm_table *t)  in setup_btree_index() 159 static int alloc_targets(struct dm_table *t, unsigned int num)  in alloc_targets() 184 int dm_table_create(struct dm_table **result, fmode_t mode,  in dm_table_create() 187 	struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL);  in dm_table_create() 231 void dm_table_destroy(struct dm_table *t)  in dm_table_destroy() 432 	struct dm_table *t = ti->table;  in dm_get_device() 527 static int adjoin(struct dm_table *table, struct dm_target *ti)  in adjoin() [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 | 66 	struct dm_table *map; 449 	struct dm_table *map;  in dm_blk_report_zones() 497 	struct dm_table *map;  in dm_prepare_ioctl() 704 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri…  in dm_get_live_table() 726 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU)  in dm_get_live_table_fast() 1067 	struct dm_table *map;  in dm_dax_get_live_target() 1112 	struct dm_table *map;  in dm_dax_supported() 1594 			    struct dm_table *map, struct bio *bio)  in init_clone_info() 1608 					struct dm_table *map, struct bio *bio)  in __split_and_process_bio() 1681 static blk_qc_t __process_bio(struct mapped_device *md, struct dm_table *map,  in __process_bio() [all …] 
 | 
| D | dm-rq.h | 33 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
  | 
| D | dm-rq.c | 501 		struct dm_table *map = dm_get_live_table(md, &srcu_idx);  in dm_mq_queue_rq() 537 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t)  in dm_mq_init_request_queue()
  | 
| /Linux-v5.4/include/linux/ | 
| D | device-mapper.h | 19 struct dm_table; 252 	struct dm_table *table; 452 int dm_table_create(struct dm_table **result, fmode_t mode, 458 int dm_table_add_target(struct dm_table *t, const char *type, 464 void dm_table_add_target_callbacks(struct dm_table *t, struct dm_target_callbacks *cb); 472 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type); 477 int dm_table_complete(struct dm_table *t); 482 void dm_table_destroy(struct dm_table *t); 492 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx); 499 sector_t dm_table_get_size(struct dm_table *t); [all …] 
 |