Searched refs:dm_table (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/md/ |
D | dm.h | 51 struct dm_table; 57 void dm_table_destroy(struct dm_table *t); 58 void dm_table_event_callback(struct dm_table *t, 60 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index); 61 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector); 62 bool dm_table_has_no_data_devices(struct dm_table *table); 63 int dm_calculate_queue_limits(struct dm_table *table, 65 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, 67 struct list_head *dm_table_get_devices(struct dm_table *t); 68 void dm_table_presuspend_targets(struct dm_table *t); [all …]
|
D | dm-table.c | 31 struct dm_table { struct 94 static inline sector_t *get_node(struct dm_table *t, in get_node() 104 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() 119 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() 156 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets() 183 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create() 186 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create() 229 void dm_table_destroy(struct dm_table *t) in dm_table_destroy() 377 struct dm_table *t = ti->table; in dm_get_device() 485 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 | 132 struct dm_table { struct 150 struct dm_table __rcu *map; argument 561 struct dm_table *map; in dm_blk_ioctl() 705 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri… in dm_get_live_table() 727 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast() 1468 struct dm_table *map; 1675 struct dm_table *map, struct bio *bio) in __split_and_process_bio() 1721 struct dm_table *map = dm_get_live_table_fast(md); in dm_merge_bvec() 1779 struct dm_table *map; in dm_make_request() 1903 struct dm_table *table; in prep_tio() [all …]
|
/linux-4.1.27/include/linux/ |
D | device-mapper.h | 18 struct dm_table; 205 struct dm_table *table; 427 int dm_table_create(struct dm_table **result, fmode_t mode, 433 int dm_table_add_target(struct dm_table *t, const char *type, 439 void dm_table_add_target_callbacks(struct dm_table *t, struct dm_target_callbacks *cb); 444 int dm_table_complete(struct dm_table *t); 454 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx); 461 sector_t dm_table_get_size(struct dm_table *t); 462 unsigned int dm_table_get_num_targets(struct dm_table *t); 463 fmode_t dm_table_get_mode(struct dm_table *t); [all …]
|