Searched refs:mmap_buffer (Results 1 – 2 of 2) sorted by relevance
/external/tinyalsa/ |
D | pcm.c | 257 void *mmap_buffer; member 412 (char*)pcm->mmap_buffer + pcm_offset_bytes, in pcm_areas_copy() 415 memcpy((char*)pcm->mmap_buffer + pcm_offset_bytes, in pcm_areas_copy() 826 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_close() 913 pcm->mmap_buffer = mmap(NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size), in pcm_open() 915 if (pcm->mmap_buffer == MAP_FAILED) { in pcm_open() 990 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open() 1088 *areas = pcm->mmap_buffer; in pcm_mmap_begin()
|
/external/netperf/ |
D | netlib.c | 1392 char *mmap_buffer, *mmap_buffer_aligned; in allocate_exs_buffer_ring() local 1420 mmap_buffer = (char *) mmap ((caddr_t)NULL, mmap_size+NBPG-1, in allocate_exs_buffer_ring() 1423 if (mmap_buffer == NULL) { in allocate_exs_buffer_ring() 1427 mmap_buffer_aligned = (char *) ((uintptr_t)mmap_buffer & ~(NBPG-1)); in allocate_exs_buffer_ring() 1431 mmap_size, mmap_buffer, mmap_buffer_aligned); in allocate_exs_buffer_ring()
|