Home
last modified time | relevance | path

Searched refs:param_kernel (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/md/
Ddm-ioctl.c1931 static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kernel, in copy_params() argument
1939 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 …]