/external/valgrind/main/none/tests/ |
map_unmap.c | 6 static unsigned int pagesize; variable 9 #define LEN (PAGES*pagesize) 29 off = (random() % LEN) & ~(pagesize-1); 32 /* printf("unmapping off=%d\n", off/pagesize); */ 33 munmap((char *)p + off, pagesize); 34 off += 619*pagesize; 52 pagesize = getpagesize();
|
/system/extras/procmem/ |
procmem.c | 46 int pagesize; /* cached for speed */ local 109 pagesize = pm_kernel_pagesize(ker); 192 address = pm_map_start(mi->map) + j * ker->pagesize; 249 mi->shared_clean * pagesize / 1024, 250 mi->shared_dirty * pagesize / 1024, 251 mi->private_clean * pagesize / 1024, 252 mi->private_dirty * pagesize / 1024, 261 mi->shared_clean * pagesize / 1024, 262 mi->shared_dirty * pagesize / 1024, 263 mi->private_clean * pagesize / 1024 [all...] |
/system/core/libcutils/ |
mspace.c | 61 #ifndef PAGESIZE 62 #define PAGESIZE mparams.page_size 98 const unsigned int pagesize = PAGESIZE; local 100 cs = (struct mspace_contig_state *)((uintptr_t)m & ~(pagesize-1)); 109 char *newbrk = (char *)ALIGN_UP(oldbrk + nb, pagesize); 140 unsigned int pagesize; local 144 pagesize = PAGESIZE; 146 assert(((uintptr_t)base & (pagesize-1)) == 0) 206 unsigned int pagesize; local 259 const unsigned int pagesize = PAGESIZE; local 278 const unsigned int pagesize = PAGESIZE; local [all...] |
/system/extras/libpagemap/ |
pm_map.c | 54 usage.vss += map->proc->ker->pagesize; 55 usage.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); 56 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); 57 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); 101 ws.vss += map->proc->ker->pagesize; 102 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); 103 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); 104 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0);
|
pm_kernel.c | 54 ker->pagesize = getpagesize();
|
pm_process.c | 105 firstpage = low / proc->ker->pagesize; 106 numpages = (high - low) / proc->ker->pagesize;
|
/frameworks/base/libs/binder/ |
MemoryHeapBase.cpp | 53 const size_t pagesize = getpagesize(); local 54 size = ((size + pagesize-1) & ~(pagesize-1)); 77 const size_t pagesize = getpagesize(); local 78 size = ((size + pagesize-1) & ~(pagesize-1)); 89 const size_t pagesize = getpagesize(); local 90 size = ((size + pagesize-1) & ~(pagesize-1));
|
MemoryHeapPmem.cpp | 77 const size_t pagesize = getpagesize(); local 78 size = (size + pagesize-1) & ~(pagesize-1); 192 const size_t pagesize = getpagesize(); local 193 size = (size + pagesize-1) & ~(pagesize-1); 210 const size_t pagesize = getpagesize(); 211 size = (size + pagesize-1) & ~(pagesize-1);
|
MemoryDealer.cpp | 186 size_t pagesize = getpagesize(); local 189 start &= ~(pagesize-1); 190 end = (end + pagesize-1) & ~(pagesize-1); 199 start = (start + pagesize-1) & ~(pagesize-1); 200 end &= ~(pagesize-1); 270 size_t pagesize = getpagesize(); local 271 mHeapSize = ((size + pagesize-1) & ~(pagesize-1)) 315 size_t pagesize = getpagesize(); local [all...] |
/system/core/mkbootimg/ |
mkbootimg.c | 67 " [ --pagesize <pagesize> ]\n" 77 int write_padding(int fd, unsigned pagesize, unsigned itemsize) 79 unsigned pagemask = pagesize - 1; 86 count = pagesize - (itemsize & pagemask); 108 unsigned pagesize = 2048; local 150 } else if(!strcmp(arg,"--pagesize")) { 151 pagesize = strtoul(val, 0, 10); 152 if ((pagesize != 2048) && (pagesize != 4096)) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
TCSystemAlloc.cpp | 75 static size_t pagesize = 0; variable 165 if (pagesize == 0) pagesize = getpagesize(); 166 if (alignment < pagesize) alignment = pagesize; 174 // Ask for extra memory if alignment > pagesize 176 if (alignment > pagesize) { 177 extra = alignment - pagesize; 213 if (pagesize == 0) { 216 pagesize = system_info.dwPageSize [all...] |
/hardware/msm7k/libgralloc/ |
allocator.cpp | 47 size_t pagesize = getpagesize(); 48 mHeapSize = ((size + pagesize-1) & ~(pagesize-1)); 88 size_t pagesize = getpagesize(); local 90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; 109 int extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; 116 LOGE_IF(((free_chunk->start*kMemoryAlign)&(pagesize-1)),
|
/hardware/msm7k/libgralloc-qsd8k/ |
allocator.cpp | 47 size_t pagesize = getpagesize(); 48 mHeapSize = ((size + pagesize-1) & ~(pagesize-1)); 88 size_t pagesize = getpagesize(); local 90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; 109 int extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; 116 LOGE_IF(((free_chunk->start*kMemoryAlign)&(pagesize-1)),
|
/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/ |
ContextManager.cpp | 97 // slot address. And the image offset is aligned to the pagesize. 104 unsigned long pagesize = (unsigned long)sysconf(_SC_PAGESIZE); local 106 if (imageOffset % pagesize > 0) {
|
CacheReader.cpp | 222 long pagesize = sysconf(_SC_PAGESIZE); local 223 if ((uintptr_t)mpHeader->context_cached_addr % pagesize != 0) { 224 LOGE("cached address is not aligned to pagesize.\n");
|
/system/extras/libpagemap/include/pagemap/ |
pagemap.h | 49 int pagesize; member in struct:pm_kernel 81 #define pm_kernel_pagesize(ker) ((ker)->pagesize)
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/ |
XF86DGA.c | 467 int pagesize = -1; local 484 pagesize = sysconf(_SC_PAGESIZE); 487 if (pagesize == -1) 488 pagesize = sysconf(_SC_PAGE_SIZE); 491 if (pagesize == -1) 492 pagesize = getpagesize(); 495 if (pagesize == -1) 496 pagesize = PAGE_SIZE; 498 if (pagesize == -1) 499 pagesize = 4096 [all...] |
/external/stlport/src/details/ |
fstream_unistd.cpp | 135 size_t pagesize, len; local 138 len = sizeof(pagesize); 139 sysctl(mib, 2, &pagesize, &len, NULL, 0); 140 _M_page_size = pagesize;
|
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_unistd.cpp | 135 size_t pagesize, len; local 138 len = sizeof(pagesize); 139 sysctl(mib, 2, &pagesize, &len, NULL, 0); 140 _M_page_size = pagesize;
|
/system/core/libpixelflinger/codeflinger/ |
CodeCache.cpp | 93 long pagesize = sysconf(_SC_PAGESIZE); local 94 long pagemask = ~(pagesize - 1); // assumes pagesize is a power of 2
|
/external/quake/quake/src/WinQuake/ |
vid_ext.cpp | 91 int pagesize;
member in struct:__anon10929 386 vesa_extra[nummodes].pages[1] = modeinfo.pagesize;
387 vesa_extra[nummodes].pages[2] = modeinfo.pagesize * 2;
413 vesa_extra[nummodes].pages[1] = modeinfo.pagesize;
414 vesa_extra[nummodes].pages[2] = modeinfo.pagesize * 2;
498 modeinfo.pagesize = modeinfo.bytes_per_scanline * modeinfo.height;
500 if (modeinfo.pagesize > totalvidmem)
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_BinaryDictionary.cpp | 65 int pagesize = getpagesize(); local 66 adjust = dictOffset % pagesize;
|
/bionic/libc/kernel/common/linux/mtd/ |
nand.h | 245 unsigned long pagesize; member in struct:nand_flash_dev
|
/development/ndk/platforms/android-3/include/linux/mtd/ |
nand.h | 245 unsigned long pagesize; member in struct:nand_flash_dev
|
/external/elfutils/src/ |
ld.c | 140 { "pagesize", ARGP_pagesize, "SIZE", 0, 141 N_("Assume pagesize for the target system to be SIZE.") }, 587 ld_state.pagesize = strtoul (arg, &endp, 0); 591 ld_state.pagesize *= 1024; 593 ld_state.pagesize *= 1024 * 1024; 599 ld_state.pagesize = 0; [all...] |