Searched refs:dupfd (Results 1 – 3 of 3) sorted by relevance
48 int ret, dupfd; in nouveau_drm_screen_create() local75 dupfd = os_dupfd_cloexec(fd); in nouveau_drm_screen_create()77 ret = nouveau_drm_new(dupfd, &drm); in nouveau_drm_screen_create()126 _mesa_hash_table_insert(fd_tab, intptr_to_pointer(dupfd), screen); in nouveau_drm_screen_create()137 close(dupfd); in nouveau_drm_screen_create()
112 int dupfd = fcntl(fd, F_DUPFD, 0); in Bm_function_Fcntl_dupfd() local113 if (dupfd < 0) { in Bm_function_Fcntl_dupfd()117 benchmark::DoNotOptimize(dupfd); in Bm_function_Fcntl_dupfd()119 close(dupfd); in Bm_function_Fcntl_dupfd()
106 def rebuild_arena(size, dupfd): argument107 return Arena(size, dupfd.detach())