/linux/drivers/md/ |
H A D | dm.h | 79 void dm_lock_md_type(struct mapped_device *md); 80 void dm_unlock_md_type(struct mapped_device *md); 81 enum dm_queue_mode dm_get_md_type(struct mapped_device *md); 82 struct target_type *dm_get_immutable_target_type(struct mapped_device *md); 84 int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t); 113 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio); 114 int dm_zone_get_reset_bitmap(struct mapped_device *md, struct dm_table *t, 120 static inline bool dm_is_zone_write(struct mapped_device *md, struct bio *bio) in dm_is_zone_write() 142 * Is this mapped_device being deleted? 144 int dm_deleting_md(struct mapped_device *m [all...] |
H A D | dm-ima.h | 59 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) {} in dm_ima_reset_data() 70 static inline void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) {} in dm_ima_measure_on_device_resume() 71 static inline void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all) {} in dm_ima_measure_on_device_remove() 72 static inline void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map) {} in dm_ima_measure_on_table_clear() 73 static inline void dm_ima_measure_on_device_rename(struct mapped_device *m in dm_ima_measure_on_table_clear() [all...] |
H A D | dm-sysfs.c | 15 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; in dm_attr_show() 52 struct mapped_device *md; in dm_attr_store() 69 static ssize_t dm_attr_name_show(struct mapped_device *md, char *buf) in dm_attr_name_show() 78 static ssize_t dm_attr_uuid_show(struct mapped_device *md, char *buf) in dm_attr_uuid_show() 87 static ssize_t dm_attr_suspended_show(struct mapped_device *md, char *buf) in dm_attr_suspended_show() 94 static ssize_t dm_attr_use_blk_mq_show(struct mapped_device *md, char *buf) in dm_attr_use_blk_mq_show() 133 int dm_sysfs_init(struct mapped_device *md) in dm_sysfs_init() 143 void dm_sysfs_exit(struct mapped_device *m [all...] |
H A D | dm-rq.h | 18 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 D | dm.c | 309 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md() 316 struct mapped_device *md; in dm_blk_open() 340 struct mapped_device *md; in dm_blk_close() 357 int dm_open_count(struct mapped_device *md) in dm_open_count() 365 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion() 385 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove() 408 struct mapped_device *md = bdev->bd_disk->private_data; in dm_blk_getgeo() 413 static int dm_prepare_ioctl(struct mapped_device *md, int *srcu_idx, in dm_prepare_ioctl() 448 static void dm_unprepare_ioctl(struct mapped_device *md, int srcu_idx) in dm_unprepare_ioctl() 456 struct mapped_device *m in dm_blk_ioctl() [all...] |
H A D | dm-rq.c | 19 struct mapped_device *md; 59 int dm_request_based(struct mapped_device *md) in dm_request_based() 127 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() 258 struct mapped_device *md = tio->md; in dm_softirq_done() 339 struct mapped_device *md) in init_tio() 366 struct mapped_device *m in map_request() [all...] |
H A D | dm-core.h | 37 * DM targets must _not_ deference a mapped_device or dm_table to directly 49 struct mapped_device { struct 153 * Bits for the flags field of struct mapped_device. argument 166 static inline sector_t dm_get_size(struct mapped_device *md) in dm_get_size() 171 static inline struct dm_stats *dm_get_stats(struct mapped_device *md) in dm_get_stats() 180 static inline bool dm_emulate_zone_append(struct mapped_device *md) in dm_emulate_zone_append() 190 struct mapped_device *md; 295 struct mapped_device *md; 50 suspend_lockmapped_device global() argument 52 table_devices_lockmapped_device global() argument 53 table_devicesmapped_device global() argument 60 mapmapped_device global() argument 62 flagsmapped_device global() argument 65 type_lockmapped_device global() argument 66 typemapped_device global() argument 68 numa_node_idmapped_device global() argument 69 queuemapped_device global() argument 71 holdersmapped_device global() argument 72 open_countmapped_device global() argument 74 immutable_targetmapped_device global() argument 75 immutable_target_typemapped_device global() argument 77 namemapped_device global() argument 78 diskmapped_device global() argument 79 dax_devmapped_device global() argument 81 waitmapped_device global() argument 82 pending_iomapped_device global() argument 85 geometrymapped_device global() argument 90 wqmapped_device global() argument 95 workmapped_device global() argument 96 deferred_lockmapped_device global() argument 97 deferredmapped_device global() argument 104 requeue_workmapped_device global() argument 105 requeue_listmapped_device global() argument 107 interface_ptrmapped_device global() argument 112 eventqmapped_device global() argument 113 event_nrmapped_device global() argument 114 uevent_seqmapped_device global() argument 115 uevent_listmapped_device global() argument 116 uevent_lockmapped_device global() argument 119 init_tio_pdumapped_device global() argument 120 tag_setmapped_device global() argument 122 statsmapped_device global() argument 125 internal_suspend_countmapped_device global() argument 127 swap_biosmapped_device global() argument 128 swap_bios_semaphoremapped_device global() argument 129 swap_bios_lockmapped_device global() argument
|
H A D | dm-zone.c | 19 static int dm_blk_do_report_zones(struct mapped_device *md, struct dm_table *t, in dm_blk_do_report_zones() 57 struct mapped_device *md = disk->private_data; in dm_blk_report_zones() 137 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio) in dm_is_zone_write() 161 struct mapped_device *md = t->md; in dm_revalidate_zones() 341 struct mapped_device *md = t->md; in dm_set_zones_restrictions() 436 struct mapped_device *md = t->md; in dm_finalize_zone_settings() 456 struct mapped_device *md = io->md; in dm_zone_endio() 491 int dm_zone_get_reset_bitmap(struct mapped_device *md, struct dm_table *t, in dm_zone_get_reset_bitmap()
|
H A D | dm-uevent.c | 31 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()
|
H A D | dm-ioctl.c | 52 struct mapped_device *md; 195 struct mapped_device *md; in __get_dev_cell() 217 struct mapped_device *md) in alloc_cell() 262 static int dm_hash_insert(const char *name, const char *uuid, struct mapped_device *md) in dm_hash_insert() 341 struct mapped_device *md; in dm_hash_remove_all() 426 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename() 432 struct mapped_device *md; in dm_hash_rename() 789 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table() 812 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table() 824 static void __dev_status(struct mapped_device *m [all...] |
H A D | dm-stats.h | 27 struct mapped_device; 29 int dm_stats_message(struct mapped_device *md, unsigned int argc, char **argv,
|
H A D | dm-ima.c | 67 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() 370 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) in dm_ima_measure_on_device_resume() 473 void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all) in dm_ima_measure_on_device_remove() 603 void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map) in dm_ima_measure_on_table_clear() 701 void dm_ima_measure_on_device_rename(struct mapped_device *md) in dm_ima_measure_on_device_rename()
|
H A D | dm-stats.c | 265 void (*suspend_callback)(struct mapped_device *), in dm_stats_create() argument 266 void (*resume_callback)(struct mapped_device *), in dm_stats_create() argument 267 struct mapped_device *md) in dm_stats_create() 1001 static int message_stats_create(struct mapped_device *md, in message_stats_create() 1125 static int message_stats_delete(struct mapped_device *md, in message_stats_delete() 1140 static int message_stats_clear(struct mapped_device *md, in message_stats_clear() 1155 static int message_stats_list(struct mapped_device *md, in message_stats_list() 1178 static int message_stats_print(struct mapped_device *md, in message_stats_print() 1205 static int message_stats_set_aux(struct mapped_device *md, in message_stats_set_aux() 1220 int dm_stats_message(struct mapped_device *m [all...] |
H A D | dm-verity-loadpin.c | 55 struct mapped_device *md; in dm_verity_loadpin_is_bdev_trusted()
|
H A D | dm-audit.c | 40 struct mapped_device *md = dm_table_get_md(ti->table); in dm_audit_log_ti()
|
H A D | dm-table.c | 129 unsigned int num_targets, struct mapped_device *md) in dm_table_create() 167 static void free_devices(struct list_head *devices, struct mapped_device *md) in free_devices() 314 struct mapped_device *md) in upgrade_mode() 1053 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools() 1157 struct mapped_device *md; 1176 struct mapped_device *md = in dm_keyslot_evict() 1277 struct mapped_device *md = in dm_exec_wrappedkey_op() 1404 * crypto capabilities that are supported by the current mapped_device, it 2228 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
|
H A D | dm-thin.c | 236 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) in __pool_table_lookup() 2936 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create() 3086 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find() 4188 struct mapped_device *pool_md; in thin_ctr()
|
H A D | dm-snap.c | 2229 struct mapped_device *origin_md = NULL; in snapshot_resume()
|
/linux/include/linux/ |
H A D | device-mapper.h | 22 struct mapped_device; 27 * Type of table, mapped_device's mempool and request_queue 496 int dm_create(int minor, struct mapped_device **md); 501 struct mapped_device *dm_get_md(dev_t dev); 502 void dm_get(struct mapped_device *md); 503 int dm_hold(struct mapped_device *md); 504 void dm_put(struct mapped_device *md); 509 void dm_set_mdptr(struct mapped_device *md, void *ptr); 510 void *dm_get_mdptr(struct mapped_device *md); 515 int dm_suspend(struct mapped_device *m [all...] |
/linux/drivers/ssb/ |
H A D | pci.c | 77 bus->mapped_device = dev; in ssb_pci_switch_core() 967 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read8() 980 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read16() 993 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read32() 1009 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_read() 1041 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write8() 1054 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write16() 1067 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write32() 1083 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_write()
|
H A D | pcmcia.c | 161 bus->mapped_device = dev; in ssb_pcmcia_switch_core() 209 if (unlikely(dev != bus->mapped_device)) { in select_core_and_segment()
|
H A D | scan.c | 220 bus->mapped_device = NULL; in ssb_iounmap()
|
H A D | sdio.c | 222 bus->mapped_device = dev; in ssb_sdio_switch_core()
|
H A D | main.c | 168 bus->mapped_device = NULL; in ssb_bus_resume()
|
/linux/include/linux/ssb/ |
H A D | ssb.h | 424 struct ssb_device *mapped_device; member
|