Searched refs:beg_aligned (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan.cpp | 499 const uptr beg_aligned = RoundUpTo(beg_origin_addr, page_size); in ReleaseOrigins() local 502 if (!MmapFixedSuperNoReserve(beg_aligned, end_aligned - beg_aligned)) in ReleaseOrigins() 533 const uptr beg_aligned = RoundUpTo(beg_shadow_addr, page_size); in ReleaseOrClearShadows() local 536 if (beg_aligned >= end_aligned) { in ReleaseOrClearShadows() 539 if (beg_aligned != beg_shadow_addr) in ReleaseOrClearShadows() 540 WriteZeroShadowInRange(beg_shadow_addr, beg_aligned); in ReleaseOrClearShadows() 543 if (!MmapFixedSuperNoReserve(beg_aligned, end_aligned - beg_aligned)) in ReleaseOrClearShadows()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix_libcdep.cpp | 60 uptr beg_aligned = RoundUpTo(beg, page_size); in ReleaseMemoryPagesToOS() local 62 if (beg_aligned < end_aligned) in ReleaseMemoryPagesToOS() 63 internal_madvise(beg_aligned, end_aligned - beg_aligned, in ReleaseMemoryPagesToOS()
|
H A D | sanitizer_fuchsia.cpp | 420 uptr beg_aligned = RoundUpTo(beg, GetPageSize()); in ReleaseMemoryPagesToOS() local 422 if (beg_aligned < end_aligned) { in ReleaseMemoryPagesToOS() 426 _zx_vmar_op_range(root_vmar, ZX_VMAR_OP_DECOMMIT, beg_aligned, in ReleaseMemoryPagesToOS() 427 end_aligned - beg_aligned, nullptr, 0); in ReleaseMemoryPagesToOS()
|
H A D | sanitizer_win.cpp | 368 uptr beg_aligned = RoundDownTo(beg, GetPageSizeCached()), in ReleaseMemoryPagesToOS() local 371 if (beg_aligned == end_aligned) // make sure we're freeing at least 1 page; in ReleaseMemoryPagesToOS() 373 UnmapOrDie((void *)beg, end_aligned - beg_aligned); in ReleaseMemoryPagesToOS()
|