Home
last modified time | relevance | path

Searched refs:mapped_device (Results 1 – 24 of 24) sorted by relevance

/drivers/md/
Ddm.h81 void dm_lock_md_type(struct mapped_device *md);
82 void dm_unlock_md_type(struct mapped_device *md);
83 void dm_set_md_type(struct mapped_device *md, enum dm_queue_mode type);
84 enum dm_queue_mode dm_get_md_type(struct mapped_device *md);
85 struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
87 int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t);
111 void dm_cleanup_zoned_dev(struct mapped_device *md);
114 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio);
117 static inline void dm_cleanup_zoned_dev(struct mapped_device *md) {} in dm_cleanup_zoned_dev()
119 static inline bool dm_is_zone_write(struct mapped_device *md, struct bio *bio) in dm_is_zone_write()
[all …]
Ddm-ima.h60 void dm_ima_reset_data(struct mapped_device *md);
62 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap);
63 void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all);
64 void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map);
65 void dm_ima_measure_on_device_rename(struct mapped_device *md);
69 static inline void dm_ima_reset_data(struct mapped_device *md) {} in dm_ima_reset_data()
71 static inline void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) {} in dm_ima_measure_on_device_resume()
72 static inline void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all) {} in dm_ima_measure_on_device_remove()
73 static inline void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map) {} in dm_ima_measure_on_table_clear()
74 static inline void dm_ima_measure_on_device_rename(struct mapped_device *md) {} in dm_ima_measure_on_device_rename()
Ddm.c301 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md()
308 struct mapped_device *md; in dm_blk_open()
332 struct mapped_device *md; in dm_blk_close()
349 int dm_open_count(struct mapped_device *md) in dm_open_count()
357 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion()
377 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove()
400 struct mapped_device *md = bdev->bd_disk->private_data; in dm_blk_getgeo()
405 static int dm_prepare_ioctl(struct mapped_device *md, int *srcu_idx, in dm_prepare_ioctl()
439 static void dm_unprepare_ioctl(struct mapped_device *md, int srcu_idx) in dm_unprepare_ioctl()
447 struct mapped_device *md = bdev->bd_disk->private_data; in dm_blk_ioctl()
[all …]
Ddm-sysfs.c14 ssize_t (*show)(struct mapped_device *, char *);
15 ssize_t (*store)(struct mapped_device *, const char *, size_t count);
26 struct mapped_device *md; in dm_attr_show()
51 struct mapped_device *md; in dm_attr_store()
68 static ssize_t dm_attr_name_show(struct mapped_device *md, char *buf) in dm_attr_name_show()
77 static ssize_t dm_attr_uuid_show(struct mapped_device *md, char *buf) in dm_attr_uuid_show()
86 static ssize_t dm_attr_suspended_show(struct mapped_device *md, char *buf) in dm_attr_suspended_show()
93 static ssize_t dm_attr_use_blk_mq_show(struct mapped_device *md, char *buf) in dm_attr_use_blk_mq_show()
131 int dm_sysfs_init(struct mapped_device *md) in dm_sysfs_init()
141 void dm_sysfs_exit(struct mapped_device *md) in dm_sysfs_exit()
Ddm-rq.h17 struct mapped_device;
33 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
34 void dm_mq_cleanup_mapped_device(struct mapped_device *md);
39 void dm_mq_kick_requeue_list(struct mapped_device *md);
43 ssize_t dm_attr_rq_based_seq_io_merge_deadline_show(struct mapped_device *md, char *buf);
44 ssize_t dm_attr_rq_based_seq_io_merge_deadline_store(struct mapped_device *md,
Ddm-core.h38 struct mapped_device { struct
147 void disable_discard(struct mapped_device *md);
148 void disable_write_same(struct mapped_device *md);
149 void disable_write_zeroes(struct mapped_device *md);
151 static inline sector_t dm_get_size(struct mapped_device *md) in dm_get_size()
156 static inline struct dm_stats *dm_get_stats(struct mapped_device *md) in dm_get_stats()
161 static inline bool dm_emulate_zone_append(struct mapped_device *md) in dm_emulate_zone_append()
171 struct mapped_device *md;
232 struct mapped_device *md;
Ddm-rq.c19 struct mapped_device *md;
60 int dm_request_based(struct mapped_device *md) in dm_request_based()
128 static void rq_end_stats(struct mapped_device *md, struct request *orig) in rq_end_stats()
144 static void rq_completed(struct mapped_device *md) in rq_completed()
160 struct mapped_device *md = tio->md; in dm_end_request()
176 void dm_mq_kick_requeue_list(struct mapped_device *md) in dm_mq_kick_requeue_list()
190 struct mapped_device *md = tio->md; in dm_requeue_original_request()
261 struct mapped_device *md = tio->md; in dm_softirq_done()
355 struct mapped_device *md) in init_tio()
382 struct mapped_device *md = tio->md; in map_request()
[all …]
Ddm-zone.c20 static int dm_blk_do_report_zones(struct mapped_device *md, struct dm_table *t, in dm_blk_do_report_zones()
58 struct mapped_device *md = disk->private_data; in dm_blk_report_zones()
124 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio) in dm_is_zone_write()
141 void dm_cleanup_zoned_dev(struct mapped_device *md) in dm_cleanup_zoned_dev()
182 struct mapped_device *md = data; in dm_zone_revalidate_cb()
230 static int dm_revalidate_zones(struct mapped_device *md, struct dm_table *t) in dm_revalidate_zones()
298 struct mapped_device *md = t->md; in dm_set_zones_restrictions()
335 static int dm_update_zone_wp_offset(struct mapped_device *md, unsigned int zno, in dm_update_zone_wp_offset()
369 static bool dm_zone_map_bio_begin(struct mapped_device *md, in dm_zone_map_bio_begin()
428 static blk_status_t dm_zone_map_bio_end(struct mapped_device *md, in dm_zone_map_bio_end()
[all …]
Ddm-ioctl.c49 struct mapped_device *md;
182 struct mapped_device *md; in __get_dev_cell()
202 struct mapped_device *md) in alloc_cell()
247 static int dm_hash_insert(const char *name, const char *uuid, struct mapped_device *md) in dm_hash_insert()
324 struct mapped_device *md; in dm_hash_remove_all()
409 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename()
415 struct mapped_device *md; in dm_hash_rename()
765 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table()
788 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table()
800 static void __dev_status(struct mapped_device *md, struct dm_ioctl *param) in __dev_status()
[all …]
Ddm-uevent.c31 struct mapped_device *md;
44 static struct dm_uevent *dm_uevent_alloc(struct mapped_device *md) in dm_uevent_alloc()
58 static struct dm_uevent *dm_build_path_uevent(struct mapped_device *md, in dm_build_path_uevent()
173 struct mapped_device *md = dm_table_get_md(ti->table); in dm_path_uevent()
Ddm-stats.h27 struct mapped_device;
29 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv,
Ddm-ima.c67 static int dm_ima_alloc_and_copy_name_uuid(struct mapped_device *md, char **dev_name, in dm_ima_alloc_and_copy_name_uuid()
102 static int dm_ima_alloc_and_copy_device_data(struct mapped_device *md, char **device_data, in dm_ima_alloc_and_copy_device_data()
149 static int dm_ima_alloc_and_copy_capacity_str(struct mapped_device *md, char **capacity_str, in dm_ima_alloc_and_copy_capacity_str()
169 void dm_ima_reset_data(struct mapped_device *md) in dm_ima_reset_data()
372 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) in dm_ima_measure_on_device_resume()
477 void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all) in dm_ima_measure_on_device_remove()
608 void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map) in dm_ima_measure_on_table_clear()
707 void dm_ima_measure_on_device_rename(struct mapped_device *md) in dm_ima_measure_on_device_rename()
Ddm-stats.c262 void (*suspend_callback)(struct mapped_device *), in dm_stats_create() argument
263 void (*resume_callback)(struct mapped_device *), in dm_stats_create() argument
264 struct mapped_device *md) in dm_stats_create()
981 static int message_stats_create(struct mapped_device *md, in message_stats_create()
1106 static int message_stats_delete(struct mapped_device *md, in message_stats_delete()
1121 static int message_stats_clear(struct mapped_device *md, in message_stats_clear()
1136 static int message_stats_list(struct mapped_device *md, in message_stats_list()
1159 static int message_stats_print(struct mapped_device *md, in message_stats_print()
1186 static int message_stats_set_aux(struct mapped_device *md, in message_stats_set_aux()
1201 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, in dm_stats_message()
Ddm-table.c127 unsigned num_targets, struct mapped_device *md) in dm_table_create()
163 static void free_devices(struct list_head *devices, struct mapped_device *md) in free_devices()
317 struct mapped_device *md) in upgrade_mode()
1011 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools()
1153 struct mapped_device *md = t->md; in dm_table_register_integrity()
1196 struct mapped_device *md;
1218 struct mapped_device *md = dksm->md; in dm_keyslot_evict()
1282 struct mapped_device *md = dksm->md; in dm_derive_raw_secret()
2254 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
Ddm-thin.c233 struct mapped_device *pool_md;
347 struct mapped_device *thin_md;
551 static struct pool *__pool_table_lookup(struct mapped_device *md) in __pool_table_lookup()
2928 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create()
3079 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find()
4184 struct mapped_device *pool_md; in thin_ctr()
Ddm-verity-target.c220 struct mapped_device *md = dm_table_get_md(v->ti->table); in verity_handle_err()
Ddm-bow.c797 struct mapped_device *md = dm_table_get_md(ti->table); in dm_bow_resume()
Ddm-snap.c2250 struct mapped_device *origin_md = NULL; in snapshot_resume()
Ddm-crypt.c1167 struct mapped_device *md = dm_table_get_md(ti->table); in crypt_integrity_ctr()
/drivers/ssb/
Dpci.c77 bus->mapped_device = dev; in ssb_pci_switch_core()
968 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read8()
981 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read16()
994 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read32()
1010 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_read()
1042 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write8()
1055 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write16()
1068 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write32()
1084 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_write()
Dpcmcia.c161 bus->mapped_device = dev; in ssb_pcmcia_switch_core()
209 if (unlikely(dev != bus->mapped_device)) { in select_core_and_segment()
Dscan.c220 bus->mapped_device = NULL; in ssb_iounmap()
Dsdio.c222 bus->mapped_device = dev; in ssb_sdio_switch_core()
Dmain.c168 bus->mapped_device = NULL; in ssb_bus_resume()