Home
last modified time | relevance | path

Searched refs:shared_fd (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionapp_import.c32 int sockfd, shared_fd; in main() local
54 shared_fd = skinfo.datafd; in main()
55 printf("Received buffer fd: %d\n", shared_fd); in main()
56 if (shared_fd <= 0) { in main()
63 info.buffd = shared_fd; in main()
Dionapp_export.c41 int sockfd, client_fd, shared_fd; in main() local
112 shared_fd = info.buffd; in main()
118 printf("Sharing fd: %d, Client fd: %d\n", shared_fd, client_fd); in main()
119 skinfo.datafd = shared_fd; in main()
/external/libdrm/amdgpu/
Damdgpu_cs.c663 int *shared_fd) in amdgpu_cs_export_syncobj() argument
668 return drmSyncobjHandleToFD(dev->fd, handle, shared_fd); in amdgpu_cs_export_syncobj()
672 int shared_fd, in amdgpu_cs_import_syncobj() argument
678 return drmSyncobjFDToHandle(dev->fd, shared_fd, handle); in amdgpu_cs_import_syncobj()
Damdgpu.h1467 int *shared_fd);
1480 int shared_fd,