Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SergeyMakeev/smmalloc
/ functions
Functions
1,996 in github.com/SergeyMakeev/smmalloc
⨍
Functions
1,996
◇
Types & classes
311
↓ 102 callers
Function
mi_free
Free a block fast path written carefully to prevent spilling on the stack
extern/mimalloc/src/alloc.c:561
↓ 52 callers
Function
malloc
extern/hoard/Heap-Layers/wrappers/gnuwrapper-hooks.cpp:264
↓ 51 callers
Function
free
extern/hoard/Heap-Layers/wrappers/gnuwrapper-hooks.cpp:268
↓ 40 callers
Function
mi_prim_get_default_heap
extern/mimalloc/include/mimalloc/prim.h:273
↓ 39 callers
Function
mi_unlikely
extern/mimalloc/src/alloc.c:490
↓ 31 callers
Function
_mi_os_page_size
OS (small) page size
extern/mimalloc/src/os.c:38
↓ 31 callers
Function
free
extern/ltalloc/gnu.make.lib/gnuwrapper.cc:19
↓ 31 callers
Function
malloc
extern/ltalloc/gnu.make.lib/gnuwrapper.cc:14
↓ 30 callers
Function
mi_malloc
extern/mimalloc/src/alloc.c:175
↓ 30 callers
Method
size
extern/hoard/Heap-Layers/heaps/objectrep/sizeownerheap.h:81
↓ 29 callers
Function
mi_malloc_aligned
extern/mimalloc/src/alloc-aligned.c:191
↓ 27 callers
Function
_mi_page_segment
Segment belonging to a page
extern/mimalloc/include/mimalloc/internal.h:426
↓ 27 callers
Function
_mi_warning_message
extern/mimalloc/src/options.c:366
↓ 26 callers
Function
_mi_fprintf
extern/mimalloc/src/options.c:324
↓ 26 callers
Function
_sm_malloc
SmMalloc/smmalloc.h:1074
↓ 26 callers
Function
mi_page_block_size
Get the block size of a page (special case for huge objects)
extern/mimalloc/include/mimalloc/internal.h:465
↓ 25 callers
Function
check_zero_init
--------------------------------------------------------------------------- Helper functions ---------------------------------------------------------
extern/mimalloc/test/test-api-fill.c:301
↓ 24 callers
Function
_mi_ptr_segment
Segment that contains the pointer Large aligned blocks may be aligned at N*MI_SEGMENT_SIZE (inside a huge segment > MI_SEGMENT_SIZE), and we need alig
extern/mimalloc/include/mimalloc/internal.h:410
↓ 24 callers
Function
mi_option_get
extern/mimalloc/src/options.c:114
↓ 23 callers
Function
xxmalloc
extern/hoard/source/libhoard.cpp:120
↓ 22 callers
Function
IsAligned
smmalloc_test01.cpp:7
↓ 22 callers
Function
_mi_align_up
Align upwards
extern/mimalloc/include/mimalloc/internal.h:288
↓ 22 callers
Function
mi_page_heap
Heap access
extern/mimalloc/include/mimalloc/internal.h:507
↓ 21 callers
Function
getMainHoardHeap
extern/hoard/source/libhoard.cpp:98
↓ 21 callers
Function
mi_heap_is_initialized
extern/mimalloc/include/mimalloc/internal.h:384
↓ 21 callers
Function
mi_option_is_enabled
extern/mimalloc/src/options.c:154
↓ 20 callers
Function
atomic_load_ptr
extern/rpmalloc/rpmalloc.c:177
↓ 20 callers
Function
xxfree
extern/hoard/source/libhoard.cpp:135
↓ 19 callers
Function
check_debug_fill_uninit
extern/mimalloc/test/test-api-fill.c:312
↓ 19 callers
Method
isValid
extern/hoard/include/hoard/hoardmanager.h:198
↓ 19 callers
Function
mi_stat_add
must be thread safe as it is called from stats_merge
extern/mimalloc/src/stats.c:75
↓ 18 callers
Function
_mi_error_message
extern/mimalloc/src/options.c:419
↓ 18 callers
Function
mi_usable_size
extern/mimalloc/src/alloc.c:644
↓ 17 callers
Function
_sm_free
SmMalloc/smmalloc.h:1079
↓ 16 callers
Function
_mi_verbose_message
extern/mimalloc/src/options.c:350
↓ 16 callers
Function
_sm_msize
SmMalloc/smmalloc.h:1086
↓ 16 callers
Function
mi_heap_malloc
extern/mimalloc/src/alloc.c:171
↓ 16 callers
Function
mi_print_amount
extern/mimalloc/src/stats.c:168
↓ 15 callers
Function
CUSTOM_MALLOC
extern/hoard/Heap-Layers/wrappers/wrapper.cpp:134
↓ 15 callers
Function
_mi_heap_random_next
extern/mimalloc/src/heap.c:236
↓ 15 callers
Function
_mi_thread_id
extern/mimalloc/src/init.c:139
↓ 15 callers
Function
mi_page_usable_block_size
Get the usable block size of a page without fixed padding. This may still include internal padding due to alignment and rounding up size classes.
extern/mimalloc/include/mimalloc/internal.h:484
↓ 14 callers
Function
GetBucketSizeInBytesByIndex
SmMalloc/smmalloc.h:303
↓ 14 callers
Function
_mi_stat_decrease
extern/mimalloc/src/stats.c:70
↓ 14 callers
Function
_mi_stat_increase
extern/mimalloc/src/stats.c:66
↓ 14 callers
Function
getSizeClass
extern/hoard/Heap-Layers/heaps/general/dlheap.h:305
↓ 14 callers
Method
isValidSuperblock
extern/hoard/include/hoard/hoardsuperblock.h:105
↓ 13 callers
Method
get
Get the head of the list.
extern/hoard/Heap-Layers/utility/dllist.h:62
↓ 13 callers
Function
mi_stat_print
extern/mimalloc/src/stats.c:221
↓ 12 callers
Method
join
extern/hoard/Heap-Layers/threads/fred.h:53
↓ 12 callers
Function
ltmalloc
extern/ltalloc/ltalloc.cc:635
↓ 12 callers
Function
mi_atomic_addi64_relaxed
These are used by the statistics
extern/mimalloc/include/mimalloc/atomic.h:111
↓ 12 callers
Function
mi_bitmap_index_field
Get the field index from a bit index.
extern/mimalloc/src/bitmap.h:49
↓ 11 callers
Function
SPINLOCK_ACQUIRE
extern/ltalloc/ltalloc.cc:112
↓ 11 callers
Function
_mi_arena_id_none
extern/mimalloc/src/arena.c:83
↓ 11 callers
Function
_sm_realloc
SmMalloc/smmalloc.h:1081
↓ 11 callers
Function
mi_page_is_in_full
----------------------------------------------------------- Page flags -----------------------------------------------------------
extern/mimalloc/include/mimalloc/internal.h:568
↓ 11 callers
Function
mi_segment_size
size of a segment
extern/mimalloc/include/mimalloc/internal.h:489
↓ 11 callers
Function
xxmalloc_usable_size
extern/hoard/source/libhoard.cpp:140
↓ 10 callers
Function
_mi_clock_now
extern/mimalloc/src/stats.c:422
↓ 10 callers
Function
_mi_page_start
Quick page start for initialized pages
extern/mimalloc/include/mimalloc/internal.h:455
↓ 10 callers
Function
ltfree
extern/ltalloc/ltalloc.cc:692
↓ 10 callers
Function
mi_bitmap_mask_
The bit mask for a given number of blocks at a specified bit index.
extern/mimalloc/src/bitmap.c:28
↓ 10 callers
Function
mi_block_set_next
extern/mimalloc/include/mimalloc/internal.h:683
↓ 10 callers
Function
mi_free_aligned
extern/mimalloc/src/alloc.c:665
↓ 10 callers
Function
mi_page_immediate_available
are there immediately available blocks, i.e. blocks available on the free list.
extern/mimalloc/include/mimalloc/internal.h:547
↓ 10 callers
Function
mi_stat_counter_add
extern/mimalloc/src/stats.c:85
↓ 9 callers
Function
_mi_page_free_collect
extern/mimalloc/src/page.c:218
↓ 9 callers
Function
_sm_allocator_create
SmMalloc/smmalloc.h:1011
↓ 9 callers
Function
_sm_allocator_destroy
SmMalloc/smmalloc.h:1034
↓ 9 callers
Function
atomic_cas_ptr
extern/rpmalloc/rpmalloc.c:1581
↓ 9 callers
Function
getClassSize
extern/hoard/Heap-Layers/heaps/general/dlheap.h:275
↓ 9 callers
Function
getCustomHeap
extern/hoard/source/mactls.cpp:88
↓ 9 callers
Method
getLimit
Return the end of the current chunk.
extern/hoard/Heap-Layers/heaps/special/obstackheap.h:206
↓ 9 callers
Method
getLimit
Return the end of the current chunk.
extern/hoard/Heap-Layers/heaps/special/obstack.h:212
↓ 9 callers
Function
mi_block_next
extern/mimalloc/include/mimalloc/internal.h:667
↓ 9 callers
Function
mi_count_size_overflow
Safe multiply `count*size` into `total`; return `true` on overflow.
extern/mimalloc/include/mimalloc/internal.h:358
↓ 9 callers
Function
mi_heap_new
extern/mimalloc/src/heap.c:228
↓ 9 callers
Function
mi_segment_slices_end
extern/mimalloc/src/segment.c:161
↓ 9 callers
Method
setPrev
extern/hoard/include/hoard/hoardsuperblock.h:160
↓ 8 callers
Method
GetBucketElementsCount
SmMalloc/smmalloc.h:815
↓ 8 callers
Function
_memory_unmap
Unmap pages from virtual memory
extern/rpmalloc/rpmalloc.c:1567
↓ 8 callers
Function
_mi_memcpy
extern/mimalloc/include/mimalloc/internal.h:921
↓ 8 callers
Function
_mi_ptr_page
Get the page containing the pointer
extern/mimalloc/include/mimalloc/internal.h:460
↓ 8 callers
Function
chance
extern/mimalloc/test/test-stress.c:94
↓ 8 callers
Method
getTotalObjects
extern/hoard/include/hoard/hoardsuperblock.h:110
↓ 8 callers
Function
mi_commit_mask_is_empty
extern/mimalloc/include/mimalloc/internal.h:709
↓ 8 callers
Function
mi_new_aligned_nothrow
extern/mimalloc/src/alloc.c:1014
↓ 8 callers
Function
mi_new_nothrow
extern/mimalloc/src/alloc.c:999
↓ 8 callers
Function
mi_page_all_free
are all blocks in a page freed? note: needs up-to-date used count, (as the `xthread_free` list may not be empty). see `_mi_page_collect_free`.
extern/mimalloc/include/mimalloc/internal.h:535
↓ 8 callers
Function
page_size
extern/ltalloc/ltalloc.cc:139
↓ 8 callers
Function
qround
extern/mimalloc/src/random.c:40
↓ 7 callers
Function
CUSTOM_FREE
extern/hoard/Heap-Layers/wrappers/wrapper.cpp:129
↓ 7 callers
Function
_mi_divide_up
Divide upwards: `s <= _mi_divide_up(s,d)*d < s+d`.
extern/mimalloc/include/mimalloc/internal.h:312
↓ 7 callers
Function
_mi_memid_none
extern/mimalloc/include/mimalloc/internal.h:748
↓ 7 callers
Function
_mi_memzero
extern/mimalloc/include/mimalloc/internal.h:929
↓ 7 callers
Function
_mi_page_is_valid
extern/mimalloc/src/page.c:118
↓ 7 callers
Function
_mi_ptr_cookie
extern/mimalloc/include/mimalloc/internal.h:389
↓ 7 callers
Function
_span_class_from_page_count
Get the span size class from page count
extern/rpmalloc/rpmalloc.c:427
↓ 7 callers
Method
clear
Clear the list.
extern/hoard/Heap-Layers/utility/dllist.h:51
next →
1–100 of 1,996, ranked by callers