Searched refs:compat_flock (Results 1 – 2 of 2) sorted by relevance
524 static int get_compat_flock(struct flock *kfl, const struct compat_flock __user *ufl) in get_compat_flock()526 struct compat_flock fl; in get_compat_flock()528 if (copy_from_user(&fl, ufl, sizeof(struct compat_flock))) in get_compat_flock()544 static int put_compat_flock(const struct flock *kfl, struct compat_flock __user *ufl) in put_compat_flock()546 struct compat_flock fl; in put_compat_flock()548 memset(&fl, 0, sizeof(struct compat_flock)); in put_compat_flock()550 if (copy_to_user(ufl, &fl, sizeof(struct compat_flock))) in put_compat_flock()
266 struct compat_flock { struct