Home
last modified time | relevance | path

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

/linux/drivers/md/
A Ddm-ioctl.c1849 if (copy_from_user(param_kernel, user, minimum_data_size)) in copy_params()
1852 if (param_kernel->data_size < minimum_data_size) in copy_params()
1855 secure_data = param_kernel->flags & DM_SECURE_DATA_FLAG; in copy_params()
1860 dmi = param_kernel; in copy_params()
1872 dmi = kvmalloc(param_kernel->data_size, GFP_KERNEL | __GFP_HIGH); in copy_params()
1876 if (secure_data && clear_user(user, param_kernel->data_size)) in copy_params()
1884 memcpy(dmi, param_kernel, minimum_data_size); in copy_params()
1887 param_kernel->data_size - minimum_data_size)) in copy_params()
1891 if (secure_data && clear_user(user, param_kernel->data_size)) in copy_params()
1898 free_params(dmi, param_kernel->data_size, *param_flags); in copy_params()
[all …]

Completed in 6 milliseconds