Home
last modified time | relevance | path

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

12

/linux/drivers/md/
A Ddm.h81 void dm_lock_md_type(struct mapped_device *md);
82 void dm_unlock_md_type(struct mapped_device *md);
144 int dm_deleting_md(struct mapped_device *md);
149 int dm_suspended_md(struct mapped_device *md);
158 void dm_internal_resume(struct mapped_device *md);
180 int dm_sysfs_init(struct mapped_device *md);
181 void dm_sysfs_exit(struct mapped_device *md);
202 void dm_destroy(struct mapped_device *md);
204 int dm_open_count(struct mapped_device *md);
207 int dm_request_based(struct mapped_device *md);
[all …]
A 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()
A Ddm.c309 struct mapped_device *md; in dm_blk_open()
333 struct mapped_device *md; in dm_blk_close()
489 struct mapped_device *md = io->md; in start_io_acct()
637 struct mapped_device *md) in open_table_device()
791 struct mapped_device *md = io->md; in dm_io_dec_pending()
1720 struct mapped_device *md; in alloc_dev()
1888 struct mapped_device *md = (struct mapped_device *) context; in event_callback()
1983 struct mapped_device *md; in dm_create()
2086 struct mapped_device *md; in dm_get_md()
2270 struct mapped_device *md = container_of(work, struct mapped_device, work); in dm_wq_work()
[all …]
A 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()
A 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,
A Ddm-core.h36 struct mapped_device { struct
143 void disable_discard(struct mapped_device *md);
144 void disable_write_same(struct mapped_device *md);
145 void disable_write_zeroes(struct mapped_device *md);
147 static inline sector_t dm_get_size(struct mapped_device *md) in dm_get_size()
152 static inline struct dm_stats *dm_get_stats(struct mapped_device *md) in dm_get_stats()
157 static inline bool dm_emulate_zone_append(struct mapped_device *md) in dm_emulate_zone_append()
167 struct mapped_device *md;
228 struct mapped_device *md;
A Ddm-rq.c18 struct mapped_device *md;
59 int dm_request_based(struct mapped_device *md) in dm_request_based()
143 static void rq_completed(struct mapped_device *md) in rq_completed()
159 struct mapped_device *md = tio->md; in dm_end_request()
175 void dm_mq_kick_requeue_list(struct mapped_device *md) in dm_mq_kick_requeue_list()
189 struct mapped_device *md = tio->md; in dm_requeue_original_request()
260 struct mapped_device *md = tio->md; in dm_softirq_done()
354 struct mapped_device *md) in init_tio()
381 struct mapped_device *md = tio->md; in map_request()
467 struct mapped_device *md = set->driver_data; in dm_mq_init_request()
[all …]
A 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()
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()
524 struct mapped_device *md = io->md; in dm_zone_map_bio()
[all …]
A Ddm-ioctl.c48 struct mapped_device *md;
181 struct mapped_device *md; in __get_dev_cell()
323 struct mapped_device *md; in dm_hash_remove_all()
414 struct mapped_device *md; in dm_hash_rename()
856 struct mapped_device *md; in dev_create()
948 struct mapped_device *md; in dev_remove()
1016 struct mapped_device *md; in dev_rename()
1045 struct mapped_device *md; in dev_set_geometry()
1093 struct mapped_device *md; in do_suspend()
1123 struct mapped_device *md; in do_resume()
[all …]
A 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()
A Ddm-stats.h28 struct mapped_device;
30 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv,
A Ddm-ima.c68 static int dm_ima_alloc_and_copy_name_uuid(struct mapped_device *md, char **dev_name, in dm_ima_alloc_and_copy_name_uuid()
103 static int dm_ima_alloc_and_copy_device_data(struct mapped_device *md, char **device_data, in dm_ima_alloc_and_copy_device_data()
150 static int dm_ima_alloc_and_copy_capacity_str(struct mapped_device *md, char **capacity_str, in dm_ima_alloc_and_copy_capacity_str()
170 void dm_ima_reset_data(struct mapped_device *md) in dm_ima_reset_data()
373 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) in dm_ima_measure_on_device_resume()
478 void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all) in dm_ima_measure_on_device_remove()
609 void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map) in dm_ima_measure_on_table_clear()
708 void dm_ima_measure_on_device_rename(struct mapped_device *md) in dm_ima_measure_on_device_rename()
A Ddm-stats.c239 void (*suspend_callback)(struct mapped_device *), in dm_stats_create() argument
240 void (*resume_callback)(struct mapped_device *), in dm_stats_create() argument
241 struct mapped_device *md) in dm_stats_create()
944 static int message_stats_create(struct mapped_device *md, in message_stats_create()
1069 static int message_stats_delete(struct mapped_device *md, in message_stats_delete()
1084 static int message_stats_clear(struct mapped_device *md, in message_stats_clear()
1099 static int message_stats_list(struct mapped_device *md, in message_stats_list()
1122 static int message_stats_print(struct mapped_device *md, in message_stats_print()
1149 static int message_stats_set_aux(struct mapped_device *md, in message_stats_set_aux()
1164 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, in dm_stats_message()
A Ddm-table.c128 unsigned num_targets, struct mapped_device *md) in dm_table_create()
159 static void free_devices(struct list_head *devices, struct mapped_device *md) in free_devices()
312 struct mapped_device *md) in upgrade_mode()
1006 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools()
1148 struct mapped_device *md = t->md; in dm_table_register_integrity()
1191 struct mapped_device *md;
1219 struct mapped_device *md = in dm_keyslot_evict()
2177 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
A Ddm-audit.c40 struct mapped_device *md = dm_table_get_md(ti->table); in dm_audit_log_ti()
A 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()
2924 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create()
3075 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find()
4169 struct mapped_device *pool_md; in thin_ctr()
A Ddm-verity-target.c220 struct mapped_device *md = dm_table_get_md(v->ti->table); in verity_handle_err()
A Ddm-snap.c2250 struct mapped_device *origin_md = NULL; in snapshot_resume()
/linux/include/linux/
A Ddevice-mapper.h21 struct mapped_device;
432 int dm_create(int minor, struct mapped_device **md);
437 struct mapped_device *dm_get_md(dev_t dev);
438 void dm_get(struct mapped_device *md);
439 int dm_hold(struct mapped_device *md);
440 void dm_put(struct mapped_device *md);
446 void *dm_get_mdptr(struct mapped_device *md);
452 int dm_resume(struct mapped_device *md);
457 uint32_t dm_get_event_nr(struct mapped_device *md);
467 struct gendisk *dm_disk(struct mapped_device *md);
[all …]
/linux/drivers/ssb/
A 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()
A Dpcmcia.c161 bus->mapped_device = dev; in ssb_pcmcia_switch_core()
209 if (unlikely(dev != bus->mapped_device)) { in select_core_and_segment()
A Dscan.c220 bus->mapped_device = NULL; in ssb_iounmap()
A Dsdio.c222 bus->mapped_device = dev; in ssb_sdio_switch_core()
A Dmain.c168 bus->mapped_device = NULL; in ssb_bus_resume()
/linux/include/linux/ssb/
A Dssb.h424 struct ssb_device *mapped_device; member

Completed in 74 milliseconds

12