Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
Ddm.h47 struct dm_table;
57 void dm_table_event_callback(struct dm_table *t,
59 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector);
60 bool dm_table_has_no_data_devices(struct dm_table *table);
61 int dm_calculate_queue_limits(struct dm_table *table,
63 int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
65 struct list_head *dm_table_get_devices(struct dm_table *t);
66 void dm_table_presuspend_targets(struct dm_table *t);
67 void dm_table_presuspend_undo_targets(struct dm_table *t);
68 void dm_table_postsuspend_targets(struct dm_table *t);
[all …]
Ddm-table.c60 static inline sector_t *get_node(struct dm_table *t, in get_node()
70 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high()
85 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index()
104 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets()
129 int dm_table_create(struct dm_table **result, blk_mode_t mode, in dm_table_create()
132 struct dm_table *t; in dm_table_create()
181 static void dm_table_destroy_crypto_profile(struct dm_table *t);
183 void dm_table_destroy(struct dm_table *t) in dm_table_destroy()
347 struct dm_table *t = ti->table; in dm_get_device()
437 struct dm_table *t = ti->table; in dm_put_device()
[all …]
Ddm-ima.h60 void dm_ima_measure_on_table_load(struct dm_table *table, unsigned int status_flags);
69 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-zone.c21 static int dm_blk_do_report_zones(struct mapped_device *md, struct dm_table *t, in dm_blk_do_report_zones()
60 struct dm_table *map; in dm_blk_report_zones()
226 static int dm_revalidate_zones(struct mapped_device *md, struct dm_table *t) in dm_revalidate_zones()
273 static bool dm_table_supports_zone_append(struct dm_table *t) in dm_table_supports_zone_append()
289 int dm_set_zones_restrictions(struct dm_table *t, struct request_queue *q) in dm_set_zones_restrictions()
333 struct dm_table *t; in dm_update_zone_wp_offset()
Ddm-ioctl.c53 struct dm_table *new_map;
308 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove()
310 struct dm_table *table; in __hash_remove()
342 struct dm_table *t; in dm_hash_remove_all()
431 struct dm_table *table; in dm_hash_rename()
789 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table()
792 struct dm_table *table = NULL; in dm_get_inactive_table()
812 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table()
827 struct dm_table *table; in __dev_status()
982 struct dm_table *t; in dev_remove()
[all …]
Ddm.c83 struct dm_table *map;
416 struct dm_table *map; in dm_prepare_ioctl()
683 struct dm_table *dm_get_live_table(struct mapped_device *md, in dm_get_live_table()
707 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast()
1205 struct dm_table *map; in dm_dax_get_live_target()
1537 struct dm_table *t = ci->map; in __send_empty_flush()
1735 struct dm_table *map, struct bio *bio, bool is_abnormal) in init_clone_info()
1755 struct dm_table *map, struct bio *bio) in dm_split_and_process_bio()
1817 struct dm_table *map; in dm_submit_bio()
2185 static struct dm_table *__bind(struct mapped_device *md, struct dm_table *t, in __bind()
[all …]
Ddm-rq.h34 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
Ddm-core.h191 struct dm_table { struct
232 static inline struct dm_target *dm_table_get_target(struct dm_table *t, in dm_table_get_target() argument
Ddm-verity-loadpin.c56 struct dm_table *table; in dm_verity_loadpin_is_bdev_trusted()
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()
Ddm-ima.c178 void dm_ima_measure_on_table_load(struct dm_table *table, unsigned int status_flags) in dm_ima_measure_on_table_load()
/linux-6.6.21/include/linux/
Ddevice-mapper.h20 struct dm_table;
297 struct dm_table *table;
546 int dm_table_create(struct dm_table **result, blk_mode_t mode,
552 int dm_table_add_target(struct dm_table *t, const char *type,
561 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type);
566 int dm_table_complete(struct dm_table *t);
571 void dm_table_destroy(struct dm_table *t);
581 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx);
588 sector_t dm_table_get_size(struct dm_table *t);
589 blk_mode_t dm_table_get_mode(struct dm_table *t);
[all …]