/external/valgrind/memcheck/tests/ |
H A D | unit_libcbase.c | 77 // On PPC/Linux VKI_PAGE_SIZE is a variable, not a macro. 80 unsigned long VKI_PAGE_SIZE = 1UL << 12; variable 82 unsigned long VKI_PAGE_SIZE = 1UL << 16; variable 186 CHECK( ! VG_IS_PAGE_ALIGNED(VKI_PAGE_SIZE-1) ); 187 CHECK( VG_IS_PAGE_ALIGNED(VKI_PAGE_SIZE ) ); 188 CHECK( ! VG_IS_PAGE_ALIGNED(VKI_PAGE_SIZE+1) ); 270 CHECK( 0 == VG_PGROUNDDN(VKI_PAGE_SIZE-1) ); 271 CHECK( VKI_PAGE_SIZE == VG_PGROUNDDN(VKI_PAGE_SIZE ) ); 272 CHECK( VKI_PAGE_SIZE [all...] |
/external/valgrind/coregrind/ |
H A D | m_vki.c | 48 unsigned long VKI_PAGE_SIZE = 1UL << 12; variable
|
H A D | m_main.c | 561 2*VKI_PAGE_SIZE, 10*VG_DEFAULT_STACK_ACTIVE_SZB) 1499 (Int)VKI_PAGE_SIZE, (Int)VKI_MAX_PAGE_SIZE 1747 vg_assert(VKI_PAGE_SIZE == 4096 || VKI_PAGE_SIZE == 65536 1748 || VKI_PAGE_SIZE == 16384); 1751 vg_assert(VKI_PAGE_SIZE <= VKI_MAX_PAGE_SIZE); 1752 vg_assert(VKI_PAGE_SIZE == (1 << VKI_PAGE_SHIFT)); 3336 VKI_PAGE_SIZE = sp[1]; 3339 if (VKI_PAGE_SIZE == (1UL << VKI_PAGE_SHIFT))
|
/external/valgrind/include/ |
H A D | pub_tool_libcbase.h | 191 #define VG_IS_PAGE_ALIGNED(aaa_p) (0 == (((Addr)(aaa_p)) & ((Addr)(VKI_PAGE_SIZE-1)))) 197 #define VG_PGROUNDDN(p) VG_ROUNDDN(p, VKI_PAGE_SIZE) 198 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE)
|
/external/valgrind/coregrind/m_initimg/ |
H A D | initimg-solaris.c | 527 vg_assert(VG_STACK_REDZONE_SZB < VKI_PAGE_SIZE); 529 vg_assert(resvn_size > VKI_PAGE_SIZE); 530 resvn_size -= VKI_PAGE_SIZE; 531 anon_start -= VKI_PAGE_SIZE; 532 anon_size += VKI_PAGE_SIZE; 645 auxv->a_un.a_val = VKI_PAGE_SIZE;
|
H A D | initimg-linux.c | 522 vg_assert(VG_STACK_REDZONE_SZB < VKI_PAGE_SIZE); 524 vg_assert(resvn_size > VKI_PAGE_SIZE); 525 resvn_size -= VKI_PAGE_SIZE; 526 anon_start -= VKI_PAGE_SIZE; 527 anon_size += VKI_PAGE_SIZE; 849 SizeT anon_size = VKI_PAGE_SIZE;
|
/external/valgrind/include/vki/ |
H A D | vki-amd64-linux.h | 61 #define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT) macro 63 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE 69 #define VKI_SHMLBA VKI_PAGE_SIZE
|
H A D | vki-arm-linux.h | 66 #define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT) macro 68 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE 74 #define VKI_SHMLBA (4 * VKI_PAGE_SIZE)
|
H A D | vki-s390x-linux.h | 63 #define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT) macro 963 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE 969 #define VKI_SHMLBA VKI_PAGE_SIZE
|
H A D | vki-tilegx-linux.h | 62 #define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT) macro 64 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE 70 #define VKI_SHMLBA VKI_PAGE_SIZE
|
H A D | vki-x86-linux.h | 62 #define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT) macro 64 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE 70 #define VKI_SHMLBA VKI_PAGE_SIZE
|
H A D | vki-arm64-linux.h | 63 extern UWord VKI_PAGE_SIZE; 72 // shared memory with 64 bit processes, VKI_PAGE_SIZE is good 74 // the old-style 16k value (4 * VKI_PAGE_SIZE) to be safe. 76 #define VKI_SHMLBA (4 * VKI_PAGE_SIZE)
|
H A D | vki-mips32-linux.h | 76 #define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT) macro 77 #define VKI_PAGE_MASK (~(VKI_PAGE_SIZE-1)) 79 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE
|
H A D | vki-mips64-linux.h | 85 #define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT) macro 86 #define VKI_PAGE_MASK (~(VKI_PAGE_SIZE-1)) 88 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE
|
H A D | vki-ppc32-linux.h | 67 extern UWord VKI_PAGE_SIZE; 75 #define VKI_SHMLBA VKI_PAGE_SIZE
|
H A D | vki-ppc64-linux.h | 70 extern UWord VKI_PAGE_SIZE; 78 #define VKI_SHMLBA VKI_PAGE_SIZE
|
H A D | vki-solaris.h | 64 #define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT) macro 66 #define VKI_PAGEOFFSET (VKI_PAGE_SIZE - 1) 68 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE 907 #define VKI_SHMLBA VKI_PAGE_SIZE
|
H A D | vki-darwin.h | 93 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE 359 #define VKI_PAGE_SIZE PAGE_SIZE macro
|
/external/valgrind/coregrind/m_syswrap/ |
H A D | syswrap-x86-darwin.c | 329 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE, 518 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE,
|
H A D | syswrap-amd64-darwin.c | 388 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE, 570 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE,
|
H A D | syswrap-mips32-linux.c | 434 if ((VKI_SHMLBA > VKI_PAGE_SIZE) && (VKI_MAP_SHARED & arg4) 436 mreq.len = arg2 + VKI_SHMLBA - VKI_PAGE_SIZE; 441 if ((VKI_SHMLBA > VKI_PAGE_SIZE) && (VKI_MAP_SHARED & arg4) 542 VKI_PAGE_SIZE * (Off64T) ARG6);
|
/external/valgrind/coregrind/m_ume/ |
H A D | elf.c | 239 bytes = bss & (VKI_PAGE_SIZE - 1); 243 bytes = VKI_PAGE_SIZE - bytes; 311 /* ESZ(Word) interp_align = VKI_PAGE_SIZE; */ /* UNUSED */ 341 the hacky load addess along by 8 * VKI_PAGE_SIZE to be safe. */ 348 vg_assert(VKI_PAGE_SIZE >= 4096); /* stay sane */ 349 ESZ(Addr) hacky_load_address = 0x100000 + 8 * VKI_PAGE_SIZE;
|
/external/valgrind/massif/ |
H A D | ms_main.c | 1802 tl_assert(len >= VKI_PAGE_SIZE); 1804 for (end = a + len - VKI_PAGE_SIZE; a < end; a += VKI_PAGE_SIZE) { 1805 record_block( tid, (void*)a, VKI_PAGE_SIZE, /*slop_szB*/0, 1809 record_block( tid, (void*)a, VKI_PAGE_SIZE, /*slop_szB*/0, 1818 tl_assert(len >= VKI_PAGE_SIZE); 1819 for (end = a + len - VKI_PAGE_SIZE; a < end; a += VKI_PAGE_SIZE) {
|
/external/valgrind/memcheck/ |
H A D | mc_leakcheck.c | 860 && inner_addr >= (Addr)VKI_PAGE_SIZE 864 && first_addr >= (Addr)VKI_PAGE_SIZE 1085 between VKI_PAGE_SIZE, SM_SIZE and sizeof(Addr) which are asserted in 1098 lc_sig_skipped_szB += VKI_PAGE_SIZE; 1099 ptr = ptr + VKI_PAGE_SIZE; // Unaddressable, - skip it. 1120 if (UNLIKELY((ptr % VKI_PAGE_SIZE) == 0)) { 1122 ptr += VKI_PAGE_SIZE; // Bad page - skip it. 1771 tl_assert((VKI_PAGE_SIZE % sizeof(Addr)) == 0); 1777 tl_assert((SM_SIZE % VKI_PAGE_SIZE) == 0);
|
/external/valgrind/coregrind/m_aspacemgr/ |
H A D | aspacemgr-linux.c | 1559 const Addr min = VKI_PAGE_SIZE; 1746 + VKI_PAGE_SIZE; 1786 init_resvn(&seg, aspacem_vStart, aspacem_vStart + VKI_PAGE_SIZE - 1); 2664 aspacem_assert(VKI_SHMLBA >= VKI_PAGE_SIZE); 2666 aspacem_assert(VKI_SHMLBA == VKI_PAGE_SIZE); 2668 if ((VKI_SHMLBA > VKI_PAGE_SIZE) && (VKI_MAP_SHARED & flags)) { 2670 req.len = length + VKI_SHMLBA - VKI_PAGE_SIZE; 2677 if ((VKI_SHMLBA > VKI_PAGE_SIZE) && (VKI_MAP_SHARED & flags)) 2991 if (delta + VKI_PAGE_SIZE 3030 if (delta + VKI_PAGE_SIZE [all...] |