Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DMemoryHeapBase.cpp68 const size_t pagesize = getpagesize(); in MemoryHeapBase() local
69 size = ((size + pagesize - 1) & ~(pagesize - 1)); in MemoryHeapBase()
113 const size_t pagesize = getpagesize(); in MemoryHeapBase() local
114 size = ((size + pagesize-1) & ~(pagesize-1)); in MemoryHeapBase()
128 const size_t pagesize = getpagesize(); in MemoryHeapBase() local
129 size = ((size + pagesize-1) & ~(pagesize-1)); in MemoryHeapBase()
DMemoryDealer.cpp186 size_t pagesize = getpagesize(); in ~Allocation() local
189 start &= ~(pagesize-1); in ~Allocation()
190 end = (end + pagesize-1) & ~(pagesize-1); in ~Allocation()
199 start = (start + pagesize-1) & ~(pagesize-1); in ~Allocation()
200 end &= ~(pagesize-1); in ~Allocation()
279 size_t pagesize = getpagesize(); in SimpleBestFitAllocator() local
280 mHeapSize = ((size + pagesize-1) & ~(pagesize-1)); in SimpleBestFitAllocator()
332 size_t pagesize = getpagesize(); in alloc() local
336 extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
357 extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
[all …]