Searched refs:oldfd (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/ |
| H A 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() 1198 file = fcheck(oldfd); 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() 1224 int retval = oldfd; in SYSCALL_DEFINE2() 1227 if (!fcheck_files(files, oldfd)) in SYSCALL_DEFINE2() 1232 return ksys_dup3(oldfd, newfd, 0); in SYSCALL_DEFINE2()
|
| /OK3568_Linux_fs/kernel/fs/hostfs/ |
| H A D | hostfs_user.c | 169 int replace_file(int oldfd, int fd) in replace_file() argument 171 return dup2(oldfd, fd); in replace_file()
|
| H A D | hostfs.h | 79 extern int replace_file(int oldfd, int fd);
|
| /OK3568_Linux_fs/kernel/fs/fuse/ |
| H A D | dev.c | 2283 int oldfd; in fuse_dev_ioctl() local 2289 if (!get_user(oldfd, (__u32 __user *)arg)) { in fuse_dev_ioctl() 2290 struct file *old = fget(oldfd); in fuse_dev_ioctl() 2314 if (!get_user(oldfd, (__u32 __user *)arg)) { in fuse_dev_ioctl() 2318 res = fuse_passthrough_open(fud, oldfd); in fuse_dev_ioctl()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | syscalls.h | 392 asmlinkage long sys_dup3(unsigned int oldfd, unsigned int newfd, int flags); 1093 asmlinkage long sys_dup2(unsigned int oldfd, unsigned int newfd);
|
| /OK3568_Linux_fs/kernel/Documentation/trace/ |
| H A D | ftrace.rst | 3470 bash-1998 [000] d... 140.733504: sys_dup2(oldfd: a, newfd: 1)
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/info/ |
| H A D | libc.info-6 | 6766 -- Function: int linkat (int oldfd, const char *OLDNAME, int newfd,
|
| H A D | libc.info-13 | 14795 ‘int linkat (int oldfd, const char *OLDNAME, int newfd, const char *NEWNAME, int flags)’
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/ |
| H A D | libc.info-6 | 6766 -- Function: int linkat (int oldfd, const char *OLDNAME, int newfd,
|
| H A D | libc.info-13 | 14795 ‘int linkat (int oldfd, const char *OLDNAME, int newfd, const char *NEWNAME, int flags)’
|