MCPcopy Create free account
hub / github.com/SergeyMakeev/smmalloc / mi_segment_alloc

Function mi_segment_alloc

extern/mimalloc/src/segment.c:859–936  ·  view source on GitHub ↗

Allocate a segment from the OS aligned to `MI_SEGMENT_SIZE` .

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Calls 15

_mi_current_thread_countFunction · 0.85
mi_option_getFunction · 0.85
mi_option_is_enabledFunction · 0.85
mi_segment_os_allocFunction · 0.85
_mi_memzeroFunction · 0.85
_mi_thread_idFunction · 0.85
_mi_ptr_cookieFunction · 0.85
_mi_stat_increaseFunction · 0.85
mi_segment_info_sizeFunction · 0.85
_mi_os_page_sizeFunction · 0.85
_mi_os_protectFunction · 0.85

Tested by

no test coverage detected