Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Dfcntl.c524 static int get_compat_flock(struct flock *kfl, const struct compat_flock __user *ufl) in get_compat_flock() argument
528 if (copy_from_user(&fl, ufl, sizeof(struct compat_flock))) in get_compat_flock()
534 static int get_compat_flock64(struct flock *kfl, const struct compat_flock64 __user *ufl) in get_compat_flock64() argument
538 if (copy_from_user(&fl, ufl, sizeof(struct compat_flock64))) in get_compat_flock64()
544 static int put_compat_flock(const struct flock *kfl, struct compat_flock __user *ufl) in put_compat_flock() argument
550 if (copy_to_user(ufl, &fl, sizeof(struct compat_flock))) in put_compat_flock()
555 static int put_compat_flock64(const struct flock *kfl, struct compat_flock64 __user *ufl) in put_compat_flock64() argument
559 BUILD_BUG_ON(sizeof(kfl->l_start) > sizeof(ufl->l_start)); in put_compat_flock64()
560 BUILD_BUG_ON(sizeof(kfl->l_len) > sizeof(ufl->l_len)); in put_compat_flock64()
564 if (copy_to_user(ufl, &fl, sizeof(struct compat_flock64))) in put_compat_flock64()