Searched refs:ufl (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/fs/ |
D | compat.c | 350 static int get_compat_flock(struct flock *kfl, struct compat_flock __user *ufl) in get_compat_flock() argument 352 if (!access_ok(VERIFY_READ, ufl, sizeof(*ufl)) || in get_compat_flock() 353 __get_user(kfl->l_type, &ufl->l_type) || in get_compat_flock() 354 __get_user(kfl->l_whence, &ufl->l_whence) || in get_compat_flock() 355 __get_user(kfl->l_start, &ufl->l_start) || in get_compat_flock() 356 __get_user(kfl->l_len, &ufl->l_len) || in get_compat_flock() 357 __get_user(kfl->l_pid, &ufl->l_pid)) in get_compat_flock() 362 static int put_compat_flock(struct flock *kfl, struct compat_flock __user *ufl) in put_compat_flock() argument 364 if (!access_ok(VERIFY_WRITE, ufl, sizeof(*ufl)) || in put_compat_flock() 365 __put_user(kfl->l_type, &ufl->l_type) || in put_compat_flock() [all …]
|