Lines Matching refs:dm_ioctl
409 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename()
510 typedef int (*ioctl_fn)(struct file *filp, struct dm_ioctl *param, size_t param_size);
512 static int remove_all(struct file *filp, struct dm_ioctl *param, size_t param_size) in remove_all()
536 static void *get_result_buffer(struct dm_ioctl *param, size_t param_size, in get_result_buffer()
573 static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_devices()
687 static int __list_versions(struct dm_ioctl *param, size_t param_size, const char *name) in __list_versions()
740 static int list_versions(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_versions()
745 static int get_target_version(struct file *filp, struct dm_ioctl *param, size_t param_size) in get_target_version()
789 struct dm_ioctl *param, in dm_get_live_or_inactive_table()
800 static void __dev_status(struct mapped_device *md, struct dm_ioctl *param) in __dev_status()
854 static int dev_create(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_create()
889 static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param) in __find_device_hash_cell()
938 static struct mapped_device *find_device(struct dm_ioctl *param) in find_device()
952 static int dev_remove(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_remove()
1019 static int dev_rename(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_rename()
1049 static int dev_set_geometry(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_set_geometry()
1096 static int do_suspend(struct dm_ioctl *param) in do_suspend()
1125 static int do_resume(struct dm_ioctl *param) in do_resume()
1202 static int dev_suspend(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_suspend()
1214 static int dev_status(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_status()
1232 struct dm_ioctl *param, size_t param_size) in retrieve_status()
1307 static int dev_wait(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_wait()
1348 static int dev_arm_poll(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_arm_poll()
1357 static inline fmode_t get_mode(struct dm_ioctl *param) in get_mode()
1380 struct dm_ioctl *param, size_t param_size) in populate_table()
1426 static int table_load(struct file *filp, struct dm_ioctl *param, size_t param_size) in table_load()
1513 static int table_clear(struct file *filp, struct dm_ioctl *param, size_t param_size) in table_clear()
1554 struct dm_ioctl *param, size_t param_size) in retrieve_deps()
1590 static int table_deps(struct file *filp, struct dm_ioctl *param, size_t param_size) in table_deps()
1616 static int table_status(struct file *filp, struct dm_ioctl *param, size_t param_size) in table_status()
1671 static int target_message(struct file *filp, struct dm_ioctl *param, size_t param_size) in target_message()
1807 static int check_version(unsigned int cmd, struct dm_ioctl __user *user) in check_version()
1840 static void free_params(struct dm_ioctl *param, size_t param_size, int param_flags) in free_params()
1849 static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kernel, in copy_params()
1850 int ioctl_flags, struct dm_ioctl **param, int *param_flags) in copy_params()
1852 struct dm_ioctl *dmi; in copy_params()
1854 const size_t minimum_data_size = offsetof(struct dm_ioctl, data); in copy_params()
1914 static int validate_params(uint cmd, struct dm_ioctl *param) in validate_params()
1945 static int ctl_ioctl(struct file *file, uint command, struct dm_ioctl __user *user) in ctl_ioctl()
1951 struct dm_ioctl *param; in ctl_ioctl()
1954 struct dm_ioctl param_kernel; in ctl_ioctl()
1998 param->data_size = offsetof(struct dm_ioctl, data); in ctl_ioctl()
2021 return (long)ctl_ioctl(file, command, (struct dm_ioctl __user *)u); in dm_ctl_ioctl()
2165 int __init dm_early_create(struct dm_ioctl *dmi, in dm_early_create()