Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
Ddm-ioctl.c1936 const size_t minimum_data_size = offsetof(struct dm_ioctl, data); in copy_params() local
1941 minimum_data_size - sizeof(param_kernel->version))) in copy_params()
1944 if (unlikely(param_kernel->data_size < minimum_data_size) || in copy_params()
1957 dmi->data_size = minimum_data_size; in copy_params()
1978 memcpy(dmi, param_kernel, minimum_data_size); in copy_params()
1980 if (copy_from_user(&dmi->data, (char __user *)user + minimum_data_size, in copy_params()
1981 param_kernel->data_size - minimum_data_size)) in copy_params()