Home
last modified time | relevance | path

Searched refs:dm_table (Results 1 – 4 of 4) sorted by relevance

/drivers/md/
Ddm.h48 struct dm_table;
54 void dm_table_destroy(struct dm_table *t);
55 void dm_table_event_callback(struct dm_table *t,
57 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index);
58 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector);
59 bool dm_table_has_no_data_devices(struct dm_table *table);
60 int dm_calculate_queue_limits(struct dm_table *table,
62 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
64 struct list_head *dm_table_get_devices(struct dm_table *t);
65 void dm_table_presuspend_targets(struct dm_table *t);
[all …]
Ddm-table.c43 struct dm_table { struct
107 static inline sector_t *get_node(struct dm_table *t, in get_node()
117 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high()
132 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index()
169 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets()
202 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create()
205 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create()
243 void dm_table_destroy(struct dm_table *t) in dm_table_destroy()
278 void dm_table_get(struct dm_table *t) in dm_table_get()
284 void dm_table_put(struct dm_table *t) in dm_table_put()
[all …]
Ddm-ioctl.c36 struct dm_table *new_map;
247 struct dm_table *table; in __hash_remove()
356 struct dm_table *table; in dm_hash_rename()
623 static struct dm_table *dm_get_inactive_table(struct mapped_device *md) in dm_get_inactive_table()
626 struct dm_table *table = NULL; in dm_get_inactive_table()
645 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table()
659 struct dm_table *table; in __dev_status()
958 struct dm_table *new_map, *old_map = NULL; in do_resume()
1049 static void retrieve_status(struct dm_table *table, in retrieve_status()
1127 struct dm_table *table; in dev_wait()
[all …]
Ddm.c160 struct dm_table *map;
389 struct dm_table *map = dm_get_live_table(md); in dm_blk_ioctl()
507 struct dm_table *dm_get_live_table(struct mapped_device *md) in dm_get_live_table()
509 struct dm_table *t; in dm_get_live_table()
1011 struct dm_table *map;
1400 struct dm_table *map = dm_get_live_table(md); in dm_merge_bvec()
1667 struct dm_table *map = dm_get_live_table(md); in dm_request_fn()
1735 struct dm_table *map = dm_get_live_table(md); in dm_lld_busy()
1751 struct dm_table *map; in dm_any_congested()
1976 static void __bind_mempools(struct mapped_device *md, struct dm_table *t) in __bind_mempools()
[all …]