Home
last modified time | relevance | path

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

12

/external/valgrind/main/memcheck/tests/
Dunit_libcbase.c252 CHECK( 0 == VG_PGROUNDUP(0) ); in test_VG_ROUND_et_al()
253 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(1) ); in test_VG_ROUND_et_al()
254 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(2) ); in test_VG_ROUND_et_al()
255 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(3) ); in test_VG_ROUND_et_al()
256 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(4) ); in test_VG_ROUND_et_al()
257 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(VKI_PAGE_SIZE-1) ); in test_VG_ROUND_et_al()
258 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(VKI_PAGE_SIZE ) ); in test_VG_ROUND_et_al()
259 CHECK( VKI_PAGE_SIZE*2 == VG_PGROUNDUP(VKI_PAGE_SIZE+1) ); in test_VG_ROUND_et_al()
/external/valgrind/main/coregrind/m_ume/
Delf.c209 if (VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr) > 0) { in mapelf()
213 VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr), in mapelf()
219 VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr)); in mapelf()
226 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss); in mapelf()
230 VG_PGROUNDUP(bss), bytes, in mapelf()
234 check_mmap(res, VG_PGROUNDUP(bss), bytes); in mapelf()
Dmacho.c225 filesize = VG_PGROUNDUP(segcmd->filesize); in load_segment()
226 vmsize = VG_PGROUNDUP(segcmd->vmsize); in load_segment()
356 vki_size_t stacksize = VG_PGROUNDUP(default_stack_size()); in load_unixthread()
/external/valgrind/main/coregrind/
Dm_stacktrace.c96 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
252 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
436 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
616 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
701 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
Dm_signals.c2074 udelta = VG_PGROUNDUP(seg_next->start - addr); in VG_()
Dm_mallocfree.c802 cszB = VG_PGROUNDUP(cszB); in newSuperblock()
/external/valgrind/main/coregrind/m_initimg/
Dinitimg-linux.c104 VG_(brk_base) = VG_(brk_limit) = VG_PGROUNDUP(info->brkbase); in load_client()
492 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/coregrind/m_syswrap/
Dsyswrap-amd64-darwin.c328 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack()
464 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
Dsyswrap-x86-darwin.c316 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack()
464 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
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()
171 len = VG_PGROUNDUP(len); in notify_tool_of_mmap()
278 old_len = VG_PGROUNDUP(old_len); in do_mremap()
279 new_len = VG_PGROUNDUP(new_len); in do_mremap()
1123 newbrkP = VG_PGROUNDUP(newbrk); in do_brk()
1785 UInt segmentSize = VG_PGROUNDUP(get_shm_size(arg0)); in ML_()
1810 (ULong)VG_PGROUNDUP(segmentSize), in ML_()
3589 PRE_MEM_WRITE( "mincore(vec)", ARG3, VG_PGROUNDUP(ARG2) / VKI_PAGE_SIZE ); in PRE()
3593 POST_MEM_WRITE( ARG3, VG_PGROUNDUP(ARG2) / VKI_PAGE_SIZE ); in POST()
Dsyswrap-darwin.c186 tst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in find_stack_segment()
191 tid, seg->start, VG_PGROUNDUP(sp)); in find_stack_segment()
3954 Addr end = VG_PGROUNDUP((Addr)desc->out_of_line.address + in import_complex_message()
3973 …Addr end = VG_PGROUNDUP((Addr)desc->ool_ports.address + desc->ool_ports.count * sizeof(mach_port_t… in import_complex_message()
4107 Addr end = VG_PGROUNDUP((Addr)desc->out_of_line.address + size); in export_complex_message()
4123 Addr end = VG_PGROUNDUP((Addr)desc->ool_ports.address + size); in export_complex_message()
5344 Addr end = VG_PGROUNDUP(MACH_ARG(vm_deallocate.address) + in POST()
5400 Addr end = VG_PGROUNDUP(MACH_ARG(vm_protect.address) + in POST()
5717 reply->address, VG_PGROUNDUP(MACH_ARG(vm_map.size)), in POST()
5795 reply->target_address, VG_PGROUNDUP(MACH_ARG(vm_remap.size)), in POST()
[all …]
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.c319 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone()
326 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
Dsyswrap-amd64-linux.c273 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(rsp); in do_clone()
280 ctid, seg->start, VG_PGROUNDUP(rsp)); in do_clone()
Dsyswrap-s390x-linux.c271 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone()
278 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
Dsyswrap-arm-linux.c218 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone()
225 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
Dsyswrap-x86-linux.c284 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(esp); in do_clone()
291 ctid, seg->start, VG_PGROUNDUP(esp)); in do_clone()
Dsyswrap-aix5.c2130 d = VG_(am_notify_client_shmat)( RES, VG_PGROUNDUP(segmentSize), prot ); in POST()
2137 (ULong)VG_PGROUNDUP(segmentSize), in POST()
/external/valgrind/main/include/
Dpub_tool_libcbase.h173 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE) macro
/external/valgrind/main/coregrind/m_aspacemgr/
Daspacemgr-linux.c1678 aspacem_vStart = VG_PGROUNDUP((aspacem_minAddr + aspacem_maxAddr + 1) / 2); in VG_()
2287 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2356 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2414 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2512 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2593 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_()
2652 len = VG_PGROUNDUP(len); in am_munmap_both_wrk()
/external/valgrind/main/memcheck/
Dmc_leakcheck.c737 ptr = VG_PGROUNDUP(ptr+1); // First page is bad - skip it. in lc_scan_memory()
772 ptr = VG_PGROUNDUP(ptr+1); // Bad page - skip it. in lc_scan_memory()
/external/valgrind/main/coregrind/m_coredump/
Dcoredump-elf.c603 off = VG_PGROUNDUP(off); in make_elf_coredump()
/external/valgrind/main/coregrind/m_scheduler/
Dscheduler.c1737 UWord vma_end_aligned = VG_PGROUNDUP(vma_end); in do_client_request()
/external/valgrind/main/massif/
Dms_main.c1880 len = VG_PGROUNDUP(len); in ms_new_mem_startup()

12