Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A 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()
/openbmc/linux/fs/autofs/
H A 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()