Searched refs:dm_ioctl (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/include/linux/ |
D | dm-ioctl.h | 102 struct dm_ioctl { struct 248 #define DM_VERSION _IOWR(DM_IOCTL, DM_VERSION_CMD, struct dm_ioctl) 249 #define DM_REMOVE_ALL _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD, struct dm_ioctl) 250 #define DM_LIST_DEVICES _IOWR(DM_IOCTL, DM_LIST_DEVICES_CMD, struct dm_ioctl) 252 #define DM_DEV_CREATE _IOWR(DM_IOCTL, DM_DEV_CREATE_CMD, struct dm_ioctl) 253 #define DM_DEV_REMOVE _IOWR(DM_IOCTL, DM_DEV_REMOVE_CMD, struct dm_ioctl) 254 #define DM_DEV_RENAME _IOWR(DM_IOCTL, DM_DEV_RENAME_CMD, struct dm_ioctl) 255 #define DM_DEV_SUSPEND _IOWR(DM_IOCTL, DM_DEV_SUSPEND_CMD, struct dm_ioctl) 256 #define DM_DEV_STATUS _IOWR(DM_IOCTL, DM_DEV_STATUS_CMD, struct dm_ioctl) 257 #define DM_DEV_WAIT _IOWR(DM_IOCTL, DM_DEV_WAIT_CMD, struct dm_ioctl) [all …]
|
/linux-2.6.39/drivers/md/ |
D | dm-ioctl.c | 333 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename() 426 typedef int (*ioctl_fn)(struct dm_ioctl *param, size_t param_size); 428 static int remove_all(struct dm_ioctl *param, size_t param_size) in remove_all() 448 static void *get_result_buffer(struct dm_ioctl *param, size_t param_size, in get_result_buffer() 461 static int list_devices(struct dm_ioctl *param, size_t param_size) in list_devices() 552 static int list_versions(struct dm_ioctl *param, size_t param_size) in list_versions() 628 struct dm_ioctl *param) in dm_get_live_or_inactive_table() 638 static void __dev_status(struct mapped_device *md, struct dm_ioctl *param) in __dev_status() 684 static int dev_create(struct dm_ioctl *param, size_t param_size) in dev_create() 719 static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param) in __find_device_hash_cell() [all …]
|