Home
last modified time | relevance | path

Searched refs:VKI_PAGE_SIZE (Results 1 – 25 of 36) sorted by relevance

12

/external/valgrind/memcheck/tests/
Dunit_libcbase.c80 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) ); in test_VG_IS_XYZ_ALIGNED()
187 CHECK( VG_IS_PAGE_ALIGNED(VKI_PAGE_SIZE ) ); in test_VG_IS_XYZ_ALIGNED()
188 CHECK( ! VG_IS_PAGE_ALIGNED(VKI_PAGE_SIZE+1) ); in test_VG_IS_XYZ_ALIGNED()
270 CHECK( 0 == VG_PGROUNDDN(VKI_PAGE_SIZE-1) ); in test_VG_ROUND_et_al()
271 CHECK( VKI_PAGE_SIZE == VG_PGROUNDDN(VKI_PAGE_SIZE ) ); in test_VG_ROUND_et_al()
272 CHECK( VKI_PAGE_SIZE == VG_PGROUNDDN(VKI_PAGE_SIZE+1) ); in test_VG_ROUND_et_al()
275 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(1) ); in test_VG_ROUND_et_al()
276 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(2) ); in test_VG_ROUND_et_al()
[all …]
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-darwin.c329 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE, in pthread_hijack()
518 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE, in wqthread_hijack()
Dsyswrap-amd64-darwin.c388 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE, in pthread_hijack()
570 stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE, in wqthread_hijack()
Dsyswrap-mips32-linux.c434 if ((VKI_SHMLBA > VKI_PAGE_SIZE) && (VKI_MAP_SHARED & arg4) in mips_PRE_sys_mmap()
436 mreq.len = arg2 + VKI_SHMLBA - VKI_PAGE_SIZE; in mips_PRE_sys_mmap()
441 if ((VKI_SHMLBA > VKI_PAGE_SIZE) && (VKI_MAP_SHARED & arg4) in mips_PRE_sys_mmap()
542 VKI_PAGE_SIZE * (Off64T) ARG6); in PRE()
/external/valgrind/include/
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/
Dinitimg-solaris.c527 vg_assert(VG_STACK_REDZONE_SZB < VKI_PAGE_SIZE); in setup_client_stack()
529 vg_assert(resvn_size > VKI_PAGE_SIZE); in setup_client_stack()
530 resvn_size -= VKI_PAGE_SIZE; in setup_client_stack()
531 anon_start -= VKI_PAGE_SIZE; in setup_client_stack()
532 anon_size += VKI_PAGE_SIZE; in setup_client_stack()
645 auxv->a_un.a_val = VKI_PAGE_SIZE; in setup_client_stack()
Dinitimg-linux.c522 vg_assert(VG_STACK_REDZONE_SZB < VKI_PAGE_SIZE); in setup_client_stack()
524 vg_assert(resvn_size > VKI_PAGE_SIZE); in setup_client_stack()
525 resvn_size -= VKI_PAGE_SIZE; in setup_client_stack()
526 anon_start -= VKI_PAGE_SIZE; in setup_client_stack()
527 anon_size += VKI_PAGE_SIZE; in setup_client_stack()
849 SizeT anon_size = VKI_PAGE_SIZE; in setup_client_dataseg()
/external/valgrind/include/vki/
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
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
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
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
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)
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
Dvki-arm64-linux.h63 extern UWord VKI_PAGE_SIZE;
76 #define VKI_SHMLBA (4 * VKI_PAGE_SIZE)
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
Dvki-ppc64-linux.h70 extern UWord VKI_PAGE_SIZE;
78 #define VKI_SHMLBA VKI_PAGE_SIZE
Dvki-ppc32-linux.h67 extern UWord VKI_PAGE_SIZE;
75 #define VKI_SHMLBA VKI_PAGE_SIZE
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
Dvki-darwin.h93 #define VKI_MAX_PAGE_SIZE VKI_PAGE_SIZE
359 #define VKI_PAGE_SIZE PAGE_SIZE macro
/external/valgrind/coregrind/m_ume/
Delf.c239 bytes = bss & (VKI_PAGE_SIZE - 1); in mapelf()
243 bytes = VKI_PAGE_SIZE - bytes; in mapelf()
348 vg_assert(VKI_PAGE_SIZE >= 4096); /* stay sane */ in VG_()
349 ESZ(Addr) hacky_load_address = 0x100000 + 8 * VKI_PAGE_SIZE; in VG_()
/external/valgrind/memcheck/
Dmc_leakcheck.c860 && inner_addr >= (Addr)VKI_PAGE_SIZE in heuristic_reachedness()
864 && first_addr >= (Addr)VKI_PAGE_SIZE in heuristic_reachedness()
1098 lc_sig_skipped_szB += VKI_PAGE_SIZE; in lc_scan_memory()
1099 ptr = ptr + VKI_PAGE_SIZE; // Unaddressable, - skip it. in lc_scan_memory()
1120 if (UNLIKELY((ptr % VKI_PAGE_SIZE) == 0)) { in lc_scan_memory()
1122 ptr += VKI_PAGE_SIZE; // Bad page - skip it. in lc_scan_memory()
1771 tl_assert((VKI_PAGE_SIZE % sizeof(Addr)) == 0); in MC_()
1777 tl_assert((SM_SIZE % VKI_PAGE_SIZE) == 0); in MC_()
/external/valgrind/coregrind/
Dm_vki.c48 unsigned long VKI_PAGE_SIZE = 1UL << 12; variable
Dm_main.c561 2*VKI_PAGE_SIZE, 10*VG_DEFAULT_STACK_ACTIVE_SZB) in main_process_cmd_line_options()
1499 (Int)VKI_PAGE_SIZE, (Int)VKI_MAX_PAGE_SIZE in print_preamble()
1747 vg_assert(VKI_PAGE_SIZE == 4096 || VKI_PAGE_SIZE == 65536 in valgrind_main()
1748 || VKI_PAGE_SIZE == 16384); in valgrind_main()
1751 vg_assert(VKI_PAGE_SIZE <= VKI_MAX_PAGE_SIZE); in valgrind_main()
1752 vg_assert(VKI_PAGE_SIZE == (1 << VKI_PAGE_SHIFT)); in valgrind_main()
3336 VKI_PAGE_SIZE = sp[1]; in _start_in_C_linux()
3339 if (VKI_PAGE_SIZE == (1UL << VKI_PAGE_SHIFT)) in _start_in_C_linux()
/external/valgrind/massif/
Dms_main.c1802 tl_assert(len >= VKI_PAGE_SIZE); in ms_record_page_mem()
1804 for (end = a + len - VKI_PAGE_SIZE; a < end; a += VKI_PAGE_SIZE) { in ms_record_page_mem()
1805 record_block( tid, (void*)a, VKI_PAGE_SIZE, /*slop_szB*/0, in ms_record_page_mem()
1809 record_block( tid, (void*)a, VKI_PAGE_SIZE, /*slop_szB*/0, in ms_record_page_mem()
1818 tl_assert(len >= VKI_PAGE_SIZE); in ms_unrecord_page_mem()
1819 for (end = a + len - VKI_PAGE_SIZE; a < end; a += VKI_PAGE_SIZE) { in ms_unrecord_page_mem()
/external/valgrind/coregrind/m_aspacemgr/
Daspacemgr-linux.c1559 const Addr min = VKI_PAGE_SIZE; in VG_()
1746 + VKI_PAGE_SIZE; in VG_()
1786 init_resvn(&seg, aspacem_vStart, aspacem_vStart + VKI_PAGE_SIZE - 1); in VG_()
2664 aspacem_assert(VKI_SHMLBA >= VKI_PAGE_SIZE); in VG_()
2666 aspacem_assert(VKI_SHMLBA == VKI_PAGE_SIZE); in VG_()
2668 if ((VKI_SHMLBA > VKI_PAGE_SIZE) && (VKI_MAP_SHARED & flags)) { in VG_()
2670 req.len = length + VKI_SHMLBA - VKI_PAGE_SIZE; in VG_()
2677 if ((VKI_SHMLBA > VKI_PAGE_SIZE) && (VKI_MAP_SHARED & flags)) in VG_()
2991 if (delta + VKI_PAGE_SIZE in VG_()
3030 if (delta + VKI_PAGE_SIZE in VG_()

12