Searched refs:PA_PAGE_ALIGN (Results 1 – 5 of 5) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | shm.c | 189 …if ((m->ptr = mmap(NULL, PA_PAGE_ALIGN(m->size), PROT_READ|PROT_WRITE, MAP_SHARED|MAP_NORESERVE, f… in sharedmem_create() 236 size = PA_PAGE_ALIGN(size); in pa_shm_create_rw() 274 if (munmap(m->ptr, PA_PAGE_ALIGN(m->size)) < 0) in pa_shm_free() 391 …if ((m->ptr = mmap(NULL, PA_PAGE_ALIGN(st.st_size), prot, MAP_SHARED, fd, (off_t) 0)) == MAP_FAILE… in shm_attach()
|
D | memtrap.c | 142 size = PA_PAGE_ALIGN(size); in pa_memtrap_add() 197 size = PA_PAGE_ALIGN(size); in pa_memtrap_update()
|
D | core-util.h | 318 static inline size_t PA_PAGE_ALIGN(size_t l) { in PA_PAGE_ALIGN() function
|
D | core-util.c | 2463 bs = PA_PAGE_ALIGN((size_t) rlim.rlim_cur); in pa_will_need() 2477 bs = PA_PAGE_ALIGN(bs / 2); in pa_will_need()
|
D | memblock.c | 836 p->block_size = PA_PAGE_ALIGN(PA_MEMPOOL_SLOT_SIZE); in pa_mempool_new()
|