Lines Matching refs:dm_target
19 struct dm_target;
45 typedef int (*dm_ctr_fn) (struct dm_target *target,
52 typedef void (*dm_dtr_fn) (struct dm_target *ti);
61 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio);
62 typedef int (*dm_clone_and_map_request_fn) (struct dm_target *ti,
77 typedef int (*dm_endio_fn) (struct dm_target *ti,
79 typedef int (*dm_request_endio_fn) (struct dm_target *ti,
83 typedef void (*dm_presuspend_fn) (struct dm_target *ti);
84 typedef void (*dm_presuspend_undo_fn) (struct dm_target *ti);
85 typedef void (*dm_postsuspend_fn) (struct dm_target *ti);
86 typedef int (*dm_preresume_fn) (struct dm_target *ti);
87 typedef void (*dm_resume_fn) (struct dm_target *ti);
89 typedef void (*dm_status_fn) (struct dm_target *ti, status_type_t status_type,
92 typedef int (*dm_message_fn) (struct dm_target *ti, unsigned argc, char **argv,
95 typedef int (*dm_prepare_ioctl_fn) (struct dm_target *ti, struct block_device **bdev);
97 typedef int (*dm_report_zones_fn) (struct dm_target *ti,
111 typedef int (*iterate_devices_callout_fn) (struct dm_target *ti,
121 typedef int (*dm_iterate_devices_fn) (struct dm_target *ti,
125 typedef void (*dm_io_hints_fn) (struct dm_target *ti,
133 typedef int (*dm_busy_fn) (struct dm_target *ti);
140 typedef long (*dm_dax_direct_access_fn) (struct dm_target *ti, pgoff_t pgoff,
142 typedef size_t (*dm_dax_copy_iter_fn)(struct dm_target *ti, pgoff_t pgoff,
144 typedef int (*dm_dax_zero_page_range_fn)(struct dm_target *ti, pgoff_t pgoff,
163 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,
165 void dm_put_device(struct dm_target *ti, struct dm_dev *d);
283 struct dm_target { struct
458 int dm_suspended(struct dm_target *ti);
459 int dm_post_suspending(struct dm_target *ti);
460 int dm_noflush_suspending(struct dm_target *ti);
466 struct dm_target *tgt;
532 int __must_check dm_set_target_max_io_len(struct dm_target *ti, sector_t len);