/external/valgrind/main/memcheck/tests/ |
D | unit_libcbase.c | 254 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/ |
D | elf.c | 208 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()
|
D | macho.c | 235 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/ |
D | m_stacktrace.c | 204 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_()
|
D | m_mallocfree.c | 808 cszB = VG_PGROUNDUP(cszB); in newSuperblock()
|
D | m_signals.c | 2255 udelta = VG_PGROUNDUP(seg_next->start - addr); in VG_()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-x86-darwin.c | 316 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack() 455 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
|
D | syswrap-mips32-linux.c | 289 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()
|
D | syswrap-amd64-darwin.c | 358 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack() 505 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
|
D | syswrap-arm64-linux.c | 290 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(child_xsp); in do_clone() 297 ctid, seg->start, VG_PGROUNDUP(child_xsp)); in do_clone()
|
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() 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()
|
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 | 320 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone() 327 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
|
D | syswrap-darwin.c | 185 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 …]
|
D | syswrap-amd64-linux.c | 274 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(rsp); in do_clone() 281 ctid, seg->start, VG_PGROUNDUP(rsp)); in do_clone()
|
D | syswrap-s390x-linux.c | 272 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone() 279 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
|
D | syswrap-arm-linux.c | 220 ctst->client_stack_highest_word = (Addr)VG_PGROUNDUP(sp); in do_clone() 227 ctid, seg->start, VG_PGROUNDUP(sp)); in do_clone()
|
D | syswrap-x86-linux.c | 285 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/ |
D | initimg-linux.c | 104 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_()
|
D | initimg-darwin.c | 409 clstack_max_size = VG_PGROUNDUP(clstack_max_size); in setup_client_stack()
|
/external/valgrind/main/include/ |
D | pub_tool_libcbase.h | 205 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE) macro
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 1687 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/ |
D | coredump-elf.c | 645 off = VG_PGROUNDUP(off); in make_elf_coredump()
|
/external/valgrind/main/memcheck/ |
D | mc_leakcheck.c | 986 ptr = VG_PGROUNDUP(ptr+1); // First page is bad - skip it. in lc_scan_memory()
|
/external/valgrind/main/massif/ |
D | ms_main.c | 1852 len = VG_PGROUNDUP(len); in ms_new_mem_startup()
|