/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 | 211 if (VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr) > 0) { in mapelf() 215 VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr), in mapelf() 221 VG_PGROUNDUP(bss)-VG_PGROUNDDN(addr)); in mapelf() 228 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss); in mapelf() 232 VG_PGROUNDUP(bss), bytes, in mapelf() 236 check_mmap(res, VG_PGROUNDUP(bss), bytes); in mapelf()
|
D | macho.c | 239 filesize = VG_PGROUNDUP(segcmd->filesize); in load_segment() 240 vmsize = VG_PGROUNDUP(segcmd->vmsize); in load_segment() 380 vki_size_t stacksize = VG_PGROUNDUP(default_stack_size()); in load_unixthread() 412 requested_size = VG_PGROUNDUP(requested_size); in handle_lcmain()
|
/external/valgrind/coregrind/ |
D | m_stacktrace.c | 224 fp_max = VG_PGROUNDUP(fp_max_orig); 517 fp_max = VG_PGROUNDUP(fp_max_orig); 729 fp_max = VG_PGROUNDUP(fp_max_orig); 994 fp_max = VG_PGROUNDUP(fp_max_orig); 1138 fp_max = VG_PGROUNDUP(fp_max_orig); 1227 fp_max = VG_PGROUNDUP(fp_max_orig); 1320 fp_max = VG_PGROUNDUP(fp_max_orig); 1466 fp_max = VG_PGROUNDUP(fp_max_orig);
|
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 | 563 = VG_PGROUNDUP(VG_(clo_valgrind_stacksize));} in main_process_cmd_line_options() 2287 Addr co_endPlus = VG_PGROUNDUP( (Addr)&VG_(trampoline_stuff_end) ); in valgrind_main()
|
D | m_signals.c | 2513 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() 964 szB = VG_PGROUNDUP(szB); in VG_() 1003 dseg_max_size = VG_PGROUNDUP(dseg_max_size); in VG_()
|
D | initimg-solaris.c | 494 clstack_max_size = VG_PGROUNDUP(clstack_max_size); in setup_client_stack() 921 szB = VG_PGROUNDUP(szB); 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() 478 stack = VG_PGROUNDUP(sp) - stacksize; in wqthread_hijack()
|
D | syswrap-amd64-darwin.c | 374 Addr stack = VG_PGROUNDUP(sp) - stacksize; in pthread_hijack() 530 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() 1313 newbrkP = VG_PGROUNDUP(newbrk); in do_brk() 2001 SizeT segmentSize = VG_PGROUNDUP(get_shm_size(arg0)); in ML_() 2026 (ULong)VG_PGROUNDUP(segmentSize), in ML_() 3892 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 | 4706 Addr end = VG_PGROUNDUP((Addr)desc->out_of_line.address + in import_complex_message() 4725 …Addr end = VG_PGROUNDUP((Addr)desc->ool_ports.address + desc->ool_ports.count * sizeof(mach_port_t… in import_complex_message() 4859 Addr end = VG_PGROUNDUP((Addr)desc->out_of_line.address + size); in export_complex_message() 4875 Addr end = VG_PGROUNDUP((Addr)desc->ool_ports.address + size); in export_complex_message() 6441 Addr end = VG_PGROUNDUP(MACH_ARG(vm_deallocate.address) + in POST() 6497 Addr end = VG_PGROUNDUP(MACH_ARG(vm_protect.address) + in POST() 6814 reply->address, VG_PGROUNDUP(MACH_ARG(vm_map.size)), in POST() 6892 reply->target_address, VG_PGROUNDUP(MACH_ARG(vm_remap.size)), in POST() 7135 Addr end = VG_PGROUNDUP(MACH_ARG(mach_vm_deallocate.address) + in POST() 7190 Addr end = VG_PGROUNDUP(MACH_ARG(mach_vm_protect.address) + in POST() [all …]
|
D | syswrap-solaris.c | 1910 initial_size = VG_PGROUNDUP(initial_size); in VG_() 1912 Addr anon_start = VG_PGROUNDUP(VG_(brk_base)); in VG_() 1913 SizeT anon_size = VG_PGROUNDUP(initial_size); in VG_() 1952 const NSegment *seg = VG_(am_find_nsegment)(VG_PGROUNDUP(VG_(brk_base))); in VG_() 1970 Addr old_brk_base_pgup = VG_PGROUNDUP(VG_(brk_base)); in PRE() 2134 Addr resvn_start = VG_PGROUNDUP(new_brk); in PRE() 2172 seg2 = VG_(am_find_nsegment)(VG_PGROUNDUP(new_brk) - 1); in PRE() 5668 end_addr = VG_PGROUNDUP(end_addr); in mmapobj_process_phdrs() 5837 SizeT zeroed_size = VG_PGROUNDUP(mapping_end) - mapping_end; in mmapobj_process_phdrs() 5905 mapping_end = VG_PGROUNDUP(mrp->mr_addr + mrp->mr_msize); in mmapobj_process_phdrs() [all …]
|
D | syswrap-linux.c | 1700 size = VG_PGROUNDUP(sizeof(struct vki_aio_ring) + in POST() 1731 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 | 1739 aspacem_vStart = VG_PGROUNDUP(aspacem_minAddr in VG_() 2396 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2465 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2523 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2621 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2703 seg.end = seg.start + VG_PGROUNDUP(length) - 1; in VG_() 2778 len = VG_PGROUNDUP(len); in am_munmap_both_wrk()
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-elf.c | 686 off = VG_PGROUNDUP(off); in make_elf_coredump()
|
/external/valgrind/memcheck/ |
D | mc_leakcheck.c | 1082 ptr = VG_PGROUNDUP(ptr+1); // First page is bad - skip it. in lc_scan_memory()
|
/external/valgrind/massif/ |
D | ms_main.c | 1842 len = VG_PGROUNDUP(len); in ms_new_mem_startup()
|