/external/valgrind/memcheck/tests/ |
D | unit_libcbase.c | 274 CHECK( 0 == VG_PGROUNDUP(0) ); 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() 277 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(3) ); in test_VG_ROUND_et_al() 278 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(4) ); in test_VG_ROUND_et_al() 279 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(VKI_PAGE_SIZE-1) ); in test_VG_ROUND_et_al() 280 CHECK( VKI_PAGE_SIZE == VG_PGROUNDUP(VKI_PAGE_SIZE ) ); in test_VG_ROUND_et_al() 281 CHECK( VKI_PAGE_SIZE*2 == VG_PGROUNDUP(VKI_PAGE_SIZE+1) ); in test_VG_ROUND_et_al()
|
/external/valgrind/coregrind/m_ume/ |
D | elf.c | 206 if (VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr) > 0) { in mapelf() 210 VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr), in mapelf() 216 VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr)); in mapelf() 223 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss); in mapelf() 227 VG_PGROUNDUP(bss), bytes, in mapelf() 231 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() 376 vki_size_t stacksize = VG_PGROUNDUP(default_stack_size()); in load_unixthread() 408 requested_size = VG_PGROUNDUP(requested_size); in handle_lcmain()
|
/external/valgrind/coregrind/ |
D | m_stacktrace.c | 203 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_() 484 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_() 682 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_() 947 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_() 1091 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_() 1180 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_() 1273 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_() 1419 fp_max = VG_PGROUNDUP(fp_max_orig); in VG_()
|
D | m_addrinfo.c | 241 tid = find_tid_with_stack_containing (VG_PGROUNDUP(a+1)); in VG_()
|
D | m_mallocfree.c | 845 cszB = VG_PGROUNDUP(cszB); in newSuperblock() 2439 frag = VG_PGROUNDUP((Addr) sb in VG_()
|
D | m_main.c | 568 = VG_PGROUNDUP(VG_(clo_valgrind_stacksize));} in main_process_cmd_line_options() 2263 Addr co_endPlus = VG_PGROUNDUP( (Addr)&VG_(trampoline_stuff_end) ); in valgrind_main()
|
D | m_signals.c | 2298 udelta = VG_PGROUNDUP(seg_next->start - addr); in VG_()
|
/external/valgrind/coregrind/m_initimg/ |
D | initimg-linux.c | 103 VG_(brk_base) = VG_(brk_limit) = VG_PGROUNDUP(info->brkbase); in load_client() 494 clstack_max_size = VG_PGROUNDUP(clstack_max_size); in setup_client_stack() 958 szB = VG_PGROUNDUP(szB); in VG_() 997 dseg_max_size = VG_PGROUNDUP(dseg_max_size); in VG_()
|
D | initimg-darwin.c | 399 clstack_max_size = VG_PGROUNDUP(clstack_max_size); in setup_client_stack()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-x86-darwin.c | 315 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack() 476 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
|
D | syswrap-amd64-darwin.c | 374 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack() 528 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
|
D | syswrap-generic.c | 84 tst->client_stack_highest_byte = (Addr)VG_PGROUNDUP(sp)-1; in ML_() 172 *len = VG_PGROUNDUP(*a + *len) - ra; in page_align_addr_and_len() 184 len = VG_PGROUNDUP(len); in notify_core_of_mmap() 200 len = VG_PGROUNDUP(len); in notify_tool_of_mmap() 301 old_len = VG_PGROUNDUP(old_len); in do_mremap() 302 new_len = VG_PGROUNDUP(new_len); in do_mremap() 1250 newbrkP = VG_PGROUNDUP(newbrk); in do_brk() 1916 SizeT segmentSize = VG_PGROUNDUP(get_shm_size(arg0)); in ML_() 1941 (ULong)VG_PGROUNDUP(segmentSize), in ML_() 3761 PRE_MEM_WRITE( "mincore(vec)", ARG3, VG_PGROUNDUP(ARG2) / VKI_PAGE_SIZE ); in PRE() [all …]
|
D | syswrap-mips32-linux.c | 361 len = VG_PGROUNDUP(len); in notify_core_of_mmap() 377 len = VG_PGROUNDUP(len); in notify_tool_of_mmap()
|
D | syswrap-darwin.c | 4604 Addr end = VG_PGROUNDUP((Addr)desc->out_of_line.address + in import_complex_message() 4623 …Addr end = VG_PGROUNDUP((Addr)desc->ool_ports.address + desc->ool_ports.count * sizeof(mach_port_t… in import_complex_message() 4757 Addr end = VG_PGROUNDUP((Addr)desc->out_of_line.address + size); in export_complex_message() 4773 Addr end = VG_PGROUNDUP((Addr)desc->ool_ports.address + size); in export_complex_message() 6113 Addr end = VG_PGROUNDUP(MACH_ARG(vm_deallocate.address) + in POST() 6169 Addr end = VG_PGROUNDUP(MACH_ARG(vm_protect.address) + in POST() 6486 reply->address, VG_PGROUNDUP(MACH_ARG(vm_map.size)), in POST() 6564 reply->target_address, VG_PGROUNDUP(MACH_ARG(vm_remap.size)), in POST() 6807 Addr end = VG_PGROUNDUP(MACH_ARG(mach_vm_deallocate.address) + in POST() 6862 Addr end = VG_PGROUNDUP(MACH_ARG(mach_vm_protect.address) + in POST() [all …]
|
D | syswrap-linux.c | 1698 size = VG_PGROUNDUP(sizeof(struct vki_aio_ring) + in POST() 1729 size = VG_PGROUNDUP(sizeof(struct vki_aio_ring) + in PRE()
|
/external/valgrind/include/ |
D | pub_tool_libcbase.h | 198 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE) macro
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 1618 aspacem_vStart = VG_PGROUNDUP(aspacem_minAddr in VG_() 2215 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2284 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2342 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2440 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2522 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2597 len = VG_PGROUNDUP(len); in am_munmap_both_wrk()
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-elf.c | 697 off = VG_PGROUNDUP(off); in make_elf_coredump()
|
/external/valgrind/memcheck/ |
D | mc_leakcheck.c | 1014 ptr = VG_PGROUNDUP(ptr+1); // First page is bad - skip it. in lc_scan_memory()
|
/external/valgrind/massif/ |
D | ms_main.c | 1841 len = VG_PGROUNDUP(len); in ms_new_mem_startup()
|