Lines Matching refs:fl

6850 static inline abi_long copy_from_user_flock(struct flock64 *fl,  in copy_from_user_flock()  argument
6865 fl->l_type = l_type; in copy_from_user_flock()
6866 __get_user(fl->l_whence, &target_fl->l_whence); in copy_from_user_flock()
6867 __get_user(fl->l_start, &target_fl->l_start); in copy_from_user_flock()
6868 __get_user(fl->l_len, &target_fl->l_len); in copy_from_user_flock()
6869 __get_user(fl->l_pid, &target_fl->l_pid); in copy_from_user_flock()
6875 const struct flock64 *fl) in copy_to_user_flock() argument
6884 l_type = host_to_target_flock(fl->l_type); in copy_to_user_flock()
6886 __put_user(fl->l_whence, &target_fl->l_whence); in copy_to_user_flock()
6887 __put_user(fl->l_start, &target_fl->l_start); in copy_to_user_flock()
6888 __put_user(fl->l_len, &target_fl->l_len); in copy_to_user_flock()
6889 __put_user(fl->l_pid, &target_fl->l_pid); in copy_to_user_flock()
6894 typedef abi_long from_flock64_fn(struct flock64 *fl, abi_ulong target_addr);
6895 typedef abi_long to_flock64_fn(abi_ulong target_addr, const struct flock64 *fl);
6906 static inline abi_long copy_from_user_oabi_flock64(struct flock64 *fl, in copy_from_user_oabi_flock64() argument
6921 fl->l_type = l_type; in copy_from_user_oabi_flock64()
6922 __get_user(fl->l_whence, &target_fl->l_whence); in copy_from_user_oabi_flock64()
6923 __get_user(fl->l_start, &target_fl->l_start); in copy_from_user_oabi_flock64()
6924 __get_user(fl->l_len, &target_fl->l_len); in copy_from_user_oabi_flock64()
6925 __get_user(fl->l_pid, &target_fl->l_pid); in copy_from_user_oabi_flock64()
6931 const struct flock64 *fl) in copy_to_user_oabi_flock64() argument
6940 l_type = host_to_target_flock(fl->l_type); in copy_to_user_oabi_flock64()
6942 __put_user(fl->l_whence, &target_fl->l_whence); in copy_to_user_oabi_flock64()
6943 __put_user(fl->l_start, &target_fl->l_start); in copy_to_user_oabi_flock64()
6944 __put_user(fl->l_len, &target_fl->l_len); in copy_to_user_oabi_flock64()
6945 __put_user(fl->l_pid, &target_fl->l_pid); in copy_to_user_oabi_flock64()
6951 static inline abi_long copy_from_user_flock64(struct flock64 *fl, in copy_from_user_flock64() argument
6966 fl->l_type = l_type; in copy_from_user_flock64()
6967 __get_user(fl->l_whence, &target_fl->l_whence); in copy_from_user_flock64()
6968 __get_user(fl->l_start, &target_fl->l_start); in copy_from_user_flock64()
6969 __get_user(fl->l_len, &target_fl->l_len); in copy_from_user_flock64()
6970 __get_user(fl->l_pid, &target_fl->l_pid); in copy_from_user_flock64()
6976 const struct flock64 *fl) in copy_to_user_flock64() argument
6985 l_type = host_to_target_flock(fl->l_type); in copy_to_user_flock64()
6987 __put_user(fl->l_whence, &target_fl->l_whence); in copy_to_user_flock64()
6988 __put_user(fl->l_start, &target_fl->l_start); in copy_to_user_flock64()
6989 __put_user(fl->l_len, &target_fl->l_len); in copy_to_user_flock64()
6990 __put_user(fl->l_pid, &target_fl->l_pid); in copy_to_user_flock64()
12399 struct flock64 fl; in _syscall2() local
12417 ret = copyfrom(&fl, arg3); in _syscall2()
12421 ret = get_errno(safe_fcntl(arg1, cmd, &fl)); in _syscall2()
12423 ret = copyto(arg3, &fl); in _syscall2()
12429 ret = copyfrom(&fl, arg3); in _syscall2()
12433 ret = get_errno(safe_fcntl(arg1, cmd, &fl)); in _syscall2()