Lines Matching refs:mapped_device
22 struct mapped_device;
464 int dm_create(int minor, struct mapped_device **md);
469 struct mapped_device *dm_get_md(dev_t dev);
470 void dm_get(struct mapped_device *md);
471 int dm_hold(struct mapped_device *md);
472 void dm_put(struct mapped_device *md);
477 void dm_set_mdptr(struct mapped_device *md, void *ptr);
478 void *dm_get_mdptr(struct mapped_device *md);
483 int dm_suspend(struct mapped_device *md, unsigned int suspend_flags);
484 int dm_resume(struct mapped_device *md);
489 uint32_t dm_get_event_nr(struct mapped_device *md);
490 int dm_wait_event(struct mapped_device *md, int event_nr);
491 uint32_t dm_next_uevent_seq(struct mapped_device *md);
492 void dm_uevent_add(struct mapped_device *md, struct list_head *elist);
497 const char *dm_device_name(struct mapped_device *md);
498 int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid);
499 struct gendisk *dm_disk(struct mapped_device *md);
534 int dm_get_geometry(struct mapped_device *md, struct hd_geometry *geo);
535 int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo);
547 unsigned int num_targets, struct mapped_device *md);
581 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx);
582 void dm_put_live_table(struct mapped_device *md, int srcu_idx);
583 void dm_sync_table(struct mapped_device *md);
590 struct mapped_device *dm_table_get_md(struct dm_table *t);
607 struct dm_table *dm_swap_table(struct mapped_device *md,