Searched refs:dm_table (Results 1 – 4 of 4) sorted by relevance
/drivers/md/ |
D | dm.h | 50 struct dm_table; 56 void dm_table_destroy(struct dm_table *t); 57 void dm_table_event_callback(struct dm_table *t, 59 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index); 60 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector); 61 bool dm_table_has_no_data_devices(struct dm_table *table); 62 int dm_calculate_queue_limits(struct dm_table *table, 64 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, 66 struct list_head *dm_table_get_devices(struct dm_table *t); 67 void dm_table_presuspend_targets(struct dm_table *t); [all …]
|
D | dm-table.c | 30 struct dm_table { struct 93 static inline sector_t *get_node(struct dm_table *t, in get_node() 103 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() 118 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() 155 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets() 182 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create() 185 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create() 228 void dm_table_destroy(struct dm_table *t) in dm_table_destroy() 377 struct dm_table *t = ti->table; in dm_get_device() 489 static int adjoin(struct dm_table *table, struct dm_target *ti) in adjoin() [all …]
|
D | dm-ioctl.c | 36 struct dm_table *new_map; 43 struct dm_table { struct 253 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove() 255 struct dm_table *table; in __hash_remove() 284 struct dm_table *t; in dm_hash_remove_all() 373 struct dm_table *table; in dm_hash_rename() 645 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table() 648 struct dm_table *table = NULL; in dm_get_inactive_table() 668 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table() 683 struct dm_table *table; in __dev_status() [all …]
|
D | dm.c | 125 struct dm_table { struct 143 struct dm_table *map; argument 513 struct dm_table *map; in dm_blk_ioctl() 648 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri… in dm_get_live_table() 670 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast() 1396 struct dm_table *map; 1603 struct dm_table *map, struct bio *bio) in __split_and_process_bio() 1649 struct dm_table *map = dm_get_live_table_fast(md); in dm_merge_bvec() 1708 struct dm_table *map; in _dm_request() 1914 struct dm_table *map = dm_get_live_table(md, &srcu_idx); in dm_request_fn() [all …]
|