Searched refs:PAGE_SIZE (Results 1 - 25 of 51) sorted by relevance

123

/external/kernel-headers/original/uapi/asm-generic/
H A Dshmparam.h4 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
/external/yaffs2/yaffs2/direct/
H A Dyaffs_fileem2k.h24 #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 Dyaffs_fileem2k.c39 __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 Dbinfmts.h14 #define MAX_ARG_STRLEN (PAGE_SIZE * 32)
H A Dresource.h71 #define MLOCK_LIMIT ((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)
H A Da.out.h112 #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 Dsys_utils_unittest.cc17 static_cast<size_t>(sysconf(_SC_PHYS_PAGES) * PAGE_SIZE);
/external/oprofile/module/
H A Dop_util.c36 ret |= adr & (PAGE_SIZE - 1);
72 adr += PAGE_SIZE;
73 size -= PAGE_SIZE;
90 adr += PAGE_SIZE;
91 size -= PAGE_SIZE;
H A Dop_dname.c103 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 Dscoped_mach_vm.cc11 DCHECK(address % PAGE_SIZE == 0);
12 DCHECK(size % PAGE_SIZE == 0);
H A Dscoped_mach_vm.h53 DCHECK(address % PAGE_SIZE == 0);
54 DCHECK(size % PAGE_SIZE == 0);
/external/chromium_org/tools/memory_inspector/memory_inspector/core/
H A Dnative_heap.py9 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 Dmemory_map.py8 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 Dnative_heap_unittest.py26 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 Dcrazy_linker_elf_relro.cpp21 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 Dcrazy_linker_proc_maps_unittest.cpp160 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 Dcrazy_linker_ashmem.cpp50 const size_t map_size = PAGE_SIZE;
/external/libunwind/src/x86/
H A DGinit.c79 #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 Dmach_override.c162 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 Dsh-mem-random.c23 #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 DGinit.c71 #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 Dcodemap.js71 CodeMap.PAGE_SIZE =
142 addr += CodeMap.PAGE_SIZE) {
/external/chromium-trace/trace-viewer/src/tracing/importer/v8/
H A Dcodemap.js56 CodeMap.PAGE_SIZE =
128 addr += CodeMap.PAGE_SIZE) {
/external/chromium_org/base/
H A Dsys_info_mac.cc76 vm_info.free_count - vm_info.speculative_count) * PAGE_SIZE;
/external/chromium_org/base/process/
H A Dprocess_metrics_mac.cc204 *private_bytes = private_pages_count * PAGE_SIZE;
206 *shared_bytes = shared_pages_count * PAGE_SIZE;
341 return (data.active_count * PAGE_SIZE) / 1024;

Completed in 616 milliseconds

123