Searched refs:dm_ioctl (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/include/uapi/linux/ |
| D | dm-ioctl.h | 103 struct dm_ioctl { struct 251 #define DM_VERSION _IOWR(DM_IOCTL, DM_VERSION_CMD, struct dm_ioctl) 252 #define DM_REMOVE_ALL _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD, struct dm_ioctl) 253 #define DM_LIST_DEVICES _IOWR(DM_IOCTL, DM_LIST_DEVICES_CMD, struct dm_ioctl) 255 #define DM_DEV_CREATE _IOWR(DM_IOCTL, DM_DEV_CREATE_CMD, struct dm_ioctl) 256 #define DM_DEV_REMOVE _IOWR(DM_IOCTL, DM_DEV_REMOVE_CMD, struct dm_ioctl) 257 #define DM_DEV_RENAME _IOWR(DM_IOCTL, DM_DEV_RENAME_CMD, struct dm_ioctl) 258 #define DM_DEV_SUSPEND _IOWR(DM_IOCTL, DM_DEV_SUSPEND_CMD, struct dm_ioctl) 259 #define DM_DEV_STATUS _IOWR(DM_IOCTL, DM_DEV_STATUS_CMD, struct dm_ioctl) 260 #define DM_DEV_WAIT _IOWR(DM_IOCTL, DM_DEV_WAIT_CMD, struct dm_ioctl) [all …]
|
| /Linux-v5.4/drivers/md/ |
| D | dm-ioctl.c | 369 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 dm_ioctl *param, size_t param_size, const char *name) in __list_versions() 657 static int list_versions(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_versions() 662 static int get_target_version(struct file *filp, struct dm_ioctl *param, size_t param_size) in get_target_version() 706 struct dm_ioctl *param, in dm_get_live_or_inactive_table() 717 static void __dev_status(struct mapped_device *md, struct dm_ioctl *param) in __dev_status() [all …]
|
| D | dm-init.c | 33 struct dm_ioctl dmi;
|
| /Linux-v5.4/include/linux/ |
| D | device-mapper.h | 433 int __init dm_early_create(struct dm_ioctl *dmi,
|