Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
Ddm-ioctl.h103 struct dm_ioctl { struct
250 #define DM_VERSION _IOWR(DM_IOCTL, DM_VERSION_CMD, struct dm_ioctl)
251 #define DM_REMOVE_ALL _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD, struct dm_ioctl)
252 #define DM_LIST_DEVICES _IOWR(DM_IOCTL, DM_LIST_DEVICES_CMD, struct dm_ioctl)
254 #define DM_DEV_CREATE _IOWR(DM_IOCTL, DM_DEV_CREATE_CMD, struct dm_ioctl)
255 #define DM_DEV_REMOVE _IOWR(DM_IOCTL, DM_DEV_REMOVE_CMD, struct dm_ioctl)
256 #define DM_DEV_RENAME _IOWR(DM_IOCTL, DM_DEV_RENAME_CMD, struct dm_ioctl)
257 #define DM_DEV_SUSPEND _IOWR(DM_IOCTL, DM_DEV_SUSPEND_CMD, struct dm_ioctl)
258 #define DM_DEV_STATUS _IOWR(DM_IOCTL, DM_DEV_STATUS_CMD, struct dm_ioctl)
259 #define DM_DEV_WAIT _IOWR(DM_IOCTL, DM_DEV_WAIT_CMD, struct dm_ioctl)
[all …]
/Linux-v4.19/drivers/md/
Ddm-ioctl.c369 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename()
467 typedef int (*ioctl_fn)(struct file *filp, struct dm_ioctl *param, size_t param_size);
469 static int remove_all(struct file *filp, struct dm_ioctl *param, size_t param_size) in remove_all()
493 static void *get_result_buffer(struct dm_ioctl *param, size_t param_size, in get_result_buffer()
506 static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_devices()
604 static int list_versions(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_versions()
681 struct dm_ioctl *param, in dm_get_live_or_inactive_table()
692 static void __dev_status(struct mapped_device *md, struct dm_ioctl *param) in __dev_status()
746 static int dev_create(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_create()
781 static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param) in __find_device_hash_cell()
[all …]