Searched refs:buffd (Results 1 – 6 of 6) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/android/ion/ |
D | ionutils.c | 126 ion_info->buffd = buffer_fd; in ion_export_buffer_fd() 152 int buffd; in ion_import_buffer_fd() local 162 buffd = ion_info->buffd; in ion_import_buffer_fd() 164 if (buffd < 0 || map_len <= 0) { in ion_import_buffer_fd() 166 __func__, buffd, map_len); in ion_import_buffer_fd() 171 MAP_SHARED, buffd, 0); in ion_import_buffer_fd() 184 if (buffd) in ion_import_buffer_fd() 185 close(buffd); in ion_import_buffer_fd() 197 if (ion_info->buffd > 0) in ion_close_buffer_fd() 198 close(ion_info->buffd); in ion_close_buffer_fd()
|
D | ipcsocket.c | 107 int ret, buffd; in sendtosocket() local 135 buffd = skdata->data; in sendtosocket() 148 memcpy(CMSG_DATA(cmsg), &buffd, len); in sendtosocket() 163 int ret, buffd; in receivefromsocket() local 189 len = sizeof(buffd); in receivefromsocket() 209 memcpy(&buffd, CMSG_DATA(cmsg), len); in receivefromsocket() 210 skdata->data = buffd; in receivefromsocket()
|
D | ionmap_test.c | 108 ret = import_vgem_fd(vgem_fd, info.buffd, &handle); in main() 116 ret = ioctl(info.buffd, DMA_BUF_IOCTL_SYNC, &sync); in main() 123 ret = ioctl(info.buffd, DMA_BUF_IOCTL_SYNC, &sync); in main()
|
D | ionutils.h | 20 int buffd; member
|
D | ionapp_import.c | 54 info.buffd = shared_fd; in main()
|
D | ionapp_export.c | 103 shared_fd = info.buffd; in main()
|