| /xsrc/external/mit/libdrm/dist/ |
| H A D | libsync.h | 51 int32_t fd2; member in struct:sync_merge_data 87 static inline int sync_merge(const char *name, int fd1, int fd2) argument 92 data.fd2 = fd2; 108 /* accumulate fd2 into fd1. If *fd1 is not a valid fd then dup fd2, 125 static inline int sync_accumulate(const char *name, int *fd1, int fd2) argument 129 assert(fd2 >= 0); 132 *fd1 = dup(fd2); 136 ret = sync_merge(name, *fd1, fd2); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | libsync.h | 79 int32_t fd2; 126 static inline int sync_merge(const char *name, int fd1, int fd2) 131 data.fd2 = fd2; 156 /* accumulate fd2 into fd1. If *fd1 is not a valid fd then dup fd2, 173 static inline int sync_accumulate(const char *name, int *fd1, int fd2) argument 177 assert(fd2 >= 0); 180 *fd1 = dup(fd2); 184 ret = sync_merge(name, *fd1, fd2); [all...] |
| H A D | os_file.h | 53 os_same_file_description(int fd1, int fd2);
|
| H A D | u_hash_table.c | 77 int fd2 = pointer_to_intptr(key2); local in function:equal_fd 81 fstat(fd2, &stat2);
|
| H A D | os_file.c | 203 os_same_file_description(int fd1, int fd2) argument 208 if (fd1 == fd2) 211 return syscall(SYS_kcmp, pid, pid, KCMP_FILE, fd1, fd2); 217 os_same_file_description(int fd1, int fd2) argument 220 if (fd1 == fd2)
|
| /xsrc/external/mit/libdrm/dist/tests/nouveau/ |
| H A D | threaded.c | 78 int err, fd, fd2; local in function:main 88 fd2 = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER); 94 fd2 = open(device, O_RDWR); 96 fd2 = fd = -errno; 104 if (fd2 < 0) { 122 err = nouveau_device_wrap(fd2, 0, &nvdev2); 144 close(fd2); 147 drmClose(fd2);
|
| /xsrc/external/mit/MesaLib/dist/src/android_stub/ |
| H A D | sync_stub.cpp | 15 int sync_merge(const char *name, int fd, int fd2) argument
|
| /xsrc/external/mit/luit/dist/ |
| H A D | sys.h | 35 int waitForInput(int fd1, int fd2);
|
| H A D | sys.c | 135 waitForInput(int fd1, int fd2) argument 144 pfd[1].fd = fd2; 164 FD_SET(fd2, &fds); 171 if (FD_ISSET(fd2, &fds))
|
| /xsrc/external/mit/MesaLib/dist/include/android_stub/ndk/ |
| H A D | sync.h | 67 int32_t sync_merge(const char* name, int32_t fd1, int32_t fd2) __INTRODUCED_IN(26);
|
| /xsrc/external/mit/MesaLib/dist/include/drm-uapi/ |
| H A D | sync_file.h | 39 * @fd2: file descriptor of second fence 46 __s32 fd2; member in struct:sync_merge_data 101 * the sync_pts in both the calling fd and sync_merge_data.fd2. Returns the
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/etnaviv/drm/ |
| H A D | etnaviv_drm_winsys.c | 57 int fd2 = pointer_to_intptr(key2); local in function:equal_file_description 62 if (fd1 == fd2) 65 ret = os_same_file_description(fd1, fd2); 83 fstat(fd2, &stat2);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/freedreno/drm/ |
| H A D | freedreno_drm_winsys.c | 77 int fd2 = pointer_to_intptr(key2); local in function:compare_fd 80 fstat(fd2, &stat2);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/lima/drm/ |
| H A D | lima_drm_winsys.c | 73 int fd2 = pointer_to_intptr(key2); local in function:compare_fd 77 fstat(fd2, &stat2);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/etnaviv/drm/ |
| H A D | etnaviv_drm_winsys.c | 107 int fd2 = pointer_to_intptr(key2); local in function:compare_fd 111 fstat(fd2, &stat2);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/nouveau/drm/ |
| H A D | nouveau_drm_winsys.c | 51 int fd2 = pointer_to_intptr(key2); local in function:compare_fd 54 fstat(fd2, &stat2);
|
| /xsrc/external/mit/imake/dist/ |
| H A D | imakemdep.h | 218 # define dup2(fd1,fd2) ((fd1 == fd2) ? fd1 : (close(fd2), \ 219 fcntl(fd1, F_DUPFD, fd2)))
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | anv_gem.c | 447 __s32 fd2; member in struct:sync_merge_data 458 anv_gem_sync_file_merge(struct anv_device *device, int fd1, int fd2) argument 462 .fd2 = fd2,
|
| H A D | anv_gem_stubs.c | 193 anv_gem_sync_file_merge(struct anv_device *device, int fd1, int fd2) argument
|
| /xsrc/external/mit/libdrm/dist/amdgpu/ |
| H A D | amdgpu_device.c | 49 static int fd_compare(int fd1, int fd2) argument 52 char *name2 = drmGetPrimaryDeviceNameFromFd(fd2);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| H A D | iris_fence.c | 261 __s32 fd2; member in struct:sync_merge_data 282 .fd2 = new_fd,
|
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| H A D | anv_gem_stubs.c | 202 anv_gem_sync_file_merge(struct anv_device *device, int fd1, int fd2) argument
|
| H A D | anv_gem.c | 592 anv_gem_sync_file_merge(struct anv_device *device, int fd1, int fd2) argument 596 .fd2 = fd2,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| H A D | crocus_fence.c | 390 __s32 fd2; member in struct:sync_merge_data 411 .fd2 = new_fd,
|
| /xsrc/external/mit/freetype/dist/src/cff/ |
| H A D | cffload.c | 786 FT_Byte fd2; local in function:cff_fd_select_get 796 fd2 = *p++; 801 fd = fd2; 806 fdselect->cache_fd = fd2;
|