Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm.h46 struct dm_table;
54 void dm_table_event_callback(struct dm_table *t,
56 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector);
57 bool dm_table_has_no_data_devices(struct dm_table *table);
58 int dm_calculate_queue_limits(struct dm_table *table,
60 int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
62 struct list_head *dm_table_get_devices(struct dm_table *t);
63 void dm_table_presuspend_targets(struct dm_table *t);
64 void dm_table_presuspend_undo_targets(struct dm_table *t);
65 void dm_table_postsuspend_targets(struct dm_table *t);
[all …]
Ddm-table.c59 static inline sector_t *get_node(struct dm_table *t, in get_node()
69 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high()
84 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index()
103 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets()
128 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create()
131 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create()
174 static void dm_table_destroy_crypto_profile(struct dm_table *t);
176 void dm_table_destroy(struct dm_table *t) in dm_table_destroy()
353 struct dm_table *t = ti->table; in dm_get_device()
452 static int adjoin(struct dm_table *t, struct dm_target *ti) in adjoin()
[all …]
Ddm-ima.h61 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()
Ddm-ioctl.c50 struct dm_table *new_map;
293 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove()
295 struct dm_table *table; in __hash_remove()
325 struct dm_table *t; in dm_hash_remove_all()
414 struct dm_table *table; in dm_hash_rename()
765 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table()
768 struct dm_table *table = NULL; in dm_get_inactive_table()
788 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table()
803 struct dm_table *table; in __dev_status()
957 struct dm_table *t; in dev_remove()
[all …]
Ddm-zone.c20 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()
227 static int dm_revalidate_zones(struct mapped_device *md, struct dm_table *t) in dm_revalidate_zones()
274 static bool dm_table_supports_zone_append(struct dm_table *t) in dm_table_supports_zone_append()
290 int dm_set_zones_restrictions(struct dm_table *t, struct request_queue *q) in dm_set_zones_restrictions()
334 struct dm_table *t; in dm_update_zone_wp_offset()
Ddm.c82 struct dm_table *map;
415 struct dm_table *map; in dm_prepare_ioctl()
677 struct dm_table *dm_get_live_table(struct mapped_device *md, in dm_get_live_table()
701 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast()
712 static inline struct dm_table *dm_get_live_table_bio(struct mapped_device *md, in dm_get_live_table_bio()
1212 struct dm_table *map; in dm_dax_get_live_target()
1540 struct dm_table *t = ci->map; in __send_empty_flush()
1724 struct dm_table *map, struct bio *bio, bool is_abnormal) in init_clone_info()
1744 struct dm_table *map, struct bio *bio) in dm_split_and_process_bio()
1806 struct dm_table *map; in dm_submit_bio()
[all …]
Ddm-core.h188 struct dm_table { struct
229 static inline struct dm_target *dm_table_get_target(struct dm_table *t, in dm_table_get_target() argument
Ddm-rq.h33 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
Ddm-verity-loadpin.c56 struct dm_table *table; in dm_verity_loadpin_is_bdev_trusted()
Ddm-rq.c492 struct dm_table *map; in dm_mq_queue_rq()
533 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t) in dm_mq_init_request_queue()
Ddm-ima.c179 void dm_ima_measure_on_table_load(struct dm_table *table, unsigned int status_flags) in dm_ima_measure_on_table_load()
/linux-6.1.9/include/linux/
Ddevice-mapper.h19 struct dm_table;
298 struct dm_table *table;
527 int dm_table_create(struct dm_table **result, fmode_t mode,
533 int dm_table_add_target(struct dm_table *t, const char *type,
542 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type);
547 int dm_table_complete(struct dm_table *t);
552 void dm_table_destroy(struct dm_table *t);
562 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx);
569 sector_t dm_table_get_size(struct dm_table *t);
570 fmode_t dm_table_get_mode(struct dm_table *t);
[all …]