Searched refs:ufl (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | fcntl.c | 516 static int get_compat_flock(struct flock *kfl, const struct compat_flock __user *ufl) in get_compat_flock() argument 520 if (copy_from_user(&fl, ufl, sizeof(struct compat_flock))) in get_compat_flock() 526 static int get_compat_flock64(struct flock *kfl, const struct compat_flock64 __user *ufl) in get_compat_flock64() argument 530 if (copy_from_user(&fl, ufl, sizeof(struct compat_flock64))) in get_compat_flock64() 536 static int put_compat_flock(const struct flock *kfl, struct compat_flock __user *ufl) in put_compat_flock() argument 542 if (copy_to_user(ufl, &fl, sizeof(struct compat_flock))) in put_compat_flock() 547 static int put_compat_flock64(const struct flock *kfl, struct compat_flock64 __user *ufl) in put_compat_flock64() argument 551 BUILD_BUG_ON(sizeof(kfl->l_start) > sizeof(ufl->l_start)); in put_compat_flock64() 552 BUILD_BUG_ON(sizeof(kfl->l_len) > sizeof(ufl->l_len)); in put_compat_flock64() 556 if (copy_to_user(ufl, &fl, sizeof(struct compat_flock64))) in put_compat_flock64()
|