Searched refs:dupfd (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/nouveau/drm/ |
| H A D | nouveau_drm_winsys.c | 68 int ret, dupfd; local in function:nouveau_drm_screen_create 95 dupfd = fcntl(fd, F_DUPFD_CLOEXEC, 3); 97 ret = nouveau_drm_new(dupfd, &drm); 140 /* Use dupfd in hash table, to avoid errors if the original fd gets 144 util_hash_table_set(fd_tab, intptr_to_pointer(dupfd), screen); 155 close(dupfd);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/nouveau/drm/ |
| H A D | nouveau_drm_winsys.c | 48 int ret, dupfd; local in function:nouveau_drm_screen_create 75 dupfd = os_dupfd_cloexec(fd); 77 ret = nouveau_drm_new(dupfd, &drm); 122 /* Use dupfd in hash table, to avoid errors if the original fd gets 126 _mesa_hash_table_insert(fd_tab, intptr_to_pointer(dupfd), screen); 137 close(dupfd);
|
Completed in 2 milliseconds