Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-sysfs.c15 ssize_t (*show)(struct mapped_device *md, char *p);
16 ssize_t (*store)(struct mapped_device *md, const char *p, size_t count);
27 struct mapped_device *md; in dm_attr_show()
52 struct mapped_device *md; in dm_attr_store()
69 static ssize_t dm_attr_name_show(struct mapped_device *md, char *buf) in dm_attr_name_show()
78 static ssize_t dm_attr_uuid_show(struct mapped_device *md, char *buf) in dm_attr_uuid_show()
87 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()
H A Ddm-rq.h18 struct mapped_device;
34 int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
35 void dm_mq_cleanup_mapped_device(struct mapped_device *md);
40 void dm_mq_kick_requeue_list(struct mapped_device *md);
44 ssize_t dm_attr_rq_based_seq_io_merge_deadline_show(struct mapped_device *md, char *buf);
45 ssize_t dm_attr_rq_based_seq_io_merge_deadline_store(struct mapped_device *md,
H A Ddm.c309 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md()
316 struct mapped_device *md; in dm_blk_open()
340 struct mapped_device *md; in dm_blk_close()
357 int dm_open_count(struct mapped_device *md) in dm_open_count()
365 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion()
385 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove()
408 struct mapped_device *md = disk->private_data; in dm_blk_getgeo()
413 static int dm_prepare_ioctl(struct mapped_device *md, int *srcu_idx, in dm_prepare_ioctl()
448 static void dm_unprepare_ioctl(struct mapped_device *md, int srcu_idx) in dm_unprepare_ioctl()
456 struct mapped_device *md = bdev->bd_disk->private_data; in dm_blk_ioctl()
[all …]
H A 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()
H A Ddm-ioctl.c52 struct mapped_device *md;
197 struct mapped_device *md; in __get_dev_cell()
219 struct mapped_device *md) in alloc_cell()
288 static bool dm_ima_need_measure(struct mapped_device *md, in dm_ima_need_measure()
326 static inline bool dm_ima_need_measure(struct mapped_device *md, in dm_ima_need_measure()
338 static int dm_hash_insert(const char *name, const char *uuid, struct mapped_device *md) in dm_hash_insert()
417 struct mapped_device *md; in dm_hash_remove_all()
515 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename()
521 struct mapped_device *md; in dm_hash_rename()
869 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) in dm_get_inactive_table()
[all …]
H A Ddm-stats.h27 struct mapped_device;
29 int dm_stats_message(struct mapped_device *md, unsigned int argc, char **argv,
H A Ddm-stats.c267 void (*suspend_callback)(struct mapped_device *), in dm_stats_create() argument
268 void (*resume_callback)(struct mapped_device *), in dm_stats_create() argument
269 struct mapped_device *md) in dm_stats_create()
1000 static int message_stats_create(struct mapped_device *md, in message_stats_create()
1124 static int message_stats_delete(struct mapped_device *md, in message_stats_delete()
1139 static int message_stats_clear(struct mapped_device *md, in message_stats_clear()
1154 static int message_stats_list(struct mapped_device *md, in message_stats_list()
1177 static int message_stats_print(struct mapped_device *md, in message_stats_print()
1204 static int message_stats_set_aux(struct mapped_device *md, in message_stats_set_aux()
1219 int dm_stats_message(struct mapped_device *md, unsigned int argc, char **argv, in dm_stats_message()
H A Ddm-verity-loadpin.c55 struct mapped_device *md; in dm_verity_loadpin_is_bdev_trusted()
H A Ddm-audit.c40 struct mapped_device *md = dm_table_get_md(ti->table); in dm_audit_log_ti()
H A Ddm-thin.c236 struct mapped_device *pool_md;
348 struct mapped_device *thin_md;
552 static struct pool *__pool_table_lookup(struct mapped_device *md) in __pool_table_lookup()
2934 static struct pool *pool_create(struct mapped_device *pool_md, in pool_create()
3084 static struct pool *__pool_find(struct mapped_device *pool_md, in __pool_find()
4186 struct mapped_device *pool_md; in thin_ctr()
H A Ddm-verity-target.c182 struct mapped_device *md = dm_table_get_md(v->ti->table); in verity_handle_err()
/linux/drivers/ssb/
H A Dpci.c77 bus->mapped_device = dev; in ssb_pci_switch_core()
967 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read8()
980 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read16()
993 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read32()
1009 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_read()
1041 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write8()
1054 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write16()
1067 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_write32()
1083 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_block_write()
H A Dpcmcia.c161 bus->mapped_device = dev; in ssb_pcmcia_switch_core()
209 if (unlikely(dev != bus->mapped_device)) { in select_core_and_segment()
H A Dscan.c220 bus->mapped_device = NULL; in ssb_iounmap()
H A Dsdio.c222 bus->mapped_device = dev; in ssb_sdio_switch_core()
H A Dmain.c168 bus->mapped_device = NULL; in ssb_bus_resume()
/linux/drivers/md/dm-pcache/
H A Ddm_pcache.c282 struct mapped_device *md = ti->table->md; in dm_pcache_ctr()