Searched refs:end_aligned (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan.cpp | 500 const uptr end_aligned = RoundDownTo(end_origin_addr, page_size); in ReleaseOrigins() local 502 if (!MmapFixedSuperNoReserve(beg_aligned, end_aligned - beg_aligned)) in ReleaseOrigins() 534 const uptr end_aligned = RoundDownTo(end_shadow_addr, page_size); in ReleaseOrClearShadows() local 536 if (beg_aligned >= end_aligned) { in ReleaseOrClearShadows() 541 if (end_aligned != end_shadow_addr) in ReleaseOrClearShadows() 542 WriteZeroShadowInRange(end_aligned, end_shadow_addr); 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 | 61 uptr end_aligned = RoundDownTo(end, 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 | 421 uptr end_aligned = RoundDownTo(end, GetPageSize()); in ReleaseMemoryPagesToOS() local 422 if (beg_aligned < end_aligned) { in ReleaseMemoryPagesToOS() 427 end_aligned - beg_aligned, nullptr, 0); in ReleaseMemoryPagesToOS()
|
H A D | sanitizer_win.cpp | 369 end_aligned = RoundDownTo(end, 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()
|