Searched refs:dupfd (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/winsys/nouveau/drm/ |
D | nouveau_drm_winsys.c | 68 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/ |
D | heap.py | 95 def rebuild_arena(size, dupfd): argument 96 return Arena(size, dupfd.detach())
|
/external/openssh/ |
D | misc.c | 791 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/ |
D | sys.txt | 29 fcntl$dupfd(fd fd, cmd flags[fcntl_dupfd], arg fd) fd
|
/external/syzkaller/sys/freebsd/ |
D | sys.txt | 35 fcntl$dupfd(fd fd, cmd flags[fcntl_dupfd], arg fd) fd
|
/external/syzkaller/sys/linux/ |
D | sys.txt | 223 fcntl$dupfd(fd fd, cmd flags[fcntl_dupfd], arg fd) fd
|