Home
last modified time | relevance | path

Searched refs:dm_target (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.3-rc2/include/linux/
A Ddevice-mapper.h19 struct dm_target;
46 typedef int (*dm_ctr_fn) (struct dm_target *target,
53 typedef void (*dm_dtr_fn) (struct dm_target *ti);
78 typedef int (*dm_endio_fn) (struct dm_target *ti,
88 typedef void (*dm_resume_fn) (struct dm_target *ti);
143 typedef int (*dm_busy_fn) (struct dm_target *ti);
298 struct dm_target { struct
484 int dm_suspended(struct dm_target *ti);
485 int dm_post_suspending(struct dm_target *ti);
486 int dm_noflush_suspending(struct dm_target *ti);
[all …]
A Ddm-dirty-log.h25 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.3-rc2/drivers/md/
A Ddm-audit.h25 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()
A Ddm-linear.c30 static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv) in linear_ctr()
73 static void linear_dtr(struct dm_target *ti) in linear_dtr()
81 static sector_t linear_map_sector(struct dm_target *ti, sector_t bi_sector) in linear_map_sector()
88 static int linear_map(struct dm_target *ti, struct bio *bio) in linear_map()
98 static void linear_status(struct dm_target *ti, status_type_t type, in linear_status()
137 static int linear_report_zones(struct dm_target *ti, in linear_report_zones()
150 static int linear_iterate_devices(struct dm_target *ti, in linear_iterate_devices()
159 static struct dax_device *linear_dax_pgoff(struct dm_target *ti, pgoff_t *pgoff) in linear_dax_pgoff()
168 static long linear_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in linear_dax_direct_access()
177 static int linear_dax_zero_page_range(struct dm_target *ti, pgoff_t pgoff, in linear_dax_zero_page_range()
[all …]
A Ddm-table.c107 struct dm_target *n_targets; in alloc_targets()
117 n_targets = (struct dm_target *) (n_highs + num); in alloc_targets()
188 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_destroy()
455 struct dm_target *prev; in adjoin()
588 struct dm_target *ti; in validate_hardware_logical_block_alignment()
639 struct dm_target *ti; in dm_table_add_target()
831 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_dax()
860 struct dm_target *ti; in dm_table_determine_type()
981 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_get_wildcard_target()
1025 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_alloc_md_mempools()
[all …]
A Ddm-unstripe.c28 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()
A Ddm-stripe.c42 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()
189 static void stripe_dtr(struct dm_target *ti) in stripe_dtr()
271 static int stripe_map(struct dm_target *ti, struct bio *bio) in stripe_map()
316 static long stripe_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_direct_access()
325 static int stripe_dax_zero_page_range(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_zero_page_range()
360 static void stripe_status(struct dm_target *ti, status_type_t type, in stripe_status()
403 static int stripe_end_io(struct dm_target *ti, struct bio *bio, in stripe_end_io()
439 static int stripe_iterate_devices(struct dm_target *ti, in stripe_iterate_devices()
[all …]
A Ddm-flakey.c49 struct dm_target *ti) in parse_features()
189 static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) in flakey_ctr()
268 static void flakey_dtr(struct dm_target *ti) in flakey_dtr()
276 static sector_t flakey_map_sector(struct dm_target *ti, sector_t bi_sector) in flakey_map_sector()
283 static void flakey_map_bio(struct dm_target *ti, struct bio *bio) in flakey_map_bio()
325 static int flakey_map(struct dm_target *ti, struct bio *bio) in flakey_map()
389 static int flakey_end_io(struct dm_target *ti, struct bio *bio, in flakey_end_io()
420 static void flakey_status(struct dm_target *ti, status_type_t type, in flakey_status()
460 static int flakey_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in flakey_prepare_ioctl()
475 static int flakey_report_zones(struct dm_target *ti, in flakey_report_zones()
[all …]
A Ddm-target.c116 static int io_err_ctr(struct dm_target *tt, unsigned int argc, char **args) in io_err_ctr()
126 static void io_err_dtr(struct dm_target *tt) in io_err_dtr()
131 static int io_err_map(struct dm_target *tt, struct bio *bio) in io_err_map()
136 static int io_err_clone_and_map_rq(struct dm_target *ti, struct request *rq, in io_err_clone_and_map_rq()
148 static long io_err_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in io_err_dax_direct_access()
A Ddm-switch.c40 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 …]
A Ddm-verity.h38 struct dm_target *ti;
136 extern bool dm_is_verity_target(struct dm_target *ti);
137 extern int dm_verity_get_mode(struct dm_target *ti);
138 extern int dm_verity_get_root_digest(struct dm_target *ti, u8 **root_digest,
A Ddm-delay.c121 static void delay_dtr(struct dm_target *ti) in delay_dtr()
140 static int delay_class_ctr(struct dm_target *ti, struct delay_class *c, char **argv) in delay_class_ctr()
174 static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) in delay_ctr()
268 static void delay_presuspend(struct dm_target *ti) in delay_presuspend()
277 static void delay_resume(struct dm_target *ti) in delay_resume()
284 static int delay_map(struct dm_target *ti, struct bio *bio) in delay_map()
308 static void delay_status(struct dm_target *ti, status_type_t type, in delay_status()
337 static int delay_iterate_devices(struct dm_target *ti, in delay_iterate_devices()
A Ddm-core.h72 struct dm_target *immutable_target;
201 struct dm_target *targets;
230 static inline struct dm_target *dm_table_get_target(struct dm_table *t, in dm_table_get_target()
246 struct dm_target *ti;
A Ddm-ebs-target.c20 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()
A Ddm-log-writes.c506 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()
883 static struct dax_device *log_writes_dax_pgoff(struct dm_target *ti, in log_writes_dax_pgoff()
892 static long log_writes_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in log_writes_dax_direct_access()
[all …]
A Ddm-uevent.h22 struct dm_target *ti, const char *path,
39 struct dm_target *ti, const char *path, in dm_path_uevent()
A Ddm-raid1.c59 struct dm_target *ti;
259 static int mirror_flush(struct dm_target *ti) in mirror_flush()
890 struct dm_target *ti, in alloc_context()
1018 struct dm_target *ti = ms->ti; in parse_features()
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()
1245 static int mirror_end_io(struct dm_target *ti, struct bio *bio, in mirror_end_io()
1312 static void mirror_presuspend(struct dm_target *ti) in mirror_presuspend()
1358 static void mirror_postsuspend(struct dm_target *ti) in mirror_postsuspend()
1368 static void mirror_resume(struct dm_target *ti) in mirror_resume()
[all …]
A Ddm-zero.c19 static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv) in zero_ctr()
37 static int zero_map(struct dm_target *ti, struct bio *bio) in zero_map()
A Ddm-zoned-target.c625 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_device(struct dm_target *ti) in dmz_put_zoned_device()
764 static int dmz_fixup_devices(struct dm_target *ti) in dmz_fixup_devices()
830 static int dmz_ctr(struct dm_target *ti, unsigned int argc, char **argv) in dmz_ctr()
962 static void dmz_dtr(struct dm_target *ti) in dmz_dtr()
992 static void dmz_io_hints(struct dm_target *ti, struct queue_limits *limits) in dmz_io_hints()
1036 static void dmz_suspend(struct dm_target *ti) in dmz_suspend()
1050 static void dmz_resume(struct dm_target *ti) in dmz_resume()
1060 static int dmz_iterate_devices(struct dm_target *ti, in dmz_iterate_devices()
[all …]
A Ddm-mpath.c97 struct dm_target *ti;
197 struct dm_target *ti) in free_priority_group()
847 struct dm_target *ti) in parse_path_selector()
936 struct dm_target *ti) in parse_path()
996 struct dm_target *ti = m->ti; in parse_priority_group()
1062 struct dm_target *ti = m->ti; in parse_hw_handler()
1113 struct dm_target *ti = m->ti; in parse_features()
1320 static void multipath_dtr(struct dm_target *ti) in multipath_dtr()
1743 static void multipath_presuspend(struct dm_target *ti) in multipath_presuspend()
1764 static void multipath_resume(struct dm_target *ti) in multipath_resume()
[all …]
A Ddm-verity-loadpin.c15 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()
A Ddm-dust.c224 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()
A Ddm.h58 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector);
71 struct dm_target *dm_table_get_immutable_target(struct dm_table *t);
72 struct dm_target *dm_table_get_wildcard_target(struct dm_table *t);
A Ddm.c415 struct dm_target *ti; in dm_prepare_ioctl()
1100 struct dm_target *ti = tio->ti; in clone_endio()
1203 struct dm_target *ti; in dm_dax_get_live_target()
1222 struct dm_target *ti; in dm_dax_direct_access()
1249 struct dm_target *ti; in dm_dax_zero_page_range()
1276 struct dm_target *ti; in dm_dax_recovery_write()
1394 struct dm_target *ti = tio->ti; in __map_bio()
1603 struct dm_target *ti) in __process_abnormal_io()
1682 struct dm_target *ti; in __split_and_process_bio()
3080 int dm_suspended(struct dm_target *ti) in dm_suspended()
[all …]
A Ddm-snap.c55 struct dm_target *ti;
329 struct dm_target *ti;
1184 struct dm_target *ti) in parse_snapshot_features()
1470 static void snapshot_dtr(struct dm_target *ti) in snapshot_dtr()
2202 static int snapshot_preresume(struct dm_target *ti) in snapshot_preresume()
2226 static void snapshot_resume(struct dm_target *ti) in snapshot_resume()
2300 static void snapshot_merge_resume(struct dm_target *ti) in snapshot_merge_resume()
2661 static void origin_dtr(struct dm_target *ti) in origin_dtr()
2696 static void origin_resume(struct dm_target *ti) in origin_resume()
2707 static void origin_postsuspend(struct dm_target *ti) in origin_postsuspend()
[all …]

Completed in 47 milliseconds

12