Lines Matching refs:mapped_device
77 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);
107 void dm_cleanup_zoned_dev(struct mapped_device *md);
110 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio);
113 static inline void dm_cleanup_zoned_dev(struct mapped_device *md) {} in dm_cleanup_zoned_dev()
115 static inline bool dm_is_zone_write(struct mapped_device *md, struct bio *bio) in dm_is_zone_write()
142 int dm_deleting_md(struct mapped_device *md);
147 int dm_suspended_md(struct mapped_device *md);
152 int dm_suspended_internally_md(struct mapped_device *md);
153 void dm_internal_suspend_fast(struct mapped_device *md);
154 void dm_internal_resume_fast(struct mapped_device *md);
155 void dm_internal_suspend_noflush(struct mapped_device *md);
156 void dm_internal_resume(struct mapped_device *md);
161 int dm_test_deferred_remove_flag(struct mapped_device *md);
178 int dm_sysfs_init(struct mapped_device *md);
179 void dm_sysfs_exit(struct mapped_device *md);
180 struct kobject *dm_kobject(struct mapped_device *md);
181 struct mapped_device *dm_get_from_kobject(struct kobject *kobj);
200 void dm_destroy(struct mapped_device *md);
201 void dm_destroy_immediate(struct mapped_device *md);
202 int dm_open_count(struct mapped_device *md);
203 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred);
204 int dm_cancel_deferred_remove(struct mapped_device *md);
205 int dm_request_based(struct mapped_device *md);
206 int dm_get_table_device(struct mapped_device *md, dev_t dev, blk_mode_t mode,
208 void dm_put_table_device(struct mapped_device *md, struct dm_dev *d);
210 int dm_kobject_uevent(struct mapped_device *md, enum kobject_action action,