Searched refs:ufl (Results 1 – 1 of 1) sorted by relevance
/fs/ |
D | compat.c | 381 static int get_compat_flock(struct flock *kfl, struct compat_flock __user *ufl) in get_compat_flock() argument 383 if (!access_ok(VERIFY_READ, ufl, sizeof(*ufl)) || in get_compat_flock() 384 __get_user(kfl->l_type, &ufl->l_type) || in get_compat_flock() 385 __get_user(kfl->l_whence, &ufl->l_whence) || in get_compat_flock() 386 __get_user(kfl->l_start, &ufl->l_start) || in get_compat_flock() 387 __get_user(kfl->l_len, &ufl->l_len) || in get_compat_flock() 388 __get_user(kfl->l_pid, &ufl->l_pid)) in get_compat_flock() 393 static int put_compat_flock(struct flock *kfl, struct compat_flock __user *ufl) in put_compat_flock() argument 395 if (!access_ok(VERIFY_WRITE, ufl, sizeof(*ufl)) || in put_compat_flock() 396 __put_user(kfl->l_type, &ufl->l_type) || in put_compat_flock() [all …]
|