Searched refs:param_kernel (Results 1 – 1 of 1) sorted by relevance
1931 static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kernel, in copy_params() argument1939 if (copy_from_user((char *)param_kernel + sizeof(param_kernel->version), in copy_params()1940 (char __user *)user + sizeof(param_kernel->version), in copy_params()1941 minimum_data_size - sizeof(param_kernel->version))) in copy_params()1944 if (unlikely(param_kernel->data_size < minimum_data_size) || in copy_params()1945 unlikely(param_kernel->data_size > DM_MAX_TARGETS * DM_MAX_TARGET_PARAMS)) { in copy_params()1947 param_kernel->data_size); in copy_params()1951 secure_data = param_kernel->flags & DM_SECURE_DATA_FLAG; in copy_params()1956 dmi = param_kernel; in copy_params()1967 dmi = kvmalloc(param_kernel->data_size, GFP_NOIO | __GFP_HIGH); in copy_params()[all …]