Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/
Ddm.h79 void dm_lock_md_type(struct mapped_device *md);
80 void dm_unlock_md_type(struct mapped_device *md);
81 void dm_set_md_type(struct mapped_device *md, enum dm_queue_mode type);
82 enum dm_queue_mode dm_get_md_type(struct mapped_device *md);
83 struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
85 int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t);
118 int dm_deleting_md(struct mapped_device *md);
123 int dm_suspended_md(struct mapped_device *md);
128 int dm_suspended_internally_md(struct mapped_device *md);
129 void dm_internal_suspend_fast(struct mapped_device *md);
[all …]
Ddm.c97 struct mapped_device *md;
338 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md()
345 struct mapped_device *md; in dm_blk_open()
369 struct mapped_device *md; in dm_blk_close()
386 int dm_open_count(struct mapped_device *md) in dm_open_count()
394 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion()
414 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove()
437 struct mapped_device *md = bdev->bd_disk->private_data; in dm_blk_getgeo()
476 struct mapped_device *md = disk->private_data; in dm_blk_report_zones()
520 static int dm_prepare_ioctl(struct mapped_device *md, int *srcu_idx, in dm_prepare_ioctl()
[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-core.h34 struct mapped_device { struct
125 void disable_discard(struct mapped_device *md); argument
126 void disable_write_same(struct mapped_device *md);
127 void disable_write_zeroes(struct mapped_device *md);
129 static inline sector_t dm_get_size(struct mapped_device *md) in dm_get_size()
134 static inline struct dm_stats *dm_get_stats(struct mapped_device *md) in dm_get_stats()
142 struct mapped_device *md;
Ddm-rq.c19 struct mapped_device *md;
60 int dm_request_based(struct mapped_device *md) in dm_request_based()
128 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()
261 struct mapped_device *md = tio->md; in dm_softirq_done()
355 struct mapped_device *md) in init_tio()
382 struct mapped_device *md = tio->md; in map_request()
[all …]
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.c145 unsigned num_targets, struct mapped_device *md) in dm_table_create()
176 static void free_devices(struct list_head *devices, struct mapped_device *md) in free_devices()
326 struct mapped_device *md) in upgrade_mode()
1032 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools()
1174 struct mapped_device *md = t->md; in dm_table_register_integrity()
1995 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
Ddm-thin.c233 struct mapped_device *pool_md;
347 struct mapped_device *thin_md;
551 static struct pool *__pool_table_lookup(struct mapped_device *md) in __pool_table_lookup()
2924 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create()
3075 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find()
4165 struct mapped_device *pool_md; in thin_ctr()
Ddm-verity-target.c219 struct mapped_device *md = dm_table_get_md(v->ti->table); in verity_handle_err()
Ddm-snap.c2249 struct mapped_device *origin_md = NULL; in snapshot_resume()
Ddm-crypt.c1164 struct mapped_device *md = dm_table_get_md(ti->table); in crypt_integrity_ctr()
/kernel/linux/linux-5.10/include/linux/
Ddevice-mapper.h21 struct mapped_device;
409 int dm_create(int minor, struct mapped_device **md);
414 struct mapped_device *dm_get_md(dev_t dev);
415 void dm_get(struct mapped_device *md);
416 int dm_hold(struct mapped_device *md);
417 void dm_put(struct mapped_device *md);
422 void dm_set_mdptr(struct mapped_device *md, void *ptr);
423 void *dm_get_mdptr(struct mapped_device *md);
428 int dm_suspend(struct mapped_device *md, unsigned suspend_flags);
429 int dm_resume(struct mapped_device *md);
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/ssb/
Dssb.h424 struct ssb_device *mapped_device; member