Searched refs:dm_table (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/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 98 static inline sector_t *get_node(struct dm_table *t, in get_node() 108 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() 123 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() 160 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets() 187 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create() 190 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create() 234 void dm_table_destroy(struct dm_table *t) in dm_table_destroy() 435 struct dm_table *t = ti->table; in dm_get_device() 530 static int adjoin(struct dm_table *table, struct dm_target *ti) in adjoin() [all …]
|
D | dm-rq.h | 52 int dm_old_init_request_queue(struct mapped_device *md, struct dm_table *t); 53 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
|
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() 657 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table() 660 struct dm_table *table = NULL; in dm_get_inactive_table() 680 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table() 695 struct dm_table *table; in __dev_status() 843 struct dm_table *t; in dev_remove() [all …]
|
D | dm.c | 66 struct dm_table *map; 466 struct dm_table *map; in dm_prepare_ioctl() 671 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri… in dm_get_live_table() 693 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast() 1028 struct dm_table *map; in dm_dax_get_live_target() 1573 struct dm_table *map, struct bio *bio) in init_clone_info() 1584 struct dm_table *map, struct bio *bio) in __split_and_process_bio() 1643 struct dm_table *map, struct bio *bio) in __process_bio() 1688 typedef blk_qc_t (process_bio_fn)(struct mapped_device *, struct dm_table *, struct bio *); 1696 struct dm_table *map; in __dm_make_request() [all …]
|
D | dm-rq.c | 650 struct dm_table *map = dm_get_live_table(md, &srcu_idx); in dm_old_request_fn() 698 int dm_old_init_request_queue(struct mapped_device *md, struct dm_table *t) in dm_old_init_request_queue() 751 struct dm_table *map = dm_get_live_table(md, &srcu_idx); in dm_mq_queue_rq() 787 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t) in dm_mq_init_request_queue()
|
/Linux-v4.19/include/linux/ |
D | device-mapper.h | 18 struct dm_table; 244 struct dm_table *table; 442 int dm_table_create(struct dm_table **result, fmode_t mode, 448 int dm_table_add_target(struct dm_table *t, const char *type, 454 void dm_table_add_target_callbacks(struct dm_table *t, struct dm_target_callbacks *cb); 462 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type); 467 int dm_table_complete(struct dm_table *t); 472 void dm_table_destroy(struct dm_table *t); 482 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx); 489 sector_t dm_table_get_size(struct dm_table *t); [all …]
|