/linux-4.1.27/include/linux/ |
D | device-mapper.h | 17 struct dm_target; 32 typedef int (*dm_ctr_fn) (struct dm_target *target, 39 typedef void (*dm_dtr_fn) (struct dm_target *ti); 48 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio); 49 typedef int (*dm_map_request_fn) (struct dm_target *ti, struct request *clone, 51 typedef int (*dm_clone_and_map_request_fn) (struct dm_target *ti, 65 typedef int (*dm_endio_fn) (struct dm_target *ti, 67 typedef int (*dm_request_endio_fn) (struct dm_target *ti, 71 typedef void (*dm_presuspend_fn) (struct dm_target *ti); 72 typedef void (*dm_presuspend_undo_fn) (struct dm_target *ti); [all …]
|
D | dm-dirty-log.h | 24 int (*flush_callback_fn)(struct dm_target *ti); 35 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 140 struct dm_target *ti, 141 int (*flush_callback_fn)(struct dm_target *ti),
|
/linux-4.1.27/drivers/md/ |
D | dm-linear.c | 28 static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv) in linear_ctr() 67 static void linear_dtr(struct dm_target *ti) in linear_dtr() 75 static sector_t linear_map_sector(struct dm_target *ti, sector_t bi_sector) in linear_map_sector() 82 static void linear_map_bio(struct dm_target *ti, struct bio *bio) in linear_map_bio() 92 static 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() 116 static int linear_ioctl(struct dm_target *ti, unsigned int cmd, in linear_ioctl() 133 static int linear_merge(struct dm_target *ti, struct bvec_merge_data *bvm, in linear_merge() 148 static int linear_iterate_devices(struct dm_target *ti, in linear_iterate_devices()
|
D | dm-table.c | 43 struct dm_target *targets; 159 struct dm_target *n_targets; in alloc_targets() 166 n_highs = (sector_t *) dm_vcalloc(num + 1, sizeof(struct dm_target) + in alloc_targets() 171 n_targets = (struct dm_target *) (n_highs + num); in alloc_targets() 242 struct dm_target *tgt = t->targets + i; in dm_table_destroy() 277 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, in device_area_is_invalid() 371 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode, in dm_get_device() 419 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() 485 static int adjoin(struct dm_table *table, struct dm_target *ti) in adjoin() [all …]
|
D | dm-flakey.c | 47 struct dm_target *ti) in parse_features() 155 static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) in flakey_ctr() 230 static void flakey_dtr(struct dm_target *ti) in flakey_dtr() 238 static sector_t flakey_map_sector(struct dm_target *ti, sector_t bi_sector) in flakey_map_sector() 245 static void flakey_map_bio(struct dm_target *ti, struct bio *bio) in flakey_map_bio() 274 static int flakey_map(struct dm_target *ti, struct bio *bio) in flakey_map() 324 static int flakey_end_io(struct dm_target *ti, struct bio *bio, int error) in flakey_end_io() 341 static void flakey_status(struct dm_target *ti, status_type_t type, in flakey_status() 374 static int flakey_ioctl(struct dm_target *ti, unsigned int cmd, unsigned long arg) in flakey_ioctl() 390 static int flakey_merge(struct dm_target *ti, struct bvec_merge_data *bvm, in flakey_merge() [all …]
|
D | dm-target.c | 114 static int io_err_ctr(struct dm_target *tt, unsigned int argc, char **args) in io_err_ctr() 124 static void io_err_dtr(struct dm_target *tt) in io_err_dtr() 129 static int io_err_map(struct dm_target *tt, struct bio *bio) in io_err_map() 134 static int io_err_map_rq(struct dm_target *ti, struct request *clone, in io_err_map_rq() 140 static int io_err_clone_and_map_rq(struct dm_target *ti, struct request *rq, in io_err_clone_and_map_rq()
|
D | dm-switch.c | 39 struct dm_target *ti; 59 static struct switch_ctx *alloc_switch_ctx(struct dm_target *ti, unsigned nr_paths, in alloc_switch_ctx() 77 static int alloc_region_table(struct dm_target *ti, unsigned nr_paths) in alloc_region_table() 204 static int parse_path(struct dm_arg_set *as, struct dm_target *ti) in parse_path() 233 static void switch_dtr(struct dm_target *ti) in switch_dtr() 252 static int switch_ctr(struct dm_target *ti, unsigned argc, char **argv) in switch_ctr() 319 static int switch_map(struct dm_target *ti, struct bio *bio) in switch_map() 469 static int switch_message(struct dm_target *ti, unsigned argc, char **argv) in switch_message() 488 static void switch_status(struct dm_target *ti, status_type_t type, in switch_status() 514 static int switch_ioctl(struct dm_target *ti, unsigned cmd, in switch_ioctl() [all …]
|
D | dm-stripe.c | 38 struct dm_target *ti; 73 static int get_stripe(struct dm_target *ti, struct stripe_c *sc, in get_stripe() 95 static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) in stripe_ctr() 199 static void stripe_dtr(struct dm_target *ti) in stripe_dtr() 281 static int stripe_map(struct dm_target *ti, struct bio *bio) in stripe_map() 322 static void stripe_status(struct dm_target *ti, status_type_t type, in stripe_status() 352 static int stripe_end_io(struct dm_target *ti, struct bio *bio, int error) in stripe_end_io() 389 static int stripe_iterate_devices(struct dm_target *ti, in stripe_iterate_devices() 405 static void stripe_io_hints(struct dm_target *ti, in stripe_io_hints() 415 static int stripe_merge(struct dm_target *ti, struct bvec_merge_data *bvm, in stripe_merge()
|
D | dm-delay.c | 127 static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) in delay_ctr() 214 static void delay_dtr(struct dm_target *ti) in delay_dtr() 257 static void delay_presuspend(struct dm_target *ti) in delay_presuspend() 266 static void delay_resume(struct dm_target *ti) in delay_resume() 273 static int delay_map(struct dm_target *ti, struct bio *bio) in delay_map() 293 static void delay_status(struct dm_target *ti, status_type_t type, in delay_status() 316 static int delay_iterate_devices(struct dm_target *ti, in delay_iterate_devices()
|
D | dm-mpath.c | 65 struct dm_target *ti; 159 static void free_pgpaths(struct list_head *pgpaths, struct dm_target *ti) in free_pgpaths() 174 struct dm_target *ti) in free_priority_group() 187 static struct multipath *alloc_multipath(struct dm_target *ti) in alloc_multipath() 382 static int __multipath_map(struct dm_target *ti, struct request *clone, in __multipath_map() 454 static int multipath_map(struct dm_target *ti, struct request *clone, in multipath_map() 460 static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, in multipath_clone_and_map() 518 struct dm_target *ti) in parse_path_selector() 554 struct dm_target *ti) in parse_path() 658 struct dm_target *ti = m->ti; in parse_priority_group() [all …]
|
D | dm-uevent.h | 35 struct dm_target *ti, const char *path, 52 struct dm_target *ti, const char *path, in dm_path_uevent()
|
D | dm-zero.c | 18 static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv) in zero_ctr() 36 static int zero_map(struct dm_target *ti, struct bio *bio) in zero_map()
|
D | dm-log-writes.c | 418 static int log_writes_ctr(struct dm_target *ti, unsigned int argc, char **argv) in log_writes_ctr() 512 static void log_writes_dtr(struct dm_target *ti) in log_writes_dtr() 537 static void normal_map_bio(struct dm_target *ti, struct bio *bio) in normal_map_bio() 544 static int log_writes_map(struct dm_target *ti, struct bio *bio) in log_writes_map() 666 static int normal_end_io(struct dm_target *ti, struct bio *bio, int error) in normal_end_io() 694 static void log_writes_status(struct dm_target *ti, status_type_t type, in log_writes_status() 715 static int log_writes_ioctl(struct dm_target *ti, unsigned int cmd, in log_writes_ioctl() 731 static int log_writes_merge(struct dm_target *ti, struct bvec_merge_data *bvm, in log_writes_merge() 746 static int log_writes_iterate_devices(struct dm_target *ti, in log_writes_iterate_devices() 759 static int log_writes_message(struct dm_target *ti, unsigned argc, char **argv) in log_writes_message() [all …]
|
D | dm-raid1.c | 50 struct dm_target *ti; 252 static int mirror_flush(struct dm_target *ti) in mirror_flush() 860 struct dm_target *ti, in alloc_context() 910 static void free_context(struct mirror_set *ms, struct dm_target *ti, in free_context() 921 static int get_mirror(struct mirror_set *ms, struct dm_target *ti, in get_mirror() 949 static struct dm_dirty_log *create_dirty_log(struct dm_target *ti, in create_dirty_log() 988 struct dm_target *ti = ms->ti; in parse_features() 1034 static int mirror_ctr(struct dm_target *ti, unsigned int argc, char **argv) in mirror_ctr() 1141 static void mirror_dtr(struct dm_target *ti) in mirror_dtr() 1156 static int mirror_map(struct dm_target *ti, struct bio *bio) in mirror_map() [all …]
|
D | dm-snap.c | 55 struct dm_target *ti; 300 struct dm_target *ti; 1096 static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) in snapshot_ctr() 1311 static void snapshot_dtr(struct dm_target *ti) in snapshot_dtr() 1659 static int snapshot_map(struct dm_target *ti, struct bio *bio) in snapshot_map() 1775 static int snapshot_merge_map(struct dm_target *ti, struct bio *bio) in snapshot_merge_map() 1835 static int snapshot_end_io(struct dm_target *ti, struct bio *bio, int error) in snapshot_end_io() 1845 static void snapshot_merge_presuspend(struct dm_target *ti) in snapshot_merge_presuspend() 1852 static int snapshot_preresume(struct dm_target *ti) in snapshot_preresume() 1878 static void snapshot_resume(struct dm_target *ti) in snapshot_resume() [all …]
|
D | dm-raid.c | 63 struct dm_target *ti; 147 static struct raid_set *context_alloc(struct dm_target *ti, struct raid_type *raid_type, unsigned r… in context_alloc() 1065 static int analyse_superblocks(struct dm_target *ti, struct raid_set *rs) in analyse_superblocks() 1156 static void configure_discard_support(struct dm_target *ti, struct raid_set *rs) in configure_discard_support() 1208 static int raid_ctr(struct dm_target *ti, unsigned argc, char **argv) in raid_ctr() 1313 static void raid_dtr(struct dm_target *ti) in raid_dtr() 1322 static int raid_map(struct dm_target *ti, struct bio *bio) in raid_map() 1357 static void raid_status(struct dm_target *ti, status_type_t type, in raid_status() 1530 static int raid_message(struct dm_target *ti, unsigned argc, char **argv) in raid_message() 1584 static int raid_iterate_devices(struct dm_target *ti, in raid_iterate_devices() [all …]
|
D | dm-crypt.c | 77 int (*ctr)(struct crypt_config *cc, struct dm_target *ti, 308 struct dm_target *ti, in setup_essiv_cpu() 358 static int crypt_iv_essiv_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_essiv_ctr() 418 static int crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_benbi_ctr() 479 static int crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_lmk_ctr() 628 static int crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_tcw_ctr() 1507 static void crypt_dtr(struct dm_target *ti) in crypt_dtr() 1547 static int crypt_ctr_cipher(struct dm_target *ti, in crypt_ctr_cipher() 1712 static int crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv) in crypt_ctr() 1883 static int crypt_map(struct dm_target *ti, struct bio *bio) in crypt_map() [all …]
|
D | dm.c | 84 struct dm_target *ti; 562 struct dm_target *tgt; in dm_blk_ioctl() 1345 static sector_t max_io_len_target_boundary(sector_t sector, struct dm_target *ti) in max_io_len_target_boundary() 1352 static sector_t max_io_len(sector_t sector, struct dm_target *ti) in max_io_len() 1375 int dm_set_target_max_io_len(struct dm_target *ti, sector_t len) in dm_set_target_max_io_len() 1436 struct dm_target *ti = tio->ti; in __map_bio() 1502 struct dm_target *ti, in alloc_tio() 1519 struct dm_target *ti, in __clone_and_map_simple_bio() 1534 static void __send_duplicate_bios(struct clone_info *ci, struct dm_target *ti, in __send_duplicate_bios() 1546 struct dm_target *ti; in __send_empty_flush() [all …]
|
D | dm-verity.c | 57 struct dm_target *ti; 546 static int verity_map(struct dm_target *ti, struct bio *bio) in verity_map() 590 static void verity_status(struct dm_target *ti, status_type_t type, in verity_status() 637 static int verity_ioctl(struct dm_target *ti, unsigned cmd, in verity_ioctl() 651 static int verity_merge(struct dm_target *ti, struct bvec_merge_data *bvm, in verity_merge() 666 static int verity_iterate_devices(struct dm_target *ti, in verity_iterate_devices() 674 static void verity_io_hints(struct dm_target *ti, struct queue_limits *limits) in verity_io_hints() 687 static void verity_dtr(struct dm_target *ti) in verity_dtr() 731 static int verity_ctr(struct dm_target *ti, unsigned argc, char **argv) in verity_ctr()
|
D | dm-log.c | 148 struct dm_target *ti, in dm_dirty_log_create() 149 int (*flush_callback_fn)(struct dm_target *ti), in dm_dirty_log_create() 218 struct dm_target *ti; 344 static int _check_region_size(struct dm_target *ti, uint32_t region_size) in _check_region_size() 361 static int create_log_context(struct dm_dirty_log *log, struct dm_target *ti, in create_log_context() 514 static int core_ctr(struct dm_dirty_log *log, struct dm_target *ti, in core_ctr() 540 static int disk_ctr(struct dm_dirty_log *log, struct dm_target *ti, in disk_ctr()
|
D | dm-thin.c | 217 struct dm_target *ti; /* Only set if a pool target is bound */ 274 struct dm_target *ti; 2287 static int thin_bio_map(struct dm_target *ti, struct bio *bio) in thin_bio_map() 2454 static int bind_control_target(struct pool *pool, struct dm_target *ti) in bind_control_target() 2480 static void unbind_control_target(struct pool *pool, struct dm_target *ti) in unbind_control_target() 2701 static void pool_dtr(struct dm_target *ti) in pool_dtr() 2717 struct dm_target *ti) in parse_pool_features() 2840 static int pool_ctr(struct dm_target *ti, unsigned argc, char **argv) in pool_ctr() 2985 static int pool_map(struct dm_target *ti, struct bio *bio) in pool_map() 3003 static int maybe_resize_data_dev(struct dm_target *ti, bool *need_commit) in maybe_resize_data_dev() [all …]
|
D | dm-uevent.c | 72 struct dm_target *ti, in dm_build_path_uevent() 183 void dm_path_uevent(enum dm_uevent_type event_type, struct dm_target *ti, in dm_path_uevent()
|
D | dm-era-target.c | 1141 struct dm_target *ti; 1425 static int era_ctr(struct dm_target *ti, unsigned argc, char **argv) in era_ctr() 1526 static void era_dtr(struct dm_target *ti) in era_dtr() 1531 static int era_map(struct dm_target *ti, struct bio *bio) in era_map() 1556 static void era_postsuspend(struct dm_target *ti) in era_postsuspend() 1570 static int era_preresume(struct dm_target *ti) in era_preresume() 1601 static void era_status(struct dm_target *ti, status_type_t type, in era_status() 1642 static int era_message(struct dm_target *ti, unsigned argc, char **argv) in era_message() 1669 static int era_iterate_devices(struct dm_target *ti, in era_iterate_devices() 1676 static int era_merge(struct dm_target *ti, struct bvec_merge_data *bvm, in era_merge() [all …]
|
D | dm.h | 60 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index); 61 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector);
|
D | dm-cache-target.c | 179 struct dm_target *ti; 1953 static void cache_dtr(struct dm_target *ti) in cache_dtr() 1997 struct dm_target *ti; 2356 struct dm_target *ti = ca->ti; in cache_create() 2570 static int cache_ctr(struct dm_target *ti, unsigned argc, char **argv) in cache_ctr() 2720 static int cache_map(struct dm_target *ti, struct bio *bio) in cache_map() 2735 static int cache_end_io(struct dm_target *ti, struct bio *bio, int error) in cache_end_io() 2823 static void cache_postsuspend(struct dm_target *ti) in cache_postsuspend() 2980 static int cache_preresume(struct dm_target *ti) in cache_preresume() 3040 static void cache_resume(struct dm_target *ti) in cache_resume() [all …]
|
D | dm-exception-store.h | 209 int dm_exception_store_create(struct dm_target *ti, int argc, char **argv,
|
D | dm-log-userspace-base.c | 37 struct dm_target *ti; 125 static int build_constructor_string(struct dm_target *ti, in build_constructor_string() 190 static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti, in userspace_ctr()
|
D | dm-exception-store.c | 191 int dm_exception_store_create(struct dm_target *ti, int argc, char **argv, in dm_exception_store_create()
|
D | dm-ioctl.c | 1119 struct dm_target *ti = dm_table_get_target(table, i); in retrieve_status() 1517 struct dm_target *ti; in target_message()
|
/linux-4.1.27/Documentation/device-mapper/ |
D | dm-uevent.txt | 11 void dm_path_uevent(enum dm_uevent_type event_type, struct dm_target *ti,
|