Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm.h46 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 …]
H A Ddm-table.c57 static inline sector_t *get_node(struct dm_table *t, in get_node()
67 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high()
82 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index()
119 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets()
144 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create()
147 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create()
190 static void dm_table_destroy_keyslot_manager(struct dm_table *t);
192 void dm_table_destroy(struct dm_table *t) in dm_table_destroy()
380 struct dm_table *t = ti->table; in dm_get_device()
480 static int adjoin(struct dm_table *table, struct dm_target *ti) in adjoin()
[all …]
H A Ddm-ioctl.c46 struct dm_table *new_map;
255 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove()
257 struct dm_table *table; in __hash_remove()
286 struct dm_table *t; in dm_hash_remove_all()
375 struct dm_table *table; in dm_hash_rename()
683 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table()
686 struct dm_table *table = NULL; in dm_get_inactive_table()
706 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table()
721 struct dm_table *table; in __dev_status()
869 struct dm_table *t; in dev_remove()
[all …]
H A Ddm.c70 struct dm_table *map;
478 struct dm_table *map; in dm_blk_report_zones()
525 struct dm_table *map; in dm_prepare_ioctl()
712 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri… in dm_get_live_table()
734 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast()
1101 struct dm_table *map; in dm_dax_get_live_target()
1146 struct dm_table *map; in dm_dax_supported()
1621 struct dm_table *map, struct bio *bio) in init_clone_info()
1635 struct dm_table *map, struct bio *bio) in __split_and_process_bio()
1698 struct dm_table *map; in dm_submit_bio()
[all …]
H A Ddm-rq.h33 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
H A Ddm-core.h137 struct dm_table { struct
H A Ddm-rq.c495 struct dm_table *map; in dm_mq_queue_rq()
536 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t) in dm_mq_init_request_queue()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddevice-mapper.h20 struct dm_table;
284 struct dm_table *table;
502 int dm_table_create(struct dm_table **result, fmode_t mode,
508 int dm_table_add_target(struct dm_table *t, const char *type,
517 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type);
522 int dm_table_complete(struct dm_table *t);
527 void dm_table_destroy(struct dm_table *t);
537 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx);
544 sector_t dm_table_get_size(struct dm_table *t);
545 unsigned int dm_table_get_num_targets(struct dm_table *t);
[all …]