Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/
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);
121 int dm_deleting_md(struct mapped_device *md);
126 int dm_suspended_md(struct mapped_device *md);
131 int dm_suspended_internally_md(struct mapped_device *md);
132 void dm_internal_suspend_fast(struct mapped_device *md);
[all …]
Ddm-rq.h17 struct mapped_device;
23 struct mapped_device *md;
50 bool dm_use_blk_mq(struct mapped_device *md);
52 int dm_old_init_request_queue(struct mapped_device *md, struct dm_table *t);
53 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
54 void dm_mq_cleanup_mapped_device(struct mapped_device *md);
59 void dm_mq_kick_requeue_list(struct mapped_device *md);
63 ssize_t dm_attr_rq_based_seq_io_merge_deadline_show(struct mapped_device *md, char *buf);
64 ssize_t dm_attr_rq_based_seq_io_merge_deadline_store(struct mapped_device *md,
Ddm.c94 struct mapped_device *md;
342 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md()
349 struct mapped_device *md; in dm_blk_open()
373 struct mapped_device *md; in dm_blk_close()
390 int dm_open_count(struct mapped_device *md) in dm_open_count()
398 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion()
418 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove()
439 sector_t dm_get_size(struct mapped_device *md) in dm_get_size()
444 struct request_queue *dm_get_md_queue(struct mapped_device *md) in dm_get_md_queue()
449 struct dm_stats *dm_get_stats(struct mapped_device *md) in dm_get_stats()
[all …]
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()
130 int dm_sysfs_init(struct mapped_device *md) in dm_sysfs_init()
140 void dm_sysfs_exit(struct mapped_device *md) in dm_sysfs_exit()
Ddm-rq.c33 bool dm_use_blk_mq(struct mapped_device *md) in dm_use_blk_mq()
57 int dm_request_based(struct mapped_device *md) in dm_request_based()
164 static void rq_end_stats(struct mapped_device *md, struct request *orig) in rq_end_stats()
180 static void rq_completed(struct mapped_device *md, int rw, bool run_queue) in rq_completed()
218 struct mapped_device *md = tio->md; in dm_end_request()
251 void dm_mq_kick_requeue_list(struct mapped_device *md) in dm_mq_kick_requeue_list()
265 struct mapped_device *md = tio->md; in dm_requeue_original_request()
339 struct mapped_device *md = tio->md; in dm_softirq_done()
452 struct mapped_device *md) in init_tio()
481 struct mapped_device *md = tio->md; in map_request()
[all …]
Ddm-core.h31 struct mapped_device { struct
132 int md_in_flight(struct mapped_device *md); argument
133 void disable_write_same(struct mapped_device *md);
134 void disable_write_zeroes(struct mapped_device *md);
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-ioctl.c44 struct mapped_device *md;
142 struct mapped_device *md; in __get_dev_cell()
162 struct mapped_device *md) in alloc_cell()
208 static int dm_hash_insert(const char *name, const char *uuid, struct mapped_device *md) in dm_hash_insert()
284 struct mapped_device *md; in dm_hash_remove_all()
369 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename()
375 struct mapped_device *md; in dm_hash_rename()
657 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table()
680 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table()
692 static void __dev_status(struct mapped_device *md, struct dm_ioctl *param) in __dev_status()
[all …]
Ddm-stats.h28 struct mapped_device;
30 int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv,
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()
Ddm-table.c33 struct mapped_device *md;
188 unsigned num_targets, struct mapped_device *md) in dm_table_create()
220 static void free_devices(struct list_head *devices, struct mapped_device *md) in free_devices()
387 struct mapped_device *md) in upgrade_mode()
1113 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools()
1255 struct mapped_device *md = t->md; in dm_table_register_integrity()
2076 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
2084 struct mapped_device *md; in dm_table_run_md_queue_async()
Ddm-thin.c233 struct mapped_device *pool_md;
315 struct mapped_device *thin_md;
519 static struct pool *__pool_table_lookup(struct mapped_device *md) in __pool_table_lookup()
2891 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create()
3038 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find()
4098 struct mapped_device *pool_md; in thin_ctr()
Ddm-verity-target.c218 struct mapped_device *md = dm_table_get_md(v->ti->table); in verity_handle_err()
Ddm-mpath.c446 struct mapped_device *md = dm_table_get_md((m)->ti->table); \
Ddm-snap.c1916 struct mapped_device *origin_md = NULL; in snapshot_resume()
/Linux-v4.19/include/linux/
Ddevice-mapper.h19 struct mapped_device;
384 int dm_create(int minor, struct mapped_device **md);
389 struct mapped_device *dm_get_md(dev_t dev);
390 void dm_get(struct mapped_device *md);
391 int dm_hold(struct mapped_device *md);
392 void dm_put(struct mapped_device *md);
397 void dm_set_mdptr(struct mapped_device *md, void *ptr);
398 void *dm_get_mdptr(struct mapped_device *md);
403 int dm_suspend(struct mapped_device *md, unsigned suspend_flags);
404 int dm_resume(struct mapped_device *md);
[all …]
/Linux-v4.19/drivers/ssb/
Dpci.c77 bus->mapped_device = dev; in ssb_pci_switch_core()
969 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read8()
982 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read16()
995 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read32()
1011 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_read()
1043 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write8()
1056 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write16()
1069 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write32()
1085 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_write()
Dpcmcia.c161 bus->mapped_device = dev; in ssb_pcmcia_switch_core()
209 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-v4.19/include/linux/ssb/
Dssb.h424 struct ssb_device *mapped_device; member