MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi_os_page_align_area_conservative

Function mi_os_page_align_area_conservative

3rd/mimalloc-2.0.9/src/os.c:908–910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906}
907
908static void* mi_os_page_align_area_conservative(void* addr, size_t size, size_t* newsize) {
909 return mi_os_page_align_areax(true, addr, size, newsize);
910}
911
912static void mi_mprotect_hint(int err) {
913#if defined(MI_OS_USE_MMAP) && (MI_SECURE>=2) // guard page around every mimalloc page

Callers 3

mi_os_resetxFunction · 0.85
mi_os_protectxFunction · 0.85
_mi_os_shrinkFunction · 0.85

Calls 1

mi_os_page_align_areaxFunction · 0.85

Tested by

no test coverage detected