Home
last modified time | relevance | path

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

/linux-4.4.14/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, unsigned type);
84 unsigned 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);
126 int dm_deleting_md(struct mapped_device *md);
131 int dm_suspended_md(struct mapped_device *md);
136 int dm_suspended_internally_md(struct mapped_device *md);
137 void dm_internal_suspend_fast(struct mapped_device *md);
[all …]
Ddm.c70 struct mapped_device *md;
84 struct mapped_device *md;
142 struct mapped_device { struct
243 bool dm_use_blk_mq(struct mapped_device *md) in dm_use_blk_mq() argument
440 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md()
447 struct mapped_device *md; in dm_blk_open()
471 struct mapped_device *md; in dm_blk_close()
488 int dm_open_count(struct mapped_device *md) in dm_open_count()
496 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion()
516 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove()
[all …]
Ddm-sysfs.c13 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()
Ddm-ioctl.c35 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 …]
Ddm-uevent.c44 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()
Ddm-stats.h27 struct mapped_device;
29 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv,
Ddm-stats.c241 void (*suspend_callback)(struct mapped_device *), in dm_stats_create() argument
242 void (*resume_callback)(struct mapped_device *), in dm_stats_create() argument
243 struct mapped_device *md) in dm_stats_create()
945 static int message_stats_create(struct mapped_device *md, in message_stats_create()
1070 static int message_stats_delete(struct mapped_device *md, in message_stats_delete()
1085 static int message_stats_clear(struct mapped_device *md, in message_stats_clear()
1100 static int message_stats_list(struct mapped_device *md, in message_stats_list()
1123 static int message_stats_print(struct mapped_device *md, in message_stats_print()
1150 static int message_stats_set_aux(struct mapped_device *md, in message_stats_set_aux()
1165 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, in dm_stats_message()
Ddm-table.c32 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()
945 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools()
1077 struct mapped_device *md = t->md; in dm_table_register_integrity()
1676 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
1684 struct mapped_device *md; in dm_table_run_md_queue_async()
Ddm-thin.c227 struct mapped_device *pool_md;
305 struct mapped_device *thin_md;
507 static struct pool *__pool_table_lookup(struct mapped_device *md) in __pool_table_lookup()
2766 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create()
2909 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find()
3961 struct mapped_device *pool_md; in thin_ctr()
Ddm-verity.c203 struct mapped_device *md = dm_table_get_md(v->ti->table); in verity_handle_err()
Ddm-snap.c1905 struct mapped_device *origin_md = NULL; in snapshot_resume()
/linux-4.4.14/include/linux/
Ddevice-mapper.h19 struct mapped_device;
369 int dm_create(int minor, struct mapped_device **md);
374 struct mapped_device *dm_get_md(dev_t dev);
375 void dm_get(struct mapped_device *md);
376 int dm_hold(struct mapped_device *md);
377 void dm_put(struct mapped_device *md);
382 void dm_set_mdptr(struct mapped_device *md, void *ptr);
383 void *dm_get_mdptr(struct mapped_device *md);
388 int dm_suspend(struct mapped_device *md, unsigned suspend_flags);
389 int dm_resume(struct mapped_device *md);
[all …]
/linux-4.4.14/drivers/ssb/
Dpci.c78 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()
Dpcmcia.c162 bus->mapped_device = dev; in ssb_pcmcia_switch_core()
210 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.c165 bus->mapped_device = NULL; in ssb_bus_resume()
/linux-4.4.14/include/linux/ssb/
Dssb.h423 struct ssb_device *mapped_device; member