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.c194 …if ((m->ptr = mmap(NULL, PA_PAGE_ALIGN(m->size), PROT_READ|PROT_WRITE, MAP_SHARED|MAP_NORESERVE, f… in sharedmem_create()
241 size = PA_PAGE_ALIGN(size); in pa_shm_create_rw()
281 if (munmap(m->ptr, PA_PAGE_ALIGN(m->size)) < 0) in pa_shm_free()
398 …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.h324 static inline size_t PA_PAGE_ALIGN(size_t l) { in PA_PAGE_ALIGN() function
Dcore-util.c2678 bs = PA_PAGE_ALIGN((size_t) rlim.rlim_cur); in pa_will_need()
2692 bs = PA_PAGE_ALIGN(bs / 2); in pa_will_need()
Dmemblock.c840 p->block_size = PA_PAGE_ALIGN(PA_MEMPOOL_SLOT_SIZE); in pa_mempool_new()