Lines Matching refs:mapped_device
19 struct mapped_device;
371 int dm_create(int minor, struct mapped_device **md);
376 struct mapped_device *dm_get_md(dev_t dev);
377 void dm_get(struct mapped_device *md);
378 int dm_hold(struct mapped_device *md);
379 void dm_put(struct mapped_device *md);
384 void dm_set_mdptr(struct mapped_device *md, void *ptr);
385 void *dm_get_mdptr(struct mapped_device *md);
390 int dm_suspend(struct mapped_device *md, unsigned suspend_flags);
391 int dm_resume(struct mapped_device *md);
396 uint32_t dm_get_event_nr(struct mapped_device *md);
397 int dm_wait_event(struct mapped_device *md, int event_nr);
398 uint32_t dm_next_uevent_seq(struct mapped_device *md);
399 void dm_uevent_add(struct mapped_device *md, struct list_head *elist);
404 const char *dm_device_name(struct mapped_device *md);
405 int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid);
406 struct gendisk *dm_disk(struct mapped_device *md);
412 struct queue_limits *dm_get_queue_limits(struct mapped_device *md);
417 int dm_get_geometry(struct mapped_device *md, struct hd_geometry *geo);
418 int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo);
428 unsigned num_targets, struct mapped_device *md);
454 struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx);
455 void dm_put_live_table(struct mapped_device *md, int srcu_idx);
456 void dm_sync_table(struct mapped_device *md);
464 struct mapped_device *dm_table_get_md(struct dm_table *t);
480 struct dm_table *dm_swap_table(struct mapped_device *md,