Home
last modified time | relevance | path

Searched refs:PA_PAGE_ALIGN (Results 1 – 5 of 5) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dshm.c189 …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()
Dmemtrap.c142 size = PA_PAGE_ALIGN(size); in pa_memtrap_add()
197 size = PA_PAGE_ALIGN(size); in pa_memtrap_update()
Dcore-util.h318 static inline size_t PA_PAGE_ALIGN(size_t l) { in PA_PAGE_ALIGN() function
Dcore-util.c2463 bs = PA_PAGE_ALIGN((size_t) rlim.rlim_cur); in pa_will_need()
2477 bs = PA_PAGE_ALIGN(bs / 2); in pa_will_need()
Dmemblock.c836 p->block_size = PA_PAGE_ALIGN(PA_MEMPOOL_SLOT_SIZE); in pa_mempool_new()