/linux-6.12.1/include/linux/ |
D | device-mapper.h | 19 struct dm_target; 46 typedef int (*dm_ctr_fn) (struct dm_target *target, 53 typedef void (*dm_dtr_fn) (struct dm_target *ti); 62 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio); 63 typedef int (*dm_clone_and_map_request_fn) (struct dm_target *ti, 78 typedef int (*dm_endio_fn) (struct dm_target *ti, 80 typedef int (*dm_request_endio_fn) (struct dm_target *ti, 84 typedef void (*dm_presuspend_fn) (struct dm_target *ti); 85 typedef void (*dm_presuspend_undo_fn) (struct dm_target *ti); 86 typedef void (*dm_postsuspend_fn) (struct dm_target *ti); [all …]
|
D | dm-dirty-log.h | 25 int (*flush_callback_fn)(struct dm_target *ti); 36 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 141 struct dm_target *ti, 142 int (*flush_callback_fn)(struct dm_target *ti),
|
/linux-6.12.1/drivers/md/ |
D | dm-audit.h | 25 struct dm_target *ti, int result); 28 struct dm_target *ti, int result) in dm_audit_log_ctr() 34 struct dm_target *ti, int result) in dm_audit_log_dtr() 40 struct dm_target *ti, int result) in dm_audit_log_target() 51 const char *op, struct dm_target *ti, in dm_audit_log_target() 56 struct dm_target *ti, int result) in dm_audit_log_ctr() 61 struct dm_target *ti, int result) in dm_audit_log_dtr()
|
D | dm-linear.c | 30 static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv) in linear_ctr() 74 static void linear_dtr(struct dm_target *ti) in linear_dtr() 82 static sector_t linear_map_sector(struct dm_target *ti, sector_t bi_sector) in linear_map_sector() 89 int linear_map(struct dm_target *ti, struct bio *bio) in linear_map() 99 static void linear_status(struct dm_target *ti, status_type_t type, in linear_status() 122 static int linear_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in linear_prepare_ioctl() 138 static int linear_report_zones(struct dm_target *ti, in linear_report_zones() 151 static int linear_iterate_devices(struct dm_target *ti, in linear_iterate_devices() 160 static struct dax_device *linear_dax_pgoff(struct dm_target *ti, pgoff_t *pgoff) in linear_dax_pgoff() 169 static long linear_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in linear_dax_direct_access() [all …]
|
D | dm-target.c | 124 static int io_err_get_args(struct dm_target *tt, unsigned int argc, char **args) in io_err_get_args() 161 static int io_err_ctr(struct dm_target *tt, unsigned int argc, char **args) in io_err_ctr() 184 static void io_err_dtr(struct dm_target *tt) in io_err_dtr() 194 static int io_err_map(struct dm_target *tt, struct bio *bio) in io_err_map() 199 static int io_err_clone_and_map_rq(struct dm_target *ti, struct request *rq, in io_err_clone_and_map_rq() 212 static sector_t io_err_map_sector(struct dm_target *ti, sector_t bi_sector) in io_err_map_sector() 219 static int io_err_report_zones(struct dm_target *ti, in io_err_report_zones() 239 static int io_err_iterate_devices(struct dm_target *ti, in io_err_iterate_devices() 250 static void io_err_io_hints(struct dm_target *ti, struct queue_limits *limits) in io_err_io_hints() 256 static long io_err_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in io_err_dax_direct_access()
|
D | dm-table.c | 107 struct dm_target *n_targets; in alloc_targets() 112 n_highs = kvcalloc(num, sizeof(struct dm_target) + sizeof(sector_t), in alloc_targets() 117 n_targets = (struct dm_target *) (n_highs + num); in alloc_targets() 195 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_destroy() 232 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, in device_area_is_invalid() 367 int dm_get_device(struct dm_target *ti, const char *path, blk_mode_t mode, in dm_get_device() 421 static int dm_set_device_limits(struct dm_target *ti, struct dm_dev *dev, in dm_set_device_limits() 457 void dm_put_device(struct dm_target *ti, struct dm_dev *d) in dm_put_device() 491 static int adjoin(struct dm_table *t, struct dm_target *ti) in adjoin() 493 struct dm_target *prev; in adjoin() [all …]
|
D | dm-unstripe.c | 28 static void cleanup_unstripe(struct unstripe_c *uc, struct dm_target *ti) in cleanup_unstripe() 39 static int unstripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) in unstripe_ctr() 110 static void unstripe_dtr(struct dm_target *ti) in unstripe_dtr() 117 static sector_t map_to_core(struct dm_target *ti, struct bio *bio) in map_to_core() 135 static int unstripe_map(struct dm_target *ti, struct bio *bio) in unstripe_map() 145 static void unstripe_status(struct dm_target *ti, status_type_t type, in unstripe_status() 167 static int unstripe_iterate_devices(struct dm_target *ti, in unstripe_iterate_devices() 175 static void unstripe_io_hints(struct dm_target *ti, in unstripe_io_hints()
|
D | dm-stripe.c | 42 struct dm_target *ti; 64 static int get_stripe(struct dm_target *ti, struct stripe_c *sc, in get_stripe() 88 static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) in stripe_ctr() 190 static void stripe_dtr(struct dm_target *ti) in stripe_dtr() 272 int stripe_map(struct dm_target *ti, struct bio *bio) in stripe_map() 302 static struct dax_device *stripe_dax_pgoff(struct dm_target *ti, pgoff_t *pgoff) in stripe_dax_pgoff() 317 static long stripe_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_direct_access() 326 static int stripe_dax_zero_page_range(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_zero_page_range() 334 static size_t stripe_dax_recovery_write(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_recovery_write() 361 static void stripe_status(struct dm_target *ti, status_type_t type, in stripe_status() [all …]
|
D | dm-switch.c | 40 struct dm_target *ti; 60 static struct switch_ctx *alloc_switch_ctx(struct dm_target *ti, unsigned int nr_paths, in alloc_switch_ctx() 77 static int alloc_region_table(struct dm_target *ti, unsigned int nr_paths) in alloc_region_table() 205 static int parse_path(struct dm_arg_set *as, struct dm_target *ti) in parse_path() 234 static void switch_dtr(struct dm_target *ti) in switch_dtr() 253 static int switch_ctr(struct dm_target *ti, unsigned int argc, char **argv) in switch_ctr() 320 static int switch_map(struct dm_target *ti, struct bio *bio) in switch_map() 470 static int switch_message(struct dm_target *ti, unsigned int argc, char **argv, in switch_message() 490 static void switch_status(struct dm_target *ti, status_type_t type, in switch_status() 520 static int switch_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in switch_prepare_ioctl() [all …]
|
D | dm-verity.h | 39 struct dm_target *ti; 135 extern bool dm_is_verity_target(struct dm_target *ti); 136 extern int dm_verity_get_mode(struct dm_target *ti); 137 extern int dm_verity_get_root_digest(struct dm_target *ti, u8 **root_digest,
|
D | dm-zero.c | 19 static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv) in zero_ctr() 38 static int zero_map(struct dm_target *ti, struct bio *bio) in zero_map() 62 static void zero_io_hints(struct dm_target *ti, struct queue_limits *limits) in zero_io_hints()
|
D | dm-flakey.c | 54 struct dm_target *ti) in parse_features() 239 static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) in flakey_ctr() 318 static void flakey_dtr(struct dm_target *ti) in flakey_dtr() 326 static sector_t flakey_map_sector(struct dm_target *ti, sector_t bi_sector) in flakey_map_sector() 333 static void flakey_map_bio(struct dm_target *ti, struct bio *bio) in flakey_map_bio() 413 static struct bio *clone_bio(struct dm_target *ti, struct flakey_c *fc, struct bio *bio) in clone_bio() 478 static int flakey_map(struct dm_target *ti, struct bio *bio) in flakey_map() 553 static int flakey_end_io(struct dm_target *ti, struct bio *bio, in flakey_end_io() 590 static void flakey_status(struct dm_target *ti, status_type_t type, in flakey_status() 641 static int flakey_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in flakey_prepare_ioctl() [all …]
|
D | dm.h | 59 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector); 72 struct dm_target *dm_table_get_immutable_target(struct dm_table *t); 73 struct dm_target *dm_table_get_wildcard_target(struct dm_table *t); 189 int linear_map(struct dm_target *ti, struct bio *bio); 193 int stripe_map(struct dm_target *ti, struct bio *bio);
|
D | dm-delay.c | 154 static void delay_dtr(struct dm_target *ti) in delay_dtr() 177 static int delay_class_ctr(struct dm_target *ti, struct delay_class *c, char **argv) in delay_class_ctr() 211 static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) in delay_ctr() 331 static void delay_presuspend(struct dm_target *ti) in delay_presuspend() 344 static void delay_resume(struct dm_target *ti) in delay_resume() 351 static int delay_map(struct dm_target *ti, struct bio *bio) in delay_map() 375 static void delay_status(struct dm_target *ti, status_type_t type, in delay_status() 404 static int delay_iterate_devices(struct dm_target *ti, in delay_iterate_devices()
|
D | dm-log-writes.c | 506 static int log_writes_ctr(struct dm_target *ti, unsigned int argc, char **argv) in log_writes_ctr() 611 static void log_writes_dtr(struct dm_target *ti) in log_writes_dtr() 636 static void normal_map_bio(struct dm_target *ti, struct bio *bio) in normal_map_bio() 643 static int log_writes_map(struct dm_target *ti, struct bio *bio) in log_writes_map() 766 static int normal_end_io(struct dm_target *ti, struct bio *bio, in normal_end_io() 795 static void log_writes_status(struct dm_target *ti, status_type_t type, in log_writes_status() 820 static int log_writes_prepare_ioctl(struct dm_target *ti, in log_writes_prepare_ioctl() 835 static int log_writes_iterate_devices(struct dm_target *ti, in log_writes_iterate_devices() 848 static int log_writes_message(struct dm_target *ti, unsigned int argc, char **argv, in log_writes_message() 867 static void log_writes_io_hints(struct dm_target *ti, struct queue_limits *limits) in log_writes_io_hints() [all …]
|
D | dm-ebs-target.c | 20 static void ebs_dtr(struct dm_target *ti); 247 static int ebs_ctr(struct dm_target *ti, unsigned int argc, char **argv) in ebs_ctr() 348 static void ebs_dtr(struct dm_target *ti) in ebs_dtr() 361 static int ebs_map(struct dm_target *ti, struct bio *bio) in ebs_map() 393 static void ebs_status(struct dm_target *ti, status_type_t type, in ebs_status() 412 static int ebs_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in ebs_prepare_ioctl() 424 static void ebs_io_hints(struct dm_target *ti, struct queue_limits *limits) in ebs_io_hints() 434 static int ebs_iterate_devices(struct dm_target *ti, in ebs_iterate_devices()
|
D | dm-uevent.h | 22 struct dm_target *ti, const char *path, 39 struct dm_target *ti, const char *path, in dm_path_uevent()
|
D | dm-core.h | 74 struct dm_target *immutable_target; 203 struct dm_target *targets; 233 static inline struct dm_target *dm_table_get_target(struct dm_table *t, in dm_table_get_target() 249 struct dm_target *ti;
|
D | dm-raid1.c | 59 struct dm_target *ti; 259 static int mirror_flush(struct dm_target *ti) in mirror_flush() 890 struct dm_target *ti, in alloc_context() 937 static void free_context(struct mirror_set *ms, struct dm_target *ti, in free_context() 948 static int get_mirror(struct mirror_set *ms, struct dm_target *ti, in get_mirror() 979 static struct dm_dirty_log *create_dirty_log(struct dm_target *ti, in create_dirty_log() 1018 struct dm_target *ti = ms->ti; in parse_features() 1075 static int mirror_ctr(struct dm_target *ti, unsigned int argc, char **argv) in mirror_ctr() 1181 static void mirror_dtr(struct dm_target *ti) in mirror_dtr() 1196 static int mirror_map(struct dm_target *ti, struct bio *bio) in mirror_map() [all …]
|
D | dm-zoned-target.c | 625 static int dmz_map(struct dm_target *ti, struct bio *bio) in dmz_map() 688 static int dmz_get_zoned_device(struct dm_target *ti, char *path, in dmz_get_zoned_device() 751 static void dmz_put_zoned_devices(struct dm_target *ti) in dmz_put_zoned_devices() 763 static int dmz_fixup_devices(struct dm_target *ti) in dmz_fixup_devices() 829 static int dmz_ctr(struct dm_target *ti, unsigned int argc, char **argv) in dmz_ctr() 961 static void dmz_dtr(struct dm_target *ti) in dmz_dtr() 991 static void dmz_io_hints(struct dm_target *ti, struct queue_limits *limits) in dmz_io_hints() 1018 static int dmz_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in dmz_prepare_ioctl() 1034 static void dmz_suspend(struct dm_target *ti) in dmz_suspend() 1048 static void dmz_resume(struct dm_target *ti) in dmz_resume() [all …]
|
D | dm-mpath.c | 97 struct dm_target *ti; 185 static void free_pgpaths(struct list_head *pgpaths, struct dm_target *ti) in free_pgpaths() 197 struct dm_target *ti) in free_priority_group() 210 static struct multipath *alloc_multipath(struct dm_target *ti) in alloc_multipath() 233 static int alloc_multipath_stage2(struct dm_target *ti, struct multipath *m) in alloc_multipath_stage2() 507 static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, in multipath_clone_and_map() 671 static int multipath_map_bio(struct dm_target *ti, struct bio *bio) in multipath_map_bio() 846 struct dm_target *ti) in parse_path_selector() 935 struct dm_target *ti) in parse_path() 995 struct dm_target *ti = m->ti; in parse_priority_group() [all …]
|
D | dm-dust.c | 224 static int dust_map(struct dm_target *ti, struct bio *bio) in dust_map() 321 static int dust_ctr(struct dm_target *ti, unsigned int argc, char **argv) in dust_ctr() 405 static void dust_dtr(struct dm_target *ti) in dust_dtr() 414 static int dust_message(struct dm_target *ti, unsigned int argc, char **argv, in dust_message() 513 static void dust_status(struct dm_target *ti, status_type_t type, in dust_status() 537 static int dust_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in dust_prepare_ioctl() 553 static int dust_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, in dust_iterate_devices()
|
D | dm-verity-loadpin.c | 15 static bool is_trusted_verity_target(struct dm_target *ti) in is_trusted_verity_target() 57 struct dm_target *ti; in dm_verity_loadpin_is_bdev_trusted()
|
D | dm.c | 416 struct dm_target *ti; in dm_prepare_ioctl() 615 static struct bio *alloc_tio(struct clone_info *ci, struct dm_target *ti, in alloc_tio() 1101 static bool swap_bios_limit(struct dm_target *ti, struct bio *bio) in swap_bios_limit() 1110 struct dm_target *ti = tio->ti; in clone_endio() 1169 static inline sector_t max_io_len_target_boundary(struct dm_target *ti, in max_io_len_target_boundary() 1175 static sector_t __max_io_len(struct dm_target *ti, sector_t sector, in __max_io_len() 1195 static inline sector_t max_io_len(struct dm_target *ti, sector_t sector) in max_io_len() 1200 int dm_set_target_max_io_len(struct dm_target *ti, sector_t len) in dm_set_target_max_io_len() 1215 static struct dm_target *dm_dax_get_live_target(struct mapped_device *md, in dm_dax_get_live_target() 1220 struct dm_target *ti; in dm_dax_get_live_target() [all …]
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | dm-vdo-target.c | 708 static int parse_device_config(int argc, char **argv, struct dm_target *ti, in parse_device_config() 890 static struct vdo *get_vdo_for_target(struct dm_target *ti) in get_vdo_for_target() 896 static int vdo_map_bio(struct dm_target *ti, struct bio *bio) in vdo_map_bio() 923 static void vdo_io_hints(struct dm_target *ti, struct queue_limits *limits) in vdo_io_hints() 958 static int vdo_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, in vdo_iterate_devices() 973 static void vdo_status(struct dm_target *ti, status_type_t status_type, in vdo_status() 1085 static int vdo_message(struct dm_target *ti, unsigned int argc, char **argv, in vdo_message() 1120 static void configure_target_capabilities(struct dm_target *ti) in configure_target_capabilities() 1437 static void set_device_config(struct dm_target *ti, struct vdo *vdo, in set_device_config() 1447 static int vdo_initialize(struct dm_target *ti, unsigned int instance, in vdo_initialize() [all …]
|