Searched refs:dm_table (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.15/drivers/md/ |
D | dm.h | 46 struct dm_table; 54 void dm_table_event_callback(struct dm_table *t, 56 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index); 57 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector); 58 bool dm_table_has_no_data_devices(struct dm_table *table); 59 int dm_calculate_queue_limits(struct dm_table *table, 61 int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, 63 struct list_head *dm_table_get_devices(struct dm_table *t); 64 void dm_table_presuspend_targets(struct dm_table *t); 65 void dm_table_presuspend_undo_targets(struct dm_table *t); [all …]
|
D | dm-table.c | 57 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() 101 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets() 126 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create() 129 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create() 172 static void dm_table_destroy_keyslot_manager(struct dm_table *t); 174 void dm_table_destroy(struct dm_table *t) in dm_table_destroy() 355 struct dm_table *t = ti->table; in dm_get_device() 455 static int adjoin(struct dm_table *table, struct dm_target *ti) in adjoin() [all …]
|
D | dm-ima.h | 61 void dm_ima_measure_on_table_load(struct dm_table *table, unsigned int status_flags); 70 static inline void dm_ima_measure_on_table_load(struct dm_table *table, unsigned int status_flags) … in dm_ima_measure_on_table_load()
|
D | dm-ioctl.c | 49 struct dm_table *new_map; 292 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove() 294 struct dm_table *table; in __hash_remove() 324 struct dm_table *t; in dm_hash_remove_all() 413 struct dm_table *table; in dm_hash_rename() 764 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table() 767 struct dm_table *table = NULL; in dm_get_inactive_table() 787 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table() 802 struct dm_table *table; in __dev_status() 950 struct dm_table *t; in dev_remove() [all …]
|
D | dm.c | 71 struct dm_table *map; 410 struct dm_table *map; in dm_prepare_ioctl() 598 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri… in dm_get_live_table() 620 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast() 989 struct dm_table *map; in dm_dax_get_live_target() 1034 struct dm_table *map; in dm_dax_supported() 1510 struct dm_table *map, struct bio *bio) in init_clone_info() 1524 struct dm_table *map, struct bio *bio) in __split_and_process_bio() 1584 struct dm_table *map; in dm_submit_bio() 1847 static int __bind_mempools(struct mapped_device *md, struct dm_table *t) in __bind_mempools() [all …]
|
D | dm-zone.c | 20 static int dm_blk_do_report_zones(struct mapped_device *md, struct dm_table *t, in dm_blk_do_report_zones() 59 struct dm_table *map; in dm_blk_report_zones() 230 static int dm_revalidate_zones(struct mapped_device *md, struct dm_table *t) in dm_revalidate_zones() 277 static bool dm_table_supports_zone_append(struct dm_table *t) in dm_table_supports_zone_append() 296 int dm_set_zones_restrictions(struct dm_table *t, struct request_queue *q) in dm_set_zones_restrictions() 340 struct dm_table *t; in dm_update_zone_wp_offset()
|
D | dm-rq.h | 33 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
|
D | dm-core.h | 166 struct dm_table { struct
|
D | dm-rq.c | 503 struct dm_table *map = dm_get_live_table(md, &srcu_idx); in dm_mq_queue_rq() 539 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t) in dm_mq_init_request_queue()
|
D | dm-ima.c | 178 void dm_ima_measure_on_table_load(struct dm_table *table, unsigned int status_flags) in dm_ima_measure_on_table_load()
|
/Linux-v5.15/include/linux/ |
D | device-mapper.h | 19 struct dm_table; 291 struct dm_table *table; 513 int dm_table_create(struct dm_table **result, fmode_t mode, 519 int dm_table_add_target(struct dm_table *t, const char *type, 528 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type); 533 int dm_table_complete(struct dm_table *t); 538 void dm_table_destroy(struct dm_table *t); 548 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx); 555 sector_t dm_table_get_size(struct dm_table *t); 556 unsigned int dm_table_get_num_targets(struct dm_table *t); [all …]
|