Searched refs:VKI_PAGE_SIZE (Results 1 - 25 of 35) sorted by relevance

12

/external/valgrind/memcheck/tests/
H A Dunit_libcbase.c77 // 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 Dm_vki.c48 unsigned long VKI_PAGE_SIZE = 1UL << 12; variable
H A Dm_main.c561 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 Dpub_tool_libcbase.h191 #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 Dinitimg-solaris.c527 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 Dinitimg-linux.c522 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 Dvki-amd64-linux.h61 #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 Dvki-arm-linux.h66 #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 Dvki-s390x-linux.h63 #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 Dvki-tilegx-linux.h62 #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 Dvki-x86-linux.h62 #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 Dvki-arm64-linux.h63 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 Dvki-mips32-linux.h76 #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 Dvki-mips64-linux.h85 #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 Dvki-ppc32-linux.h67 extern UWord VKI_PAGE_SIZE;
75 #define VKI_SHMLBA VKI_PAGE_SIZE
H A Dvki-ppc64-linux.h70 extern UWord VKI_PAGE_SIZE;
78 #define VKI_SHMLBA VKI_PAGE_SIZE
H A Dvki-solaris.h64 #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 Dvki-darwin.h93 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE
359 #define VKI_PAGE_SIZE PAGE_SIZE macro
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-x86-darwin.c329 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE,
518 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE,
H A Dsyswrap-amd64-darwin.c388 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE,
570 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE,
H A Dsyswrap-mips32-linux.c434 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 Delf.c239 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 Dms_main.c1802 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 Dmc_leakcheck.c860 && 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 Daspacemgr-linux.c1559 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...]

Completed in 877 milliseconds

12