Searched defs:mmap_buffer (Results 1 - 2 of 2) sorted by relevance
/external/tinyalsa/ |
H A D | pcm.c | 257 void *mmap_buffer; member in struct:pcm 412 (char*)pcm->mmap_buffer + pcm_offset_bytes, 415 memcpy((char*)pcm->mmap_buffer + pcm_offset_bytes, 826 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); 913 pcm->mmap_buffer = mmap(NULL, pcm_frames_to_bytes(pcm, pcm->buffer_size), 915 if (pcm->mmap_buffer == MAP_FAILED) { 990 munmap(pcm->mmap_buffer, pcm_frames_to_bytes(pcm, pcm->buffer_size)); 1088 *areas = pcm->mmap_buffer;
|
/external/netperf/ |
H A D | netlib.c | 1406 char *mmap_buffer, *mmap_buffer_aligned; 1434 mmap_buffer = (char *) mmap ((caddr_t)NULL, mmap_size+NBPG-1, 1437 if (mmap_buffer == NULL) { 1441 mmap_buffer_aligned = (char *) ((uintptr_t)mmap_buffer & ~(NBPG-1)); 1445 mmap_size, mmap_buffer, mmap_buffer_aligned); 1392 char *mmap_buffer, *mmap_buffer_aligned; local
|
Completed in 102 milliseconds