/external/kernel-headers/original/uapi/asm-generic/ |
H A D | shmparam.h | 4 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
|
/external/yaffs2/yaffs2/direct/ |
H A D | yaffs_fileem2k.h | 24 #define PAGE_SIZE (PAGE_DATA_SIZE + PAGE_SPARE_SIZE) macro 27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) 36 #define PAGE_SIZE (PAGE_DATA_SIZE + SPARE_SIZE) macro 38 #define BLOCK_DATA_SIZE (PAGE_SIZE * PAGES_PER_BLOCK) 39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE))
|
H A D | yaffs_fileem2k.c | 39 __u8 data[PAGE_SIZE]; // Data + spare 154 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE; 170 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE ; 223 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE; 233 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE; 289 lseek(h,((blockNo % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE + PAGE_DATA_SIZE,SEEK_SET); 318 __u8 pg[PAGE_SIZE]; 319 int syz = PAGE_SIZE; 326 lseek(h,((blockNumber % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE,SEEK_SET); 329 write(h,pg,PAGE_SIZE); [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | binfmts.h | 14 #define MAX_ARG_STRLEN (PAGE_SIZE * 32)
|
H A D | resource.h | 71 #define MLOCK_LIMIT ((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)
|
H A D | a.out.h | 112 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0) 128 #define PAGE_SIZE 0x400 macro 129 #define SEGMENT_SIZE PAGE_SIZE
|
/external/chromium_org/base/android/ |
H A D | sys_utils_unittest.cc | 17 static_cast<size_t>(sysconf(_SC_PHYS_PAGES) * PAGE_SIZE);
|
/external/oprofile/module/ |
H A D | op_util.c | 36 ret |= adr & (PAGE_SIZE - 1); 72 adr += PAGE_SIZE; 73 size -= PAGE_SIZE; 90 adr += PAGE_SIZE; 91 size -= PAGE_SIZE;
|
H A D | op_dname.c | 103 if (remap_page_range(start, page, PAGE_SIZE, PAGE_SHARED)) 105 start += PAGE_SIZE; 106 pos += PAGE_SIZE; 107 size -= PAGE_SIZE;
|
/external/chromium_org/base/mac/ |
H A D | scoped_mach_vm.cc | 11 DCHECK(address % PAGE_SIZE == 0); 12 DCHECK(size % PAGE_SIZE == 0);
|
H A D | scoped_mach_vm.h | 53 DCHECK(address % PAGE_SIZE == 0); 54 DCHECK(size % PAGE_SIZE == 0);
|
/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
H A D | native_heap.py | 9 from memory_inspector.core.memory_map import PAGE_SIZE namespace 90 page_end = mm.start + page * PAGE_SIZE + PAGE_SIZE - 1 91 alloc_memory_in_current_page = PAGE_SIZE - page_off 96 cur_start = (cur_start + PAGE_SIZE) & ~(PAGE_SIZE - 1)
|
H A D | memory_map.py | 8 PAGE_SIZE = 4096 variable 72 return (offset / PAGE_SIZE, offset & (PAGE_SIZE - 1)) 82 relative_page_index < self.len / PAGE_SIZE) 109 return self.len / PAGE_SIZE
|
H A D | native_heap_unittest.py | 26 from memory_inspector.core.memory_map import PAGE_SIZE namespace 33 EXE_1_MM_BASE = 64 * PAGE_SIZE 34 EXE_2_MM_BASE = 65 * PAGE_SIZE 43 st2.Add(nheap.GetStackFrame(EXE_2_MM_BASE + PAGE_SIZE + 4)) 70 mmap.Add(memory_map.MapEntry(EXE_1_MM_BASE, EXE_1_MM_BASE + PAGE_SIZE - 1, 72 mmap.Add(memory_map.MapEntry(EXE_2_MM_BASE, EXE_2_MM_BASE + PAGE_SIZE - 1,
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_elf_relro.cpp | 21 return ::memcmp(p1, p2, PAGE_SIZE) == 0; 189 p += PAGE_SIZE; 195 p2 += PAGE_SIZE; 215 similar_size / PAGE_SIZE, 216 size / PAGE_SIZE,
|
H A D | crazy_linker_proc_maps_unittest.cpp | 160 0x25000 * PAGE_SIZE, "/system/bin/mksh"}, 162 0x26000 * PAGE_SIZE, "/system/bin/mksh"}, 169 0xe000 * PAGE_SIZE, "/system/bin/linker"}, 171 0xf000 * PAGE_SIZE, "/system/bin/linker"}, 174 0x1000 * PAGE_SIZE, "/system/lib/libc.so"}, 176 0x46000 * PAGE_SIZE, "/system/lib/libc.so"}, 178 0x48000 * PAGE_SIZE, "/system/lib/libc.so"},
|
H A D | crazy_linker_ashmem.cpp | 50 const size_t map_size = PAGE_SIZE;
|
/external/libunwind/src/x86/ |
H A D | Ginit.c | 79 #ifndef PAGE_SIZE 80 #define PAGE_SIZE 4096 macro 84 #define PAGE_START(a) ((a) & ~(PAGE_SIZE-1)) 101 len = PAGE_SIZE; 103 len = PAGE_SIZE * 2;
|
/external/chromium_org/third_party/mach_override/ |
H A D | mach_override.c | 162 uintptr_t page = (uintptr_t)address & ~(uintptr_t)(PAGE_SIZE - 1); 164 e |= mprotect((void *)page, PAGE_SIZE, PROT_EXEC | PROT_READ); 165 e |= msync((void *)page, PAGE_SIZE, MS_INVALIDATE ); 392 assert( sizeof( BranchIsland ) <= PAGE_SIZE ); 395 err = vm_allocate( mach_task_self(), &page, PAGE_SIZE, VM_FLAGS_ANYWHERE ); 402 vm_address_t last = 0xfe000000 + PAGE_SIZE; 405 vm_address_t first = ((uint64_t)originalFunctionAddress & ~( (0xFUL << 28) | (PAGE_SIZE - 1) ) ) | (0x1UL << 31); 415 err = vm_allocate( task_self, &page, PAGE_SIZE, 0 ); 420 page -= PAGE_SIZE; 422 page += PAGE_SIZE; [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | sh-mem-random.c | 23 #define PAGE_SIZE 4096ULL macro 243 nbytes_p = (N_BYTES + PAGE_SIZE) & ~(PAGE_SIZE-1); 251 huge_addr += (randomU4() & ~(PAGE_SIZE-1));
|
/external/libunwind/src/x86_64/ |
H A D | Ginit.c | 71 #define PAGE_SIZE 4096 macro 72 #define PAGE_START(a) ((a) & ~(PAGE_SIZE-1)) 122 len = PAGE_SIZE; 124 len = PAGE_SIZE * 2;
|
/external/chromium_org/v8/tools/ |
H A D | codemap.js | 71 CodeMap.PAGE_SIZE = 142 addr += CodeMap.PAGE_SIZE) {
|
/external/chromium-trace/trace-viewer/src/tracing/importer/v8/ |
H A D | codemap.js | 56 CodeMap.PAGE_SIZE = 128 addr += CodeMap.PAGE_SIZE) {
|
/external/chromium_org/base/ |
H A D | sys_info_mac.cc | 76 vm_info.free_count - vm_info.speculative_count) * PAGE_SIZE;
|
/external/chromium_org/base/process/ |
H A D | process_metrics_mac.cc | 204 *private_bytes = private_pages_count * PAGE_SIZE; 206 *shared_bytes = shared_pages_count * PAGE_SIZE; 341 return (data.active_count * PAGE_SIZE) / 1024;
|