/linux-4.1.27/drivers/md/ |
D | dm.h | 82 void dm_lock_md_type(struct mapped_device *md); 83 void dm_unlock_md_type(struct mapped_device *md); 84 void dm_set_md_type(struct mapped_device *md, unsigned type); 85 unsigned dm_get_md_type(struct mapped_device *md); 86 struct target_type *dm_get_immutable_target_type(struct mapped_device *md); 88 int dm_setup_md_queue(struct mapped_device *md); 127 int dm_deleting_md(struct mapped_device *md); 132 int dm_suspended_md(struct mapped_device *md); 137 int dm_suspended_internally_md(struct mapped_device *md); 138 void dm_internal_suspend_fast(struct mapped_device *md); [all …]
|
D | dm.c | 69 struct mapped_device *md; 83 struct mapped_device *md; 139 struct mapped_device { struct 240 bool dm_use_blk_mq(struct mapped_device *md) in dm_use_blk_mq() argument 437 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md() 444 struct mapped_device *md; in dm_blk_open() 468 struct mapped_device *md; in dm_blk_close() 485 int dm_open_count(struct mapped_device *md) in dm_open_count() 493 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion() 513 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove() [all …]
|
D | dm-sysfs.c | 13 ssize_t (*show)(struct mapped_device *, char *); 14 ssize_t (*store)(struct mapped_device *, const char *, size_t count); 25 struct mapped_device *md; in dm_attr_show() 50 struct mapped_device *md; in dm_attr_store() 67 static ssize_t dm_attr_name_show(struct mapped_device *md, char *buf) in dm_attr_name_show() 76 static ssize_t dm_attr_uuid_show(struct mapped_device *md, char *buf) in dm_attr_uuid_show() 85 static ssize_t dm_attr_suspended_show(struct mapped_device *md, char *buf) in dm_attr_suspended_show() 92 static ssize_t dm_attr_use_blk_mq_show(struct mapped_device *md, char *buf) in dm_attr_use_blk_mq_show() 129 int dm_sysfs_init(struct mapped_device *md) in dm_sysfs_init() 139 void dm_sysfs_exit(struct mapped_device *md) in dm_sysfs_exit()
|
D | dm-ioctl.c | 35 struct mapped_device *md; 141 struct mapped_device *md; in __get_dev_cell() 161 struct mapped_device *md) in alloc_cell() 207 static int dm_hash_insert(const char *name, const char *uuid, struct mapped_device *md) in dm_hash_insert() 283 struct mapped_device *md; in dm_hash_remove_all() 368 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename() 374 struct mapped_device *md; in dm_hash_rename() 645 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table() 668 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table() 680 static void __dev_status(struct mapped_device *md, struct dm_ioctl *param) in __dev_status() [all …]
|
D | dm-uevent.c | 44 struct mapped_device *md; 57 static struct dm_uevent *dm_uevent_alloc(struct mapped_device *md) in dm_uevent_alloc() 71 static struct dm_uevent *dm_build_path_uevent(struct mapped_device *md, in dm_build_path_uevent() 186 struct mapped_device *md = dm_table_get_md(ti->table); in dm_path_uevent()
|
D | dm-stats.h | 26 struct mapped_device; 28 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv,
|
D | dm-stats.c | 231 void (*suspend_callback)(struct mapped_device *), in dm_stats_create() argument 232 void (*resume_callback)(struct mapped_device *), in dm_stats_create() argument 233 struct mapped_device *md) in dm_stats_create() 766 static int message_stats_create(struct mapped_device *md, in message_stats_create() 838 static int message_stats_delete(struct mapped_device *md, in message_stats_delete() 853 static int message_stats_clear(struct mapped_device *md, in message_stats_clear() 868 static int message_stats_list(struct mapped_device *md, in message_stats_list() 891 static int message_stats_print(struct mapped_device *md, in message_stats_print() 918 static int message_stats_set_aux(struct mapped_device *md, in message_stats_set_aux() 933 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, in dm_stats_message()
|
D | dm-table.c | 32 struct mapped_device *md; 184 unsigned num_targets, struct mapped_device *md) in dm_table_create() 215 static void free_devices(struct list_head *devices, struct mapped_device *md) in free_devices() 349 struct mapped_device *md) in upgrade_mode() 941 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools() 1072 static int dm_table_prealloc_integrity(struct dm_table *t, struct mapped_device *md) in dm_table_prealloc_integrity() 1679 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md() 1687 struct mapped_device *md; in dm_table_run_md_queue_async()
|
D | dm-thin.c | 219 struct mapped_device *pool_md; 297 struct mapped_device *thin_md; 425 static struct pool *__pool_table_lookup(struct mapped_device *md) in __pool_table_lookup() 2523 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create() 2666 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find() 3742 struct mapped_device *pool_md; in thin_ctr()
|
D | dm-verity.c | 207 struct mapped_device *md = dm_table_get_md(v->ti->table); in verity_handle_err()
|
D | dm-snap.c | 1883 struct mapped_device *origin_md = NULL; in snapshot_resume()
|
/linux-4.1.27/include/linux/ |
D | device-mapper.h | 19 struct mapped_device; 371 int dm_create(int minor, struct mapped_device **md); 376 struct mapped_device *dm_get_md(dev_t dev); 377 void dm_get(struct mapped_device *md); 378 int dm_hold(struct mapped_device *md); 379 void dm_put(struct mapped_device *md); 384 void dm_set_mdptr(struct mapped_device *md, void *ptr); 385 void *dm_get_mdptr(struct mapped_device *md); 390 int dm_suspend(struct mapped_device *md, unsigned suspend_flags); 391 int dm_resume(struct mapped_device *md); [all …]
|
/linux-4.1.27/drivers/ssb/ |
D | pci.c | 78 bus->mapped_device = dev; in ssb_pci_switch_core() 977 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read8() 990 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read16() 1003 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read32() 1019 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_read() 1051 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write8() 1064 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write16() 1077 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write32() 1093 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_write()
|
D | pcmcia.c | 163 bus->mapped_device = dev; in ssb_pcmcia_switch_core() 211 if (unlikely(dev != bus->mapped_device)) { in select_core_and_segment()
|
D | scan.c | 220 bus->mapped_device = NULL; in ssb_iounmap()
|
D | sdio.c | 222 bus->mapped_device = dev; in ssb_sdio_switch_core()
|
D | main.c | 165 bus->mapped_device = NULL; in ssb_bus_resume()
|
/linux-4.1.27/include/linux/ssb/ |
D | ssb.h | 417 struct ssb_device *mapped_device; member
|