Searched refs:mapped_device (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/drivers/md/
H A Ddm-ima.h59 void dm_ima_reset_data(struct mapped_device *md);
61 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap);
62 void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all);
63 void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map);
64 void dm_ima_measure_on_device_rename(struct mapped_device *md);
68 static inline void dm_ima_reset_data(struct mapped_device *md) {}
70 static inline void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) {}
71 static inline void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all) {}
72 static inline void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map) {}
73 static inline void dm_ima_measure_on_device_rename(struct mapped_device *m
[all...]
H A Ddm-rq.h18 struct mapped_device;
34 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
35 void dm_mq_cleanup_mapped_device(struct mapped_device *md);
40 void dm_mq_kick_requeue_list(struct mapped_device *md);
44 ssize_t dm_attr_rq_based_seq_io_merge_deadline_show(struct mapped_device *md, char *buf);
45 ssize_t dm_attr_rq_based_seq_io_merge_deadline_store(struct mapped_device *md,
H A Ddm.h77 void dm_lock_md_type(struct mapped_device *md);
78 void dm_unlock_md_type(struct mapped_device *md);
79 void dm_set_md_type(struct mapped_device *md, enum dm_queue_mode type);
80 enum dm_queue_mode dm_get_md_type(struct mapped_device *md);
81 struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
83 int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t);
107 void dm_cleanup_zoned_dev(struct mapped_device *md);
110 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio);
113 static inline void dm_cleanup_zoned_dev(struct mapped_device *md) {}
115 static inline bool dm_is_zone_write(struct mapped_device *m
[all...]
H A Ddm-sysfs.c15 ssize_t (*show)(struct mapped_device *md, char *p);
16 ssize_t (*store)(struct mapped_device *md, const char *p, size_t count);
27 struct mapped_device *md;
52 struct mapped_device *md;
69 static ssize_t dm_attr_name_show(struct mapped_device *md, char *buf)
78 static ssize_t dm_attr_uuid_show(struct mapped_device *md, char *buf)
87 static ssize_t dm_attr_suspended_show(struct mapped_device *md, char *buf)
94 static ssize_t dm_attr_use_blk_mq_show(struct mapped_device *md, char *buf)
133 int dm_sysfs_init(struct mapped_device *md)
143 void dm_sysfs_exit(struct mapped_device *m
[all...]
H A Ddm-stats.h27 struct mapped_device;
29 int dm_stats_message(struct mapped_device *md, unsigned int argc, char **argv,
H A Ddm.c308 int dm_deleting_md(struct mapped_device *md)
315 struct mapped_device *md;
339 struct mapped_device *md;
356 int dm_open_count(struct mapped_device *md)
364 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred)
384 int dm_cancel_deferred_remove(struct mapped_device *md)
407 struct mapped_device *md = bdev->bd_disk->private_data;
412 static int dm_prepare_ioctl(struct mapped_device *md, int *srcu_idx,
446 static void dm_unprepare_ioctl(struct mapped_device *md, int srcu_idx)
454 struct mapped_device *m
[all...]
H A Ddm-rq.c19 struct mapped_device *md;
59 int dm_request_based(struct mapped_device *md)
127 static void rq_end_stats(struct mapped_device *md, struct request *orig)
144 static void rq_completed(struct mapped_device *md)
160 struct mapped_device *md = tio->md;
176 void dm_mq_kick_requeue_list(struct mapped_device *md)
190 struct mapped_device *md = tio->md;
258 struct mapped_device *md = tio->md;
339 struct mapped_device *md)
366 struct mapped_device *m
[all...]
H A Ddm-core.h37 * DM targets must _not_ deference a mapped_device or dm_table to directly
49 struct mapped_device { struct
152 * Bits for the flags field of struct mapped_device.
165 void disable_discard(struct mapped_device *md);
166 void disable_write_zeroes(struct mapped_device *md);
168 static inline sector_t dm_get_size(struct mapped_device *md)
173 static inline struct dm_stats *dm_get_stats(struct mapped_device *md)
182 static inline bool dm_emulate_zone_append(struct mapped_device *md)
192 struct mapped_device *md;
296 struct mapped_device *m
[all...]
H A Ddm-zone.c21 static int dm_blk_do_report_zones(struct mapped_device *md, struct dm_table *t,
59 struct mapped_device *md = disk->private_data;
125 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio)
141 void dm_cleanup_zoned_dev(struct mapped_device *md)
180 struct mapped_device *md = data;
226 static int dm_revalidate_zones(struct mapped_device *md, struct dm_table *t)
291 struct mapped_device *md = t->md;
328 static int dm_update_zone_wp_offset(struct mapped_device *md, unsigned int zno,
367 static bool dm_zone_map_bio_begin(struct mapped_device *md,
423 static blk_status_t dm_zone_map_bio_end(struct mapped_device *m
[all...]
H A Ddm-uevent.c31 struct mapped_device *md;
44 static struct dm_uevent *dm_uevent_alloc(struct mapped_device *md)
58 static struct dm_uevent *dm_build_path_uevent(struct mapped_device *md,
173 struct mapped_device *md = dm_table_get_md(ti->table);
H A Ddm-verity-loadpin.c55 struct mapped_device *md;
H A Ddm-ioctl.c52 struct mapped_device *md;
195 struct mapped_device *md;
217 struct mapped_device *md)
262 static int dm_hash_insert(const char *name, const char *uuid, struct mapped_device *md)
341 struct mapped_device *md;
426 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param,
432 struct mapped_device *md;
789 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx)
812 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md,
824 static void __dev_status(struct mapped_device *m
[all...]
H A Ddm-audit.c40 struct mapped_device *md = dm_table_get_md(ti->table);
H A Ddm-ima.c67 static int dm_ima_alloc_and_copy_name_uuid(struct mapped_device *md, char **dev_name,
102 static int dm_ima_alloc_and_copy_device_data(struct mapped_device *md, char **device_data,
149 static int dm_ima_alloc_and_copy_capacity_str(struct mapped_device *md, char **capacity_str,
169 void dm_ima_reset_data(struct mapped_device *md)
369 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap)
474 void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all)
605 void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map)
704 void dm_ima_measure_on_device_rename(struct mapped_device *md)
H A Ddm-stats.c265 void (*suspend_callback)(struct mapped_device *),
266 void (*resume_callback)(struct mapped_device *),
267 struct mapped_device *md)
1001 static int message_stats_create(struct mapped_device *md,
1125 static int message_stats_delete(struct mapped_device *md,
1140 static int message_stats_clear(struct mapped_device *md,
1155 static int message_stats_list(struct mapped_device *md,
1178 static int message_stats_print(struct mapped_device *md,
1205 static int message_stats_set_aux(struct mapped_device *md,
1220 int dm_stats_message(struct mapped_device *m
[all...]
H A Ddm-table.c130 unsigned int num_targets, struct mapped_device *md)
167 static void free_devices(struct list_head *devices, struct mapped_device *md)
314 struct mapped_device *md)
1019 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md)
1177 struct mapped_device *md = t->md;
1219 struct mapped_device *md;
1238 struct mapped_device *md =
1295 * crypto capabilities that are supported by the current mapped_device, it
2165 struct mapped_device *dm_table_get_md(struct dm_table *t)
H A Ddm-thin.c236 struct mapped_device *pool_md;
348 struct mapped_device *thin_md;
522 * A global list of pools that uses a struct mapped_device as a key.
552 static struct pool *__pool_table_lookup(struct mapped_device *md)
2942 static struct pool *pool_create(struct mapped_device *pool_md,
3092 static struct pool *__pool_find(struct mapped_device *pool_md,
4194 struct mapped_device *pool_md;
H A Ddm-verity-target.c230 struct mapped_device *md = dm_table_get_md(v->ti->table);
/linux-master/include/linux/
H A Ddevice-mapper.h22 struct mapped_device;
27 * Type of table, mapped_device's mempool and request_queue
465 int dm_create(int minor, struct mapped_device **md);
470 struct mapped_device *dm_get_md(dev_t dev);
471 void dm_get(struct mapped_device *md);
472 int dm_hold(struct mapped_device *md);
473 void dm_put(struct mapped_device *md);
478 void dm_set_mdptr(struct mapped_device *md, void *ptr);
479 void *dm_get_mdptr(struct mapped_device *md);
484 int dm_suspend(struct mapped_device *m
[all...]
/linux-master/drivers/ssb/
H A Dpci.c77 bus->mapped_device = dev;
967 if (unlikely(bus->mapped_device != dev)) {
980 if (unlikely(bus->mapped_device != dev)) {
993 if (unlikely(bus->mapped_device != dev)) {
1009 if (unlikely(bus->mapped_device != dev)) {
1041 if (unlikely(bus->mapped_device != dev)) {
1054 if (unlikely(bus->mapped_device != dev)) {
1067 if (unlikely(bus->mapped_device != dev)) {
1083 if (unlikely(bus->mapped_device != dev)) {
H A Dscan.c220 bus->mapped_device = NULL;
H A Dpcmcia.c161 bus->mapped_device = dev;
209 if (unlikely(dev != bus->mapped_device)) {
H A Dsdio.c222 bus->mapped_device = dev;
H A Dmain.c168 bus->mapped_device = NULL;
/linux-master/include/linux/ssb/
H A Dssb.h424 struct ssb_device *mapped_device; member in struct:ssb_bus

Completed in 281 milliseconds

12