Lines Matching refs:mapped_device
22 struct mapped_device;
486 int dm_create(int minor, struct mapped_device **md);
491 struct mapped_device *dm_get_md(dev_t dev);
492 void dm_get(struct mapped_device *md);
493 int dm_hold(struct mapped_device *md);
494 void dm_put(struct mapped_device *md);
499 void dm_set_mdptr(struct mapped_device *md, void *ptr);
500 void *dm_get_mdptr(struct mapped_device *md);
505 int dm_suspend(struct mapped_device *md, unsigned int suspend_flags);
506 int dm_resume(struct mapped_device *md);
511 uint32_t dm_get_event_nr(struct mapped_device *md);
512 int dm_wait_event(struct mapped_device *md, int event_nr);
513 uint32_t dm_next_uevent_seq(struct mapped_device *md);
514 void dm_uevent_add(struct mapped_device *md, struct list_head *elist);
519 const char *dm_device_name(struct mapped_device *md);
520 int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid);
521 struct gendisk *dm_disk(struct mapped_device *md);
555 int dm_get_geometry(struct mapped_device *md, struct hd_geometry *geo);
556 int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo);
568 unsigned int num_targets, struct mapped_device *md);
602 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx);
603 void dm_put_live_table(struct mapped_device *md, int srcu_idx);
604 void dm_sync_table(struct mapped_device *md);
611 struct mapped_device *dm_table_get_md(struct dm_table *t);
628 struct dm_table *dm_swap_table(struct mapped_device *md,