Home
last modified time | relevance | path

Searched refs:mmap_buffer (Results 1 – 2 of 2) sorted by relevance

/external/tinyalsa/
Dpcm.c256 void *mmap_buffer; member
417 (char*)pcm->mmap_buffer + pcm_offset_bytes, in pcm_areas_copy()
420 memcpy((char*)pcm->mmap_buffer + pcm_offset_bytes, in pcm_areas_copy()
862 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_close()
956 pcm->mmap_buffer = mmap(NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size), in pcm_open()
958 if (pcm->mmap_buffer == MAP_FAILED) { in pcm_open()
1033 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); in pcm_open()
1131 *areas = pcm->mmap_buffer; in pcm_mmap_begin()
/external/netperf/src/
Dnetlib.c1707 char *mmap_buffer, *mmap_buffer_aligned; in allocate_exs_buffer_ring() local
1736 mmap_buffer = (char *) mmap ((caddr_t)NULL, mmap_size+NBPG-1, in allocate_exs_buffer_ring()
1739 if (mmap_buffer == NULL) { in allocate_exs_buffer_ring()
1743 mmap_buffer_aligned = (char *) ((uintptr_t)mmap_buffer & ~(NBPG-1)); in allocate_exs_buffer_ring()
1748 mmap_size, mmap_buffer, mmap_buffer_aligned); in allocate_exs_buffer_ring()