Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm.h80 void dm_lock_md_type(struct mapped_device *md);
81 void dm_unlock_md_type(struct mapped_device *md);
82 void dm_set_md_type(struct mapped_device *md, enum dm_queue_mode type);
83 enum dm_queue_mode dm_get_md_type(struct mapped_device *md);
84 struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
86 int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t);
119 int dm_deleting_md(struct mapped_device *md);
124 int dm_suspended_md(struct mapped_device *md);
129 int dm_suspended_internally_md(struct mapped_device *md);
130 void dm_internal_suspend_fast(struct mapped_device *md);
[all …]
Ddm.c94 struct mapped_device *md;
324 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md()
331 struct mapped_device *md; in dm_blk_open()
355 struct mapped_device *md; in dm_blk_close()
372 int dm_open_count(struct mapped_device *md) in dm_open_count()
380 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion()
400 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove()
421 sector_t dm_get_size(struct mapped_device *md) in dm_get_size()
426 struct request_queue *dm_get_md_queue(struct mapped_device *md) in dm_get_md_queue()
431 struct dm_stats *dm_get_stats(struct mapped_device *md) in dm_get_stats()
[all …]
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,
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()
Ddm-rq.c19 struct mapped_device *md;
60 int dm_request_based(struct mapped_device *md) in dm_request_based()
131 static void rq_end_stats(struct mapped_device *md, struct request *orig) in rq_end_stats()
147 static void rq_completed(struct mapped_device *md) in rq_completed()
167 struct mapped_device *md = tio->md; in dm_end_request()
183 void dm_mq_kick_requeue_list(struct mapped_device *md) in dm_mq_kick_requeue_list()
197 struct mapped_device *md = tio->md; in dm_requeue_original_request()
268 struct mapped_device *md = tio->md; in dm_softirq_done()
361 struct mapped_device *md) in init_tio()
388 struct mapped_device *md = tio->md; in map_request()
[all …]
Ddm-core.h31 struct mapped_device { struct
118 void disable_discard(struct mapped_device *md); argument
119 void disable_write_same(struct mapped_device *md);
120 void disable_write_zeroes(struct mapped_device *md);
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()
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()
682 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table()
705 static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md, in dm_get_live_or_inactive_table()
717 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;
185 unsigned num_targets, struct mapped_device *md) in dm_table_create()
217 static void free_devices(struct list_head *devices, struct mapped_device *md) in free_devices()
384 struct mapped_device *md) in upgrade_mode()
1104 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools()
1246 struct mapped_device *md = t->md; in dm_table_register_integrity()
2113 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
2127 struct mapped_device *md; in dm_table_run_md_queue_async()
Ddm-thin.c233 struct mapped_device *pool_md;
345 struct mapped_device *thin_md;
549 static struct pool *__pool_table_lookup(struct mapped_device *md) in __pool_table_lookup()
2937 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create()
3085 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find()
4152 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.c439 struct mapped_device *md = dm_table_get_md((m)->ti->table); \
Ddm-snap.c2224 struct mapped_device *origin_md = NULL; in snapshot_resume()
Ddm-crypt.c843 struct mapped_device *md = dm_table_get_md(ti->table); in crypt_integrity_ctr()
/Linux-v5.4/include/linux/
Ddevice-mapper.h20 struct mapped_device;
386 int dm_create(int minor, struct mapped_device **md);
391 struct mapped_device *dm_get_md(dev_t dev);
392 void dm_get(struct mapped_device *md);
393 int dm_hold(struct mapped_device *md);
394 void dm_put(struct mapped_device *md);
399 void dm_set_mdptr(struct mapped_device *md, void *ptr);
400 void *dm_get_mdptr(struct mapped_device *md);
405 int dm_suspend(struct mapped_device *md, unsigned suspend_flags);
406 int dm_resume(struct mapped_device *md);
[all …]
/Linux-v5.4/drivers/ssb/
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()
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-v5.4/include/linux/ssb/
Dssb.h424 struct ssb_device *mapped_device; member