Home
last modified time | relevance | path

Searched refs:newfd (Results 1 – 1 of 1) sorted by relevance

/fs/
Dfile.c893 SYSCALL_DEFINE3(dup3, unsigned int, oldfd, unsigned int, newfd, int, flags) in SYSCALL_DEFINE3() argument
902 if (unlikely(oldfd == newfd)) in SYSCALL_DEFINE3()
905 if (newfd >= rlimit(RLIMIT_NOFILE)) in SYSCALL_DEFINE3()
909 err = expand_files(files, newfd); in SYSCALL_DEFINE3()
918 return do_dup2(files, file, newfd, flags); in SYSCALL_DEFINE3()
927 SYSCALL_DEFINE2(dup2, unsigned int, oldfd, unsigned int, newfd) in SYSCALL_DEFINE2() argument
929 if (unlikely(newfd == oldfd)) { /* corner case */ in SYSCALL_DEFINE2()
939 return sys_dup3(oldfd, newfd, 0); in SYSCALL_DEFINE2()