/external/valgrind/main/memcheck/tests/ |
D | unit_libcbase.c | 252 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/ |
D | elf.c | 209 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()
|
D | macho.c | 225 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/ |
D | m_stacktrace.c | 96 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_()
|
D | m_signals.c | 2074 udelta = VG_PGROUNDUP(seg_next->start - addr); in VG_()
|
D | m_mallocfree.c | 802 cszB = VG_PGROUNDUP(cszB); in newSuperblock()
|
/external/valgrind/main/coregrind/m_initimg/ |
D | initimg-linux.c | 104 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_()
|
D | initimg-darwin.c | 409 clstack_max_size = VG_PGROUNDUP(clstack_max_size); in setup_client_stack()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-amd64-darwin.c | 328 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack() 464 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
|
D | syswrap-x86-darwin.c | 316 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack() 464 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
|
D | syswrap-generic.c | 141 *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()
|
D | syswrap-darwin.c | 186 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 …]
|
D | syswrap-ppc64-linux.c | 347 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone() 354 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
|
D | syswrap-ppc32-linux.c | 319 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone() 326 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
|
D | syswrap-amd64-linux.c | 273 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(rsp); in do_clone() 280 ctid, seg->start, VG_PGROUNDUP(rsp)); in do_clone()
|
D | syswrap-s390x-linux.c | 271 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone() 278 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
|
D | syswrap-arm-linux.c | 218 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone() 225 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
|
D | syswrap-x86-linux.c | 284 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(esp); in do_clone() 291 ctid, seg->start, VG_PGROUNDUP(esp)); in do_clone()
|
D | syswrap-aix5.c | 2130 d = VG_(am_notify_client_shmat)( RES, VG_PGROUNDUP(segmentSize), prot ); in POST() 2137 (ULong)VG_PGROUNDUP(segmentSize), in POST()
|
/external/valgrind/main/include/ |
D | pub_tool_libcbase.h | 173 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE) macro
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 1678 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/ |
D | mc_leakcheck.c | 737 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/ |
D | coredump-elf.c | 603 off = VG_PGROUNDUP(off); in make_elf_coredump()
|
/external/valgrind/main/coregrind/m_scheduler/ |
D | scheduler.c | 1737 UWord vma_end_aligned = VG_PGROUNDUP(vma_end); in do_client_request()
|
/external/valgrind/main/massif/ |
D | ms_main.c | 1880 len = VG_PGROUNDUP(len); in ms_new_mem_startup()
|