Home
last modified time | relevance | path

Searched refs:VG_PGROUNDUP (Results 1 – 25 of 27) sorted by relevance

12

/external/valgrind/main/memcheck/tests/
Dunit_libcbase.c254 CHECK( 0 == VG_PGROUNDUP(0) ); in test_VG_ROUND_et_al()
255 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(1) ); in test_VG_ROUND_et_al()
256 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(2) ); in test_VG_ROUND_et_al()
257 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(3) ); in test_VG_ROUND_et_al()
258 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(4) ); in test_VG_ROUND_et_al()
259 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(VKI_PAGE_SIZE-1) ); in test_VG_ROUND_et_al()
260 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(VKI_PAGE_SIZE ) ); in test_VG_ROUND_et_al()
261 CHECK( VKI_PAGE_SIZE*2 == VG_PGROUNDUP(VKI_PAGE_SIZE+1) ); in test_VG_ROUND_et_al()
/external/valgrind/main/coregrind/m_ume/
Delf.c208 if (VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr) > 0) { in mapelf()
212 VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr), in mapelf()
218 VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr)); in mapelf()
225 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss); in mapelf()
229 VG_PGROUNDUP(bss), bytes, in mapelf()
233 check_mmap(res, VG_PGROUNDUP(bss), bytes); in mapelf()
Dmacho.c235 filesize = VG_PGROUNDUP(segcmd->filesize); in load_segment()
236 vmsize = VG_PGROUNDUP(segcmd->vmsize); in load_segment()
366 vki_size_t stacksize = VG_PGROUNDUP(default_stack_size()); in load_unixthread()
398 requested_size = VG_PGROUNDUP(requested_size); in handle_lcmain()
/external/valgrind/main/coregrind/
Dm_stacktrace.c204 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
483 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
663 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
926 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
1070 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
1159 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
1252 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
Dm_mallocfree.c808 cszB = VG_PGROUNDUP(cszB); in newSuperblock()
Dm_signals.c2255 udelta = VG_PGROUNDUP(seg_next->start - addr); in VG_()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-x86-darwin.c316 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack()
455 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
Dsyswrap-mips32-linux.c289 ctst->client_stack_highest_word = (Addr) VG_PGROUNDUP (sp); in do_clone()
295 ctid, seg->start, VG_PGROUNDUP (sp)); in do_clone()
378 len = VG_PGROUNDUP(len); in notify_core_of_mmap()
394 len = VG_PGROUNDUP(len); in notify_tool_of_mmap()
Dsyswrap-amd64-darwin.c358 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack()
505 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
Dsyswrap-arm64-linux.c290 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(child_xsp); in do_clone()
297 ctid, seg->start, VG_PGROUNDUP(child_xsp)); in do_clone()
Dsyswrap-generic.c141 *len = VG_PGROUNDUP(*a + *len) - ra; in page_align_addr_and_len()
153 len = VG_PGROUNDUP(len); in notify_core_of_mmap()
169 len = VG_PGROUNDUP(len); in notify_tool_of_mmap()
270 old_len = VG_PGROUNDUP(old_len); in do_mremap()
271 new_len = VG_PGROUNDUP(new_len); in do_mremap()
1215 newbrkP = VG_PGROUNDUP(newbrk); in do_brk()
1873 SizeT segmentSize = VG_PGROUNDUP(get_shm_size(arg0)); in ML_()
1898 (ULong)VG_PGROUNDUP(segmentSize), in ML_()
3681 PRE_MEM_WRITE( "mincore(vec)", ARG3, VG_PGROUNDUP(ARG2) / VKI_PAGE_SIZE ); in PRE()
3685 POST_MEM_WRITE( ARG3, VG_PGROUNDUP(ARG2) / VKI_PAGE_SIZE ); in POST()
Dsyswrap-ppc64-linux.c347 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone()
354 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
Dsyswrap-ppc32-linux.c320 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone()
327 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
Dsyswrap-darwin.c185 tst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in find_stack_segment()
190 tid, seg->start, VG_PGROUNDUP(sp)); in find_stack_segment()
3999 Addr end = VG_PGROUNDUP((Addr)desc->out_of_line.address + in import_complex_message()
4018 …Addr end = VG_PGROUNDUP((Addr)desc->ool_ports.address + desc->ool_ports.count * sizeof(mach_port_t… in import_complex_message()
4152 Addr end = VG_PGROUNDUP((Addr)desc->out_of_line.address + size); in export_complex_message()
4168 Addr end = VG_PGROUNDUP((Addr)desc->ool_ports.address + size); in export_complex_message()
5395 Addr end = VG_PGROUNDUP(MACH_ARG(vm_deallocate.address) + in POST()
5451 Addr end = VG_PGROUNDUP(MACH_ARG(vm_protect.address) + in POST()
5768 reply->address, VG_PGROUNDUP(MACH_ARG(vm_map.size)), in POST()
5846 reply->target_address, VG_PGROUNDUP(MACH_ARG(vm_remap.size)), in POST()
[all …]
Dsyswrap-amd64-linux.c274 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(rsp); in do_clone()
281 ctid, seg->start, VG_PGROUNDUP(rsp)); in do_clone()
Dsyswrap-s390x-linux.c272 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone()
279 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
Dsyswrap-arm-linux.c220 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone()
227 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
Dsyswrap-x86-linux.c285 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(esp); in do_clone()
292 ctid, seg->start, VG_PGROUNDUP(esp)); in do_clone()
/external/valgrind/main/coregrind/m_initimg/
Dinitimg-linux.c104 VG_(brk_base) = VG_(brk_limit) = VG_PGROUNDUP(info->brkbase); in load_client()
488 clstack_max_size = VG_PGROUNDUP(clstack_max_size); in setup_client_stack()
912 szB = VG_PGROUNDUP(szB); in VG_()
950 dseg_max_size = VG_PGROUNDUP(dseg_max_size); in VG_()
Dinitimg-darwin.c409 clstack_max_size = VG_PGROUNDUP(clstack_max_size); in setup_client_stack()
/external/valgrind/main/include/
Dpub_tool_libcbase.h205 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE) macro
/external/valgrind/main/coregrind/m_aspacemgr/
Daspacemgr-linux.c1687 aspacem_vStart = VG_PGROUNDUP(aspacem_minAddr in VG_()
2284 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2353 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2411 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2509 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2591 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2649 len = VG_PGROUNDUP(len); in am_munmap_both_wrk()
/external/valgrind/main/coregrind/m_coredump/
Dcoredump-elf.c645 off = VG_PGROUNDUP(off); in make_elf_coredump()
/external/valgrind/main/memcheck/
Dmc_leakcheck.c986 ptr = VG_PGROUNDUP(ptr+1); // First page is bad - skip it. in lc_scan_memory()
/external/valgrind/main/massif/
Dms_main.c1852 len = VG_PGROUNDUP(len); in ms_new_mem_startup()

12