Searched refs:buffer_fd (Results 1 – 5 of 5) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/android/ion/ |
D | ionutils.c | 48 int i, ret, ionfd, buffer_fd; in ion_export_buffer_fd() local 107 buffer_fd = alloc_data.fd; in ion_export_buffer_fd() 110 if (buffer_fd < 0 || maplen <= 0) { in ion_export_buffer_fd() 112 __func__, buffer_fd, maplen); in ion_export_buffer_fd() 118 MAP_SHARED, buffer_fd, 0); in ion_export_buffer_fd() 126 ion_info->buffd = buffer_fd; in ion_export_buffer_fd() 137 if (buffer_fd) in ion_export_buffer_fd() 138 close(buffer_fd); in ion_export_buffer_fd()
|
/external/iperf3/src/ |
D | iperf.h | 184 int buffer_fd; /* data to send, file descriptor */ member
|
D | iperf_tcp.c | 89 r = Nsendfile(sp->buffer_fd, sp->socket, sp->buffer, sp->settings->blksize); in iperf_tcp_send()
|
D | iperf_api.c | 3810 close(sp->buffer_fd); in iperf_free_stream() 3870 sp->buffer_fd = mkstemp(template); in iperf_new_stream() 3871 if (sp->buffer_fd == -1) { in iperf_new_stream() 3883 if (ftruncate(sp->buffer_fd, test->settings->blksize) < 0) { in iperf_new_stream() 3889 … (char *) mmap(NULL, test->settings->blksize, PROT_READ|PROT_WRITE, MAP_PRIVATE, sp->buffer_fd, 0); in iperf_new_stream() 3926 close(sp->buffer_fd); in iperf_new_stream()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_winsys_dri3.c | 221 int buffer_fd, fence_fd; in dri3_alloc_back_buffer() local 275 buffer_fd = whandle.handle; in dri3_alloc_back_buffer() 286 buffer_fd); in dri3_alloc_back_buffer()
|