Home
last modified time | relevance | path

Searched refs:dm_ioctl (Results 1 – 2 of 2) sorted by relevance

/linux/include/uapi/linux/
H A Ddm-ioctl.h103 struct dm_ioctl { struct
267 #define DM_VERSION _IOWR(DM_IOCTL, DM_VERSION_CMD, struct dm_ioctl)
268 #define DM_REMOVE_ALL _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD, struct dm_ioctl)
269 #define DM_LIST_DEVICES _IOWR(DM_IOCTL, DM_LIST_DEVICES_CMD, struct dm_ioctl)
271 #define DM_DEV_CREATE _IOWR(DM_IOCTL, DM_DEV_CREATE_CMD, struct dm_ioctl)
272 #define DM_DEV_REMOVE _IOWR(DM_IOCTL, DM_DEV_REMOVE_CMD, struct dm_ioctl)
273 #define DM_DEV_RENAME _IOWR(DM_IOCTL, DM_DEV_RENAME_CMD, struct dm_ioctl)
274 #define DM_DEV_SUSPEND _IOWR(DM_IOCTL, DM_DEV_SUSPEND_CMD, struct dm_ioctl)
275 #define DM_DEV_STATUS _IOWR(DM_IOCTL, DM_DEV_STATUS_CMD, struct dm_ioctl)
276 #define DM_DEV_WAIT _IOWR(DM_IOCTL, DM_DEV_WAIT_CMD, struct dm_ioctl)
[all …]
/linux/drivers/md/
H A Ddm-ioctl.c515 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename()
624 typedef int (*ioctl_fn)(struct file *filp, struct dm_ioctl *param, size_t param_size);
626 static int remove_all(struct file *filp, struct dm_ioctl *param, size_t param_size) in remove_all()
652 * struct dm_ioctl.
654 static void *get_result_buffer(struct dm_ioctl *param, size_t param_size, in get_result_buffer()
697 static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_devices()
800 static int __list_versions(struct dm_ioctl *param, size_t param_size, const char *name) in __list_versions()
843 static int list_versions(struct file *filp, struct dm_ioctl *param, size_t param_size) in get_target_version()
848 static int get_target_version(struct file *filp, struct dm_ioctl *param, size_t param_size) in check_name()
899 struct dm_ioctl *para in dm_get_live_or_inactive_table()
[all...]