Lines Matching defs:md

97 	struct mapped_device *md;  member
328 int dm_deleting_md(struct mapped_device *md) in dm_deleting_md()
335 struct mapped_device *md; in dm_blk_open() local
359 struct mapped_device *md; in dm_blk_close() local
376 int dm_open_count(struct mapped_device *md) in dm_open_count()
384 int dm_lock_for_deletion(struct mapped_device *md, bool mark_deferred, bool only_deferred) in dm_lock_for_deletion()
404 int dm_cancel_deferred_remove(struct mapped_device *md) in dm_cancel_deferred_remove()
427 struct mapped_device *md = bdev->bd_disk->private_data; in dm_blk_getgeo() local
466 struct mapped_device *md = disk->private_data; in dm_blk_report_zones() local
510 static int dm_prepare_ioctl(struct mapped_device *md, int *srcu_idx, in dm_prepare_ioctl()
544 static void dm_unprepare_ioctl(struct mapped_device *md, int srcu_idx) in dm_unprepare_ioctl()
552 struct mapped_device *md = bdev->bd_disk->private_data; in dm_blk_ioctl() local
590 struct mapped_device *md = io->md; in start_io_acct() local
602 struct mapped_device *md = io->md; in end_io_acct() local
618 static struct dm_io *alloc_io(struct mapped_device *md, struct bio *bio) in alloc_io()
645 static void free_io(struct mapped_device *md, struct dm_io *io) in free_io()
685 static void queue_io(struct mapped_device *md, struct bio *bio) in queue_io()
700 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx) __acquires(md->io_barri… in dm_get_live_table()
707 void dm_put_live_table(struct mapped_device *md, int srcu_idx) __releases(md->io_barrier) in dm_put_live_table()
712 void dm_sync_table(struct mapped_device *md) in dm_sync_table()
722 static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU) in dm_get_live_table_fast()
728 static void dm_put_live_table_fast(struct mapped_device *md) __releases(RCU) in dm_put_live_table_fast()
739 struct mapped_device *md) in open_table_device()
765 static void close_table_device(struct table_device *td, struct mapped_device *md) in close_table_device()
789 int dm_get_table_device(struct mapped_device *md, dev_t dev, fmode_t mode, in dm_get_table_device()
827 void dm_put_table_device(struct mapped_device *md, struct dm_dev *d) in dm_put_table_device()
857 int dm_get_geometry(struct mapped_device *md, struct hd_geometry *geo) in dm_get_geometry()
867 int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo) in dm_set_geometry()
881 static int __noflush_suspending(struct mapped_device *md) in __noflush_suspending()
895 struct mapped_device *md = io->md; in dec_pending() local
944 void disable_discard(struct mapped_device *md) in disable_discard()
953 void disable_write_same(struct mapped_device *md) in disable_write_same()
961 void disable_write_zeroes(struct mapped_device *md) in disable_write_zeroes()
974 struct mapped_device *md = tio->io->md; in clone_endio() local
1071 static struct dm_target *dm_dax_get_live_target(struct mapped_device *md, in dm_dax_get_live_target()
1092 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_direct_access() local
1119 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_supported() local
1139 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_from_iter() local
1163 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_copy_to_iter() local
1187 struct mapped_device *md = dax_get_private(dax_dev); in dm_dax_zero_page_range() local
1558 static void init_clone_info(struct clone_info *ci, struct mapped_device *md, in init_clone_info()
1572 static blk_qc_t __split_and_process_bio(struct mapped_device *md, in __split_and_process_bio()
1633 struct mapped_device *md = bio->bi_disk->private_data; in dm_submit_bio() local
1725 static void cleanup_mapped_device(struct mapped_device *md) in cleanup_mapped_device()
1769 struct mapped_device *md; in alloc_dev() local
1875 static void free_dev(struct mapped_device *md) in free_dev()
1891 static int __bind_mempools(struct mapped_device *md, struct dm_table *t) in __bind_mempools()
1940 struct mapped_device *md = (struct mapped_device *) context; in event_callback() local
1956 static struct dm_table *__bind(struct mapped_device *md, struct dm_table *t, in __bind()
2019 static struct dm_table *__unbind(struct mapped_device *md) in __unbind()
2039 struct mapped_device *md; in dm_create() local
2059 void dm_lock_md_type(struct mapped_device *md) in dm_lock_md_type()
2064 void dm_unlock_md_type(struct mapped_device *md) in dm_unlock_md_type()
2069 void dm_set_md_type(struct mapped_device *md, enum dm_queue_mode type) in dm_set_md_type()
2075 enum dm_queue_mode dm_get_md_type(struct mapped_device *md) in dm_get_md_type()
2080 struct target_type *dm_get_immutable_target_type(struct mapped_device *md) in dm_get_immutable_target_type()
2089 struct queue_limits *dm_get_queue_limits(struct mapped_device *md) in dm_get_queue_limits()
2099 int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t) in dm_setup_md_queue()
2135 struct mapped_device *md; in dm_get_md() local
2157 void *dm_get_mdptr(struct mapped_device *md) in dm_get_mdptr()
2162 void dm_set_mdptr(struct mapped_device *md, void *ptr) in dm_set_mdptr()
2167 void dm_get(struct mapped_device *md) in dm_get()
2173 int dm_hold(struct mapped_device *md) in dm_hold()
2186 const char *dm_device_name(struct mapped_device *md) in dm_device_name()
2192 static void __dm_destroy(struct mapped_device *md, bool wait) in __dm_destroy()
2240 void dm_destroy(struct mapped_device *md) in dm_destroy()
2245 void dm_destroy_immediate(struct mapped_device *md) in dm_destroy_immediate()
2250 void dm_put(struct mapped_device *md) in dm_put()
2256 static bool md_in_flight_bios(struct mapped_device *md) in md_in_flight_bios()
2270 static int dm_wait_for_bios_completion(struct mapped_device *md, long task_state) in dm_wait_for_bios_completion()
2293 static int dm_wait_for_completion(struct mapped_device *md, long task_state) in dm_wait_for_completion()
2320 struct mapped_device *md = container_of(work, struct mapped_device, work); in dm_wq_work() local
2335 static void dm_queue_flush(struct mapped_device *md) in dm_queue_flush()
2345 struct dm_table *dm_swap_table(struct mapped_device *md, struct dm_table *table) in dm_swap_table()
2390 static int lock_fs(struct mapped_device *md) in lock_fs()
2408 static void unlock_fs(struct mapped_device *md) in unlock_fs()
2427 static int __dm_suspend(struct mapped_device *md, struct dm_table *map, in __dm_suspend()
2535 int dm_suspend(struct mapped_device *md, unsigned suspend_flags) in dm_suspend()
2572 static int __dm_resume(struct mapped_device *md, struct dm_table *map) in __dm_resume()
2595 int dm_resume(struct mapped_device *md) in dm_resume()
2637 static void __dm_internal_suspend(struct mapped_device *md, unsigned suspend_flags) in __dm_internal_suspend()
2667 static void __dm_internal_resume(struct mapped_device *md) in __dm_internal_resume()
2689 void dm_internal_suspend_noflush(struct mapped_device *md) in dm_internal_suspend_noflush()
2697 void dm_internal_resume(struct mapped_device *md) in dm_internal_resume()
2710 void dm_internal_suspend_fast(struct mapped_device *md) in dm_internal_suspend_fast()
2723 void dm_internal_resume_fast(struct mapped_device *md) in dm_internal_resume_fast()
2738 int dm_kobject_uevent(struct mapped_device *md, enum kobject_action action, in dm_kobject_uevent()
2762 uint32_t dm_next_uevent_seq(struct mapped_device *md) in dm_next_uevent_seq()
2767 uint32_t dm_get_event_nr(struct mapped_device *md) in dm_get_event_nr()
2772 int dm_wait_event(struct mapped_device *md, int event_nr) in dm_wait_event()
2778 void dm_uevent_add(struct mapped_device *md, struct list_head *elist) in dm_uevent_add()
2791 struct gendisk *dm_disk(struct mapped_device *md) in dm_disk()
2797 struct kobject *dm_kobject(struct mapped_device *md) in dm_kobject()
2804 struct mapped_device *md; in dm_get_from_kobject() local
2820 int dm_suspended_md(struct mapped_device *md) in dm_suspended_md()
2825 static int dm_post_suspending_md(struct mapped_device *md) in dm_post_suspending_md()
2830 int dm_suspended_internally_md(struct mapped_device *md) in dm_suspended_internally_md()
2835 int dm_test_deferred_remove_flag(struct mapped_device *md) in dm_test_deferred_remove_flag()
2858 struct dm_md_mempools *dm_alloc_md_mempools(struct mapped_device *md, enum dm_queue_mode type, in dm_alloc_md_mempools()
2927 struct mapped_device *md = bdev->bd_disk->private_data; in dm_call_pr() local
2992 struct mapped_device *md = bdev->bd_disk->private_data; in dm_pr_reserve() local
3012 struct mapped_device *md = bdev->bd_disk->private_data; in dm_pr_release() local
3033 struct mapped_device *md = bdev->bd_disk->private_data; in dm_pr_preempt() local
3053 struct mapped_device *md = bdev->bd_disk->private_data; in dm_pr_clear() local