Home
last modified time | relevance | path

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

/fs/
Dfcntl.c522 static int get_compat_flock(struct flock *kfl, const struct compat_flock __user *ufl) in get_compat_flock() argument
526 if (copy_from_user(&fl, ufl, sizeof(struct compat_flock))) in get_compat_flock()
532 static int get_compat_flock64(struct flock *kfl, const struct compat_flock64 __user *ufl) in get_compat_flock64() argument
536 if (copy_from_user(&fl, ufl, sizeof(struct compat_flock64))) in get_compat_flock64()
542 static int put_compat_flock(const struct flock *kfl, struct compat_flock __user *ufl) in put_compat_flock() argument
548 if (copy_to_user(ufl, &fl, sizeof(struct compat_flock))) in put_compat_flock()
553 static int put_compat_flock64(const struct flock *kfl, struct compat_flock64 __user *ufl) in put_compat_flock64() argument
557 BUILD_BUG_ON(sizeof(kfl->l_start) > sizeof(ufl->l_start)); in put_compat_flock64()
558 BUILD_BUG_ON(sizeof(kfl->l_len) > sizeof(ufl->l_len)); in put_compat_flock64()
562 if (copy_to_user(ufl, &fl, sizeof(struct compat_flock64))) in put_compat_flock64()