Searched refs:param_kernel (Results 1 – 1 of 1) sorted by relevance
1861 static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kernel, in copy_params() argument1870 if (copy_from_user((char *)param_kernel + sizeof(param_kernel->version), in copy_params()1871 (char __user *)user + sizeof(param_kernel->version), in copy_params()1872 minimum_data_size - sizeof(param_kernel->version))) in copy_params()1875 if (unlikely(param_kernel->data_size < minimum_data_size) || in copy_params()1876 unlikely(param_kernel->data_size > DM_MAX_TARGETS * DM_MAX_TARGET_PARAMS)) { in copy_params()1878 param_kernel->data_size); in copy_params()1882 secure_data = param_kernel->flags & DM_SECURE_DATA_FLAG; in copy_params()1887 dmi = param_kernel; in copy_params()1899 dmi = kvmalloc(param_kernel->data_size, GFP_KERNEL | __GFP_HIGH); in copy_params()[all …]