Searched refs:newfd (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/build/test/syzkaller/qos_auth/ |
D | hmdfs_fill_super.txt | 10 newfd int32 19 newfd int32
|
/kernel/linux/linux-5.10/fs/ |
D | file.c | 1181 static int ksys_dup3(unsigned int oldfd, unsigned int newfd, int flags) in ksys_dup3() argument 1190 if (unlikely(oldfd == newfd)) in ksys_dup3() 1193 if (newfd >= rlimit(RLIMIT_NOFILE)) in ksys_dup3() 1197 err = expand_files(files, newfd); in ksys_dup3() 1206 return do_dup2(files, file, newfd, flags); in ksys_dup3() 1215 SYSCALL_DEFINE3(dup3, unsigned int, oldfd, unsigned int, newfd, int, flags) in SYSCALL_DEFINE3() argument 1217 return ksys_dup3(oldfd, newfd, flags); in SYSCALL_DEFINE3() 1220 SYSCALL_DEFINE2(dup2, unsigned int, oldfd, unsigned int, newfd) in SYSCALL_DEFINE2() argument 1222 if (unlikely(newfd == oldfd)) { /* corner case */ in SYSCALL_DEFINE2() 1232 return ksys_dup3(oldfd, newfd, 0); in SYSCALL_DEFINE2()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | seccomp.h | 131 __u32 newfd; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | seccomp.h | 76 __u32 newfd; member
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
D | device_node.h | 23 int32_t newfd; member
|
D | device_node.c | 55 conn = hmdfs_get_conn_tcp(node, cmd.newfd, cmd.masterkey, cmd.status); in ctrl_cmd_update_socket_handler()
|
/kernel/linux/linux-5.10/net/ |
D | socket.c | 1756 int newfd; in __sys_accept4_file() local 1764 newfd = __get_unused_fd_flags(flags, nofile); in __sys_accept4_file() 1765 if (unlikely(newfd < 0)) in __sys_accept4_file() 1766 return newfd; in __sys_accept4_file() 1771 put_unused_fd(newfd); in __sys_accept4_file() 1774 fd_install(newfd, newfile); in __sys_accept4_file() 1775 return newfd; in __sys_accept4_file()
|
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 233 __u32 newfd; member 3996 addfd.newfd = 0; in TEST() 4013 addfd.newfd = 1; in TEST() 4016 addfd.newfd = 0; in TEST() 4045 addfd.newfd = 42; in TEST() 4124 addfd.newfd = 0; in TEST() 4132 addfd.newfd = 100; in TEST()
|
/kernel/liteos_a/syscall/ |
D | los_syscall.h | 220 extern int do_rename(int oldfd, const char *oldpath, int newfd, const char *newpath);
|
/kernel/linux/linux-5.10/kernel/ |
D | seccomp.c | 1346 if (addfd.newfd && !(addfd.flags & SECCOMP_ADDFD_FLAG_SETFD)) in seccomp_notify_addfd() 1355 addfd.newfd : -1; in seccomp_notify_addfd()
|
/kernel/linux/linux-5.10/include/linux/ |
D | syscalls.h | 392 asmlinkage long sys_dup3(unsigned int oldfd, unsigned int newfd, int flags); 1092 asmlinkage long sys_dup2(unsigned int oldfd, unsigned int newfd);
|
/kernel/linux/linux-5.10/Documentation/trace/ |
D | ftrace.rst | 3467 bash-1998 [000] d... 140.733504: sys_dup2(oldfd: a, newfd: 1)
|