/drivers/md/ |
D | dm-linear.c | 29 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 void linear_map_bio(struct dm_target *ti, struct bio *bio) in linear_map_bio() 98 static int linear_map(struct dm_target *ti, struct bio *bio) in linear_map() 105 static void linear_status(struct dm_target *ti, status_type_t type, in linear_status() 128 static int linear_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in linear_prepare_ioctl() 145 static int linear_report_zones(struct dm_target *ti, in linear_report_zones() 158 static int linear_iterate_devices(struct dm_target *ti, in linear_iterate_devices() 167 static long linear_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in linear_dax_direct_access() [all …]
|
D | dm-table.c | 229 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, in device_area_is_invalid() 352 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode, in dm_get_device() 402 static int dm_set_device_limits(struct dm_target *ti, struct dm_dev *dev, in dm_set_device_limits() 432 void dm_put_device(struct dm_target *ti, struct dm_dev *d) in dm_put_device() 460 static int adjoin(struct dm_table *table, struct dm_target *ti) in adjoin() 595 struct dm_target *ti; in validate_hardware_logical_block_alignment() local 814 int device_not_dax_capable(struct dm_target *ti, struct dm_dev *dev, in device_not_dax_capable() 823 static int device_not_dax_synchronous_capable(struct dm_target *ti, struct dm_dev *dev, in device_not_dax_synchronous_capable() 832 struct dm_target *ti; in dm_table_supports_dax() local 850 static int device_is_rq_stackable(struct dm_target *ti, struct dm_dev *dev, in device_is_rq_stackable() [all …]
|
D | dm-flakey.c | 48 struct dm_target *ti) in parse_features() 184 static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) in flakey_ctr() 263 static void flakey_dtr(struct dm_target *ti) in flakey_dtr() 271 static sector_t flakey_map_sector(struct dm_target *ti, sector_t bi_sector) in flakey_map_sector() 278 static void flakey_map_bio(struct dm_target *ti, struct bio *bio) in flakey_map_bio() 322 static int flakey_map(struct dm_target *ti, struct bio *bio) in flakey_map() 386 static int flakey_end_io(struct dm_target *ti, struct bio *bio, in flakey_end_io() 417 static void flakey_status(struct dm_target *ti, status_type_t type, in flakey_status() 457 static int flakey_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in flakey_prepare_ioctl() 473 static int flakey_report_zones(struct dm_target *ti, in flakey_report_zones() [all …]
|
D | dm-unstripe.c | 27 static void cleanup_unstripe(struct unstripe_c *uc, struct dm_target *ti) in cleanup_unstripe() 38 static int unstripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) in unstripe_ctr() 109 static void unstripe_dtr(struct dm_target *ti) in unstripe_dtr() 116 static sector_t map_to_core(struct dm_target *ti, struct bio *bio) in map_to_core() 134 static int unstripe_map(struct dm_target *ti, struct bio *bio) in unstripe_map() 144 static void unstripe_status(struct dm_target *ti, status_type_t type, in unstripe_status() 166 static int unstripe_iterate_devices(struct dm_target *ti, in unstripe_iterate_devices() 174 static void unstripe_io_hints(struct dm_target *ti, in unstripe_io_hints()
|
D | dm-stripe.c | 39 struct dm_target *ti; member 61 static int get_stripe(struct dm_target *ti, struct stripe_c *sc, in get_stripe() 85 static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) in stripe_ctr() 191 static void stripe_dtr(struct dm_target *ti) in stripe_dtr() 273 static int stripe_map(struct dm_target *ti, struct bio *bio) in stripe_map() 304 static long stripe_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_direct_access() 325 static size_t stripe_dax_copy_from_iter(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_copy_from_iter() 344 static size_t stripe_dax_copy_to_iter(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_copy_to_iter() 363 static int stripe_dax_zero_page_range(struct dm_target *ti, pgoff_t pgoff, in stripe_dax_zero_page_range() 404 static void stripe_status(struct dm_target *ti, status_type_t type, in stripe_status() [all …]
|
D | dm-default-key.c | 65 static void default_key_dtr(struct dm_target *ti) in default_key_dtr() 77 static int default_key_ctr_optional(struct dm_target *ti, in default_key_ctr_optional() 141 static int default_key_ctr(struct dm_target *ti, unsigned int argc, char **argv) in default_key_ctr() 262 static int default_key_map(struct dm_target *ti, struct bio *bio) in default_key_map() 314 static void default_key_status(struct dm_target *ti, status_type_t type, in default_key_status() 353 static int default_key_prepare_ioctl(struct dm_target *ti, in default_key_prepare_ioctl() 368 static int default_key_iterate_devices(struct dm_target *ti, in default_key_iterate_devices() 377 static void default_key_io_hints(struct dm_target *ti, in default_key_io_hints() 391 static int default_key_report_zones(struct dm_target *ti, in default_key_report_zones()
|
D | dm-switch.c | 39 struct dm_target *ti; member 59 static struct switch_ctx *alloc_switch_ctx(struct dm_target *ti, unsigned nr_paths, in alloc_switch_ctx() 76 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() 489 static void switch_status(struct dm_target *ti, status_type_t type, in switch_status() 519 static int switch_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in switch_prepare_ioctl() [all …]
|
D | dm-mpath.c | 94 struct dm_target *ti; member 178 static void free_pgpaths(struct list_head *pgpaths, struct dm_target *ti) in free_pgpaths() 190 struct dm_target *ti) in free_priority_group() 203 static struct multipath *alloc_multipath(struct dm_target *ti) in alloc_multipath() 226 static int alloc_multipath_stage2(struct dm_target *ti, struct multipath *m) in alloc_multipath_stage2() 500 static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, in multipath_clone_and_map() 662 static int multipath_map_bio(struct dm_target *ti, struct bio *bio) in multipath_map_bio() 835 struct dm_target *ti) in parse_path_selector() 927 struct dm_target *ti) in parse_path() 987 struct dm_target *ti = m->ti; in parse_priority_group() local [all …]
|
D | dm-delay.c | 120 static void delay_dtr(struct dm_target *ti) in delay_dtr() 139 static int delay_class_ctr(struct dm_target *ti, struct delay_class *c, char **argv) in delay_class_ctr() 173 static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) in delay_ctr() 270 static void delay_presuspend(struct dm_target *ti) in delay_presuspend() 282 static void delay_resume(struct dm_target *ti) in delay_resume() 289 static int delay_map(struct dm_target *ti, struct bio *bio) in delay_map() 314 static void delay_status(struct dm_target *ti, status_type_t type, in delay_status() 343 static int delay_iterate_devices(struct dm_target *ti, in delay_iterate_devices()
|
D | dm-log-writes.c | 528 static int log_writes_ctr(struct dm_target *ti, unsigned int argc, char **argv) in log_writes_ctr() 633 static void log_writes_dtr(struct dm_target *ti) in log_writes_dtr() 658 static void normal_map_bio(struct dm_target *ti, struct bio *bio) in normal_map_bio() 665 static int log_writes_map(struct dm_target *ti, struct bio *bio) in log_writes_map() 790 static int normal_end_io(struct dm_target *ti, struct bio *bio, in normal_end_io() 819 static void log_writes_status(struct dm_target *ti, status_type_t type, in log_writes_status() 844 static int log_writes_prepare_ioctl(struct dm_target *ti, in log_writes_prepare_ioctl() 859 static int log_writes_iterate_devices(struct dm_target *ti, in log_writes_iterate_devices() 872 static int log_writes_message(struct dm_target *ti, unsigned argc, char **argv, in log_writes_message() 891 static void log_writes_io_hints(struct dm_target *ti, struct queue_limits *limits) in log_writes_io_hints() [all …]
|
D | dm-zoned-target.c | 626 static int dmz_map(struct dm_target *ti, struct bio *bio) in dmz_map() 689 static int dmz_get_zoned_device(struct dm_target *ti, char *path, in dmz_get_zoned_device() 753 static void dmz_put_zoned_devices(struct dm_target *ti) in dmz_put_zoned_devices() 765 static int dmz_fixup_devices(struct dm_target *ti) in dmz_fixup_devices() 840 static int dmz_ctr(struct dm_target *ti, unsigned int argc, char **argv) in dmz_ctr() 972 static void dmz_dtr(struct dm_target *ti) in dmz_dtr() 1003 static void dmz_io_hints(struct dm_target *ti, struct queue_limits *limits) in dmz_io_hints() 1031 static int dmz_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in dmz_prepare_ioctl() 1047 static void dmz_suspend(struct dm_target *ti) in dmz_suspend() 1061 static void dmz_resume(struct dm_target *ti) in dmz_resume() [all …]
|
D | dm-raid1.c | 54 struct dm_target *ti; member 254 static int mirror_flush(struct dm_target *ti) in mirror_flush() 878 struct dm_target *ti, in alloc_context() 925 static void free_context(struct mirror_set *ms, struct dm_target *ti, in free_context() 936 static int get_mirror(struct mirror_set *ms, struct dm_target *ti, in get_mirror() 967 static struct dm_dirty_log *create_dirty_log(struct dm_target *ti, in create_dirty_log() 1006 struct dm_target *ti = ms->ti; in parse_features() local 1063 static int mirror_ctr(struct dm_target *ti, unsigned int argc, char **argv) in mirror_ctr() 1169 static void mirror_dtr(struct dm_target *ti) in mirror_dtr() 1184 static int mirror_map(struct dm_target *ti, struct bio *bio) in mirror_map() [all …]
|
D | dm-ebs-target.c | 245 static int ebs_ctr(struct dm_target *ti, unsigned int argc, char **argv) in ebs_ctr() 346 static void ebs_dtr(struct dm_target *ti) in ebs_dtr() 359 static int ebs_map(struct dm_target *ti, struct bio *bio) in ebs_map() 391 static void ebs_status(struct dm_target *ti, status_type_t type, in ebs_status() 410 static int ebs_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in ebs_prepare_ioctl() 422 static void ebs_io_hints(struct dm_target *ti, struct queue_limits *limits) in ebs_io_hints() 432 static int ebs_iterate_devices(struct dm_target *ti, in ebs_iterate_devices()
|
D | dm-snap.c | 30 #define dm_target_is_snapshot_merge(ti) \ argument 54 struct dm_target *ti; member 331 struct dm_target *ti; member 1199 struct dm_target *ti) in parse_snapshot_features() 1252 static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) in snapshot_ctr() 1486 static void snapshot_dtr(struct dm_target *ti) in snapshot_dtr() 1967 static int snapshot_map(struct dm_target *ti, struct bio *bio) in snapshot_map() 2135 static int snapshot_merge_map(struct dm_target *ti, struct bio *bio) in snapshot_merge_map() 2201 static int snapshot_end_io(struct dm_target *ti, struct bio *bio, in snapshot_end_io() 2212 static void snapshot_merge_presuspend(struct dm_target *ti) in snapshot_merge_presuspend() [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() 554 static int dust_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, in dust_iterate_devices()
|
D | dm.c | 565 static struct dm_target_io *alloc_tio(struct clone_info *ci, struct dm_target *ti, in alloc_tio() 897 static bool swap_bios_limit(struct dm_target *ti, struct bio *bio) in swap_bios_limit() 964 static inline sector_t max_io_len_target_boundary(struct dm_target *ti, in max_io_len_target_boundary() 970 static sector_t max_io_len(struct dm_target *ti, sector_t sector) in max_io_len() 993 int dm_set_target_max_io_len(struct dm_target *ti, sector_t len) in dm_set_target_max_io_len() 1013 struct dm_target *ti; in dm_dax_get_live_target() local 1031 struct dm_target *ti; in dm_dax_direct_access() local 1078 struct dm_target *ti; in dm_dax_copy_from_iter() local 1102 struct dm_target *ti; in dm_dax_copy_to_iter() local 1126 struct dm_target *ti; in dm_dax_zero_page_range() local [all …]
|
D | dm-verity-target.c | 672 static int verity_map(struct dm_target *ti, struct bio *bio) in verity_map() 717 static void verity_status(struct dm_target *ti, status_type_t type, in verity_status() 832 static int verity_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in verity_prepare_ioctl() 844 static int verity_iterate_devices(struct dm_target *ti, in verity_iterate_devices() 852 static void verity_io_hints(struct dm_target *ti, struct queue_limits *limits) in verity_io_hints() 865 static void verity_dtr(struct dm_target *ti) in verity_dtr() 900 struct dm_target *ti = v->ti; in verity_alloc_most_once() local 977 struct dm_target *ti = v->ti; in verity_parse_opt_args() local 1053 static int verity_ctr(struct dm_target *ti, unsigned argc, char **argv) in verity_ctr()
|
D | dm-bow.c | 598 static void dm_bow_dtr(struct dm_target *ti) in dm_bow_dtr() 629 static void dm_bow_io_hints(struct dm_target *ti, struct queue_limits *limits) in dm_bow_io_hints() 651 static int dm_bow_ctr_optional(struct dm_target *ti, unsigned int argc, char **argv) in dm_bow_ctr_optional() 694 static int dm_bow_ctr(struct dm_target *ti, unsigned int argc, char **argv) in dm_bow_ctr() 795 void dm_bow_resume(struct dm_target *ti) in dm_bow_resume() 1119 static int dm_bow_map(struct dm_target *ti, struct bio *bio) in dm_bow_map() 1161 static void dm_bow_tablestatus(struct dm_target *ti, char *result, in dm_bow_tablestatus() 1248 static void dm_bow_status(struct dm_target *ti, status_type_t type, in dm_bow_status() 1265 int dm_bow_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) in dm_bow_prepare_ioctl() 1275 static int dm_bow_iterate_devices(struct dm_target *ti, in dm_bow_iterate_devices()
|
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; member 346 static int _check_region_size(struct dm_target *ti, uint32_t region_size) in _check_region_size() 363 static int create_log_context(struct dm_dirty_log *log, struct dm_target *ti, in create_log_context() 515 static int core_ctr(struct dm_dirty_log *log, struct dm_target *ti, in core_ctr() 541 static int disk_ctr(struct dm_dirty_log *log, struct dm_target *ti, in disk_ctr()
|
D | dm-thin.c | 231 struct dm_target *ti; /* Only set if a pool target is bound */ member 325 struct dm_target *ti; member 2708 static int thin_bio_map(struct dm_target *ti, struct bio *bio) in thin_bio_map() 2856 static int bind_control_target(struct pool *pool, struct dm_target *ti) in bind_control_target() 2882 static void unbind_control_target(struct pool *pool, struct dm_target *ti) in unbind_control_target() 3119 static void pool_dtr(struct dm_target *ti) in pool_dtr() 3135 struct dm_target *ti) in parse_pool_features() 3281 static int pool_ctr(struct dm_target *ti, unsigned argc, char **argv) in pool_ctr() 3435 static int pool_map(struct dm_target *ti, struct bio *bio) in pool_map() 3452 static int maybe_resize_data_dev(struct dm_target *ti, bool *need_commit) in maybe_resize_data_dev() [all …]
|
D | dm-clone-target.c | 70 struct dm_target *ti; member 1318 static int clone_map(struct dm_target *ti, struct bio *bio) in clone_map() 1377 static int clone_endio(struct dm_target *ti, struct bio *bio, blk_status_t *error) in clone_endio() 1426 static void clone_status(struct dm_target *ti, status_type_t type, in clone_status() 1546 struct dm_target *ti = clone->ti; in parse_feature_args() local 1585 struct dm_target *ti = clone->ti; in parse_core_args() local 1775 static int clone_ctr(struct dm_target *ti, unsigned int argc, char **argv) in clone_ctr() 1949 static void clone_dtr(struct dm_target *ti) in clone_dtr() 1975 static void clone_postsuspend(struct dm_target *ti) in clone_postsuspend() 2013 static void clone_resume(struct dm_target *ti) in clone_resume() [all …]
|
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-crypt.c | 353 static int crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_benbi_ctr() 420 static int crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_lmk_ctr() 578 static int crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_tcw_ctr() 724 static int crypt_iv_eboiv_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_eboiv_ctr() 775 static int crypt_iv_elephant_ctr(struct crypt_config *cc, struct dm_target *ti, in crypt_iv_elephant_ctr() 1163 static int crypt_integrity_ctr(struct crypt_config *cc, struct dm_target *ti) in crypt_integrity_ctr() 2698 static void crypt_dtr(struct dm_target *ti) in crypt_dtr() 2749 static int crypt_ctr_ivmode(struct dm_target *ti, const char *ivmode) in crypt_ctr_ivmode() 2858 static int crypt_ctr_cipher_new(struct dm_target *ti, char *cipher_in, char *key, in crypt_ctr_cipher_new() 2931 static int crypt_ctr_cipher_old(struct dm_target *ti, char *cipher_in, char *key, in crypt_ctr_cipher_old() [all …]
|
D | dm-raid.c | 229 struct dm_target *ti; member 734 static struct raid_set *raid_set_alloc(struct dm_target *ti, struct raid_type *raid_type, in raid_set_alloc() 2503 static int analyse_superblocks(struct dm_target *ti, struct raid_set *rs) in analyse_superblocks() 2960 struct dm_target *ti = rs->ti; in configure_discard_support() local 3002 static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv) in raid_ctr() 3316 static void raid_dtr(struct dm_target *ti) in raid_dtr() 3326 static int raid_map(struct dm_target *ti, struct bio *bio) in raid_map() 3510 static void raid_status(struct dm_target *ti, status_type_t type, in raid_status() 3716 static int raid_message(struct dm_target *ti, unsigned int argc, char **argv, in raid_message() 3767 static int raid_iterate_devices(struct dm_target *ti, in raid_iterate_devices() [all …]
|
/drivers/net/netdevsim/ |
D | udp_tunnels.c | 13 unsigned int entry, struct udp_tunnel_info *ti) in nsim_udp_tunnel_set_port() 42 unsigned int entry, struct udp_tunnel_info *ti) in nsim_udp_tunnel_unset_port() 74 struct udp_tunnel_info ti; in nsim_udp_tunnel_sync_table() local
|