Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/nouveau/drm/
Dnouveau_drm_winsys.c68 int ret, dupfd; in nouveau_drm_screen_create() local
95 dupfd = fcntl(fd, F_DUPFD_CLOEXEC, 3); in nouveau_drm_screen_create()
97 ret = nouveau_drm_new(dupfd, &drm); in nouveau_drm_screen_create()
144 util_hash_table_set(fd_tab, intptr_to_pointer(dupfd), screen); in nouveau_drm_screen_create()
155 close(dupfd); in nouveau_drm_screen_create()
/external/python/cpython3/Lib/multiprocessing/
Dheap.py95 def rebuild_arena(size, dupfd): argument
96 return Arena(size, dupfd.detach())
/external/openssh/
Dmisc.c791 int nullfd, dupfd; in sanitise_stdfd() local
793 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in sanitise_stdfd()
798 while (++dupfd <= STDERR_FILENO) { in sanitise_stdfd()
800 if (fcntl(dupfd, F_GETFL) == -1 && errno == EBADF) { in sanitise_stdfd()
801 if (dup2(nullfd, dupfd) == -1) { in sanitise_stdfd()
/external/syzkaller/sys/netbsd/
Dsys.txt29 fcntl$dupfd(fd fd, cmd flags[fcntl_dupfd], arg fd) fd
/external/syzkaller/sys/freebsd/
Dsys.txt35 fcntl$dupfd(fd fd, cmd flags[fcntl_dupfd], arg fd) fd
/external/syzkaller/sys/linux/
Dsys.txt223 fcntl$dupfd(fd fd, cmd flags[fcntl_dupfd], arg fd) fd