Lines Matching refs:SYS_fcntl
17 if (cmd == F_SETLKW) return syscall_cp(SYS_fcntl, fd, cmd, (void *)arg);
20 int ret = __syscall(SYS_fcntl, fd, F_GETOWN_EX, &ex);
21 if (ret == -EINVAL) return __syscall(SYS_fcntl, fd, cmd, (void *)arg);
26 int ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, arg);
29 __syscall(SYS_fcntl, ret, F_SETFD, FD_CLOEXEC);
32 ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, 0);
37 ret = __syscall(SYS_fcntl, fd, F_DUPFD, arg);
38 if (ret >= 0) __syscall(SYS_fcntl, ret, F_SETFD, FD_CLOEXEC);
46 return syscall(SYS_fcntl, fd, cmd, (void *)arg);
48 return syscall(SYS_fcntl, fd, cmd, arg);