Home
last modified time | relevance | path

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

/linux-5.19.10/include/uapi/linux/
Dauto_dev-ioctl.h22 #define AUTOFS_DEV_IOCTL_SIZE sizeof(struct autofs_dev_ioctl) macro
117 memset(in, 0, AUTOFS_DEV_IOCTL_SIZE); in init_autofs_dev_ioctl()
120 in->size = AUTOFS_DEV_IOCTL_SIZE; in init_autofs_dev_ioctl()
/linux-5.19.10/fs/autofs/
Ddev-ioctl.c86 if (copy_from_user(&tmp, in, AUTOFS_DEV_IOCTL_SIZE)) in copy_dev_ioctl()
89 if (tmp.size < AUTOFS_DEV_IOCTL_SIZE) in copy_dev_ioctl()
92 if (tmp.size > AUTOFS_DEV_IOCTL_SIZE + PATH_MAX) in copy_dev_ioctl()
122 if (param->size > AUTOFS_DEV_IOCTL_SIZE) { in validate_dev_ioctl()
123 err = invalid_str(param->path, param->size - AUTOFS_DEV_IOCTL_SIZE); in validate_dev_ioctl()
681 if (err >= 0 && copy_to_user(user, param, AUTOFS_DEV_IOCTL_SIZE)) in _autofs_dev_ioctl()