MCPcopy Create free account

hub / github.com/SergeyMakeev/smmalloc / functions

Functions1,996 in github.com/SergeyMakeev/smmalloc

↓ 102 callersFunctionmi_free
Free a block fast path written carefully to prevent spilling on the stack
extern/mimalloc/src/alloc.c:561
↓ 52 callersFunctionmalloc
extern/hoard/Heap-Layers/wrappers/gnuwrapper-hooks.cpp:264
↓ 51 callersFunctionfree
extern/hoard/Heap-Layers/wrappers/gnuwrapper-hooks.cpp:268
↓ 40 callersFunctionmi_prim_get_default_heap
extern/mimalloc/include/mimalloc/prim.h:273
↓ 39 callersFunctionmi_unlikely
extern/mimalloc/src/alloc.c:490
↓ 31 callersFunction_mi_os_page_size
OS (small) page size
extern/mimalloc/src/os.c:38
↓ 31 callersFunctionfree
extern/ltalloc/gnu.make.lib/gnuwrapper.cc:19
↓ 31 callersFunctionmalloc
extern/ltalloc/gnu.make.lib/gnuwrapper.cc:14
↓ 30 callersFunctionmi_malloc
extern/mimalloc/src/alloc.c:175
↓ 30 callersMethodsize
extern/hoard/Heap-Layers/heaps/objectrep/sizeownerheap.h:81
↓ 29 callersFunctionmi_malloc_aligned
extern/mimalloc/src/alloc-aligned.c:191
↓ 27 callersFunction_mi_page_segment
Segment belonging to a page
extern/mimalloc/include/mimalloc/internal.h:426
↓ 27 callersFunction_mi_warning_message
extern/mimalloc/src/options.c:366
↓ 26 callersFunction_mi_fprintf
extern/mimalloc/src/options.c:324
↓ 26 callersFunction_sm_malloc
SmMalloc/smmalloc.h:1074
↓ 26 callersFunctionmi_page_block_size
Get the block size of a page (special case for huge objects)
extern/mimalloc/include/mimalloc/internal.h:465
↓ 25 callersFunctioncheck_zero_init
--------------------------------------------------------------------------- Helper functions ---------------------------------------------------------
extern/mimalloc/test/test-api-fill.c:301
↓ 24 callersFunction_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 callersFunctionmi_option_get
extern/mimalloc/src/options.c:114
↓ 23 callersFunctionxxmalloc
extern/hoard/source/libhoard.cpp:120
↓ 22 callersFunctionIsAligned
smmalloc_test01.cpp:7
↓ 22 callersFunction_mi_align_up
Align upwards
extern/mimalloc/include/mimalloc/internal.h:288
↓ 22 callersFunctionmi_page_heap
Heap access
extern/mimalloc/include/mimalloc/internal.h:507
↓ 21 callersFunctiongetMainHoardHeap
extern/hoard/source/libhoard.cpp:98
↓ 21 callersFunctionmi_heap_is_initialized
extern/mimalloc/include/mimalloc/internal.h:384
↓ 21 callersFunctionmi_option_is_enabled
extern/mimalloc/src/options.c:154
↓ 20 callersFunctionatomic_load_ptr
extern/rpmalloc/rpmalloc.c:177
↓ 20 callersFunctionxxfree
extern/hoard/source/libhoard.cpp:135
↓ 19 callersFunctioncheck_debug_fill_uninit
extern/mimalloc/test/test-api-fill.c:312
↓ 19 callersMethodisValid
extern/hoard/include/hoard/hoardmanager.h:198
↓ 19 callersFunctionmi_stat_add
must be thread safe as it is called from stats_merge
extern/mimalloc/src/stats.c:75
↓ 18 callersFunction_mi_error_message
extern/mimalloc/src/options.c:419
↓ 18 callersFunctionmi_usable_size
extern/mimalloc/src/alloc.c:644
↓ 17 callersFunction_sm_free
SmMalloc/smmalloc.h:1079
↓ 16 callersFunction_mi_verbose_message
extern/mimalloc/src/options.c:350
↓ 16 callersFunction_sm_msize
SmMalloc/smmalloc.h:1086
↓ 16 callersFunctionmi_heap_malloc
extern/mimalloc/src/alloc.c:171
↓ 16 callersFunctionmi_print_amount
extern/mimalloc/src/stats.c:168
↓ 15 callersFunctionCUSTOM_MALLOC
extern/hoard/Heap-Layers/wrappers/wrapper.cpp:134
↓ 15 callersFunction_mi_heap_random_next
extern/mimalloc/src/heap.c:236
↓ 15 callersFunction_mi_thread_id
extern/mimalloc/src/init.c:139
↓ 15 callersFunctionmi_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 callersFunctionGetBucketSizeInBytesByIndex
SmMalloc/smmalloc.h:303
↓ 14 callersFunction_mi_stat_decrease
extern/mimalloc/src/stats.c:70
↓ 14 callersFunction_mi_stat_increase
extern/mimalloc/src/stats.c:66
↓ 14 callersFunctiongetSizeClass
extern/hoard/Heap-Layers/heaps/general/dlheap.h:305
↓ 14 callersMethodisValidSuperblock
extern/hoard/include/hoard/hoardsuperblock.h:105
↓ 13 callersMethodget
Get the head of the list.
extern/hoard/Heap-Layers/utility/dllist.h:62
↓ 13 callersFunctionmi_stat_print
extern/mimalloc/src/stats.c:221
↓ 12 callersMethodjoin
extern/hoard/Heap-Layers/threads/fred.h:53
↓ 12 callersFunctionltmalloc
extern/ltalloc/ltalloc.cc:635
↓ 12 callersFunctionmi_atomic_addi64_relaxed
These are used by the statistics
extern/mimalloc/include/mimalloc/atomic.h:111
↓ 12 callersFunctionmi_bitmap_index_field
Get the field index from a bit index.
extern/mimalloc/src/bitmap.h:49
↓ 11 callersFunctionSPINLOCK_ACQUIRE
extern/ltalloc/ltalloc.cc:112
↓ 11 callersFunction_mi_arena_id_none
extern/mimalloc/src/arena.c:83
↓ 11 callersFunction_sm_realloc
SmMalloc/smmalloc.h:1081
↓ 11 callersFunctionmi_page_is_in_full
----------------------------------------------------------- Page flags -----------------------------------------------------------
extern/mimalloc/include/mimalloc/internal.h:568
↓ 11 callersFunctionmi_segment_size
size of a segment
extern/mimalloc/include/mimalloc/internal.h:489
↓ 11 callersFunctionxxmalloc_usable_size
extern/hoard/source/libhoard.cpp:140
↓ 10 callersFunction_mi_clock_now
extern/mimalloc/src/stats.c:422
↓ 10 callersFunction_mi_page_start
Quick page start for initialized pages
extern/mimalloc/include/mimalloc/internal.h:455
↓ 10 callersFunctionltfree
extern/ltalloc/ltalloc.cc:692
↓ 10 callersFunctionmi_bitmap_mask_
The bit mask for a given number of blocks at a specified bit index.
extern/mimalloc/src/bitmap.c:28
↓ 10 callersFunctionmi_block_set_next
extern/mimalloc/include/mimalloc/internal.h:683
↓ 10 callersFunctionmi_free_aligned
extern/mimalloc/src/alloc.c:665
↓ 10 callersFunctionmi_page_immediate_available
are there immediately available blocks, i.e. blocks available on the free list.
extern/mimalloc/include/mimalloc/internal.h:547
↓ 10 callersFunctionmi_stat_counter_add
extern/mimalloc/src/stats.c:85
↓ 9 callersFunction_mi_page_free_collect
extern/mimalloc/src/page.c:218
↓ 9 callersFunction_sm_allocator_create
SmMalloc/smmalloc.h:1011
↓ 9 callersFunction_sm_allocator_destroy
SmMalloc/smmalloc.h:1034
↓ 9 callersFunctionatomic_cas_ptr
extern/rpmalloc/rpmalloc.c:1581
↓ 9 callersFunctiongetClassSize
extern/hoard/Heap-Layers/heaps/general/dlheap.h:275
↓ 9 callersFunctiongetCustomHeap
extern/hoard/source/mactls.cpp:88
↓ 9 callersMethodgetLimit
Return the end of the current chunk.
extern/hoard/Heap-Layers/heaps/special/obstackheap.h:206
↓ 9 callersMethodgetLimit
Return the end of the current chunk.
extern/hoard/Heap-Layers/heaps/special/obstack.h:212
↓ 9 callersFunctionmi_block_next
extern/mimalloc/include/mimalloc/internal.h:667
↓ 9 callersFunctionmi_count_size_overflow
Safe multiply `count*size` into `total`; return `true` on overflow.
extern/mimalloc/include/mimalloc/internal.h:358
↓ 9 callersFunctionmi_heap_new
extern/mimalloc/src/heap.c:228
↓ 9 callersFunctionmi_segment_slices_end
extern/mimalloc/src/segment.c:161
↓ 9 callersMethodsetPrev
extern/hoard/include/hoard/hoardsuperblock.h:160
↓ 8 callersMethodGetBucketElementsCount
SmMalloc/smmalloc.h:815
↓ 8 callersFunction_memory_unmap
Unmap pages from virtual memory
extern/rpmalloc/rpmalloc.c:1567
↓ 8 callersFunction_mi_memcpy
extern/mimalloc/include/mimalloc/internal.h:921
↓ 8 callersFunction_mi_ptr_page
Get the page containing the pointer
extern/mimalloc/include/mimalloc/internal.h:460
↓ 8 callersFunctionchance
extern/mimalloc/test/test-stress.c:94
↓ 8 callersMethodgetTotalObjects
extern/hoard/include/hoard/hoardsuperblock.h:110
↓ 8 callersFunctionmi_commit_mask_is_empty
extern/mimalloc/include/mimalloc/internal.h:709
↓ 8 callersFunctionmi_new_aligned_nothrow
extern/mimalloc/src/alloc.c:1014
↓ 8 callersFunctionmi_new_nothrow
extern/mimalloc/src/alloc.c:999
↓ 8 callersFunctionmi_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 callersFunctionpage_size
extern/ltalloc/ltalloc.cc:139
↓ 8 callersFunctionqround
extern/mimalloc/src/random.c:40
↓ 7 callersFunctionCUSTOM_FREE
extern/hoard/Heap-Layers/wrappers/wrapper.cpp:129
↓ 7 callersFunction_mi_divide_up
Divide upwards: `s <= _mi_divide_up(s,d)*d < s+d`.
extern/mimalloc/include/mimalloc/internal.h:312
↓ 7 callersFunction_mi_memid_none
extern/mimalloc/include/mimalloc/internal.h:748
↓ 7 callersFunction_mi_memzero
extern/mimalloc/include/mimalloc/internal.h:929
↓ 7 callersFunction_mi_page_is_valid
extern/mimalloc/src/page.c:118
↓ 7 callersFunction_mi_ptr_cookie
extern/mimalloc/include/mimalloc/internal.h:389
↓ 7 callersFunction_span_class_from_page_count
Get the span size class from page count
extern/rpmalloc/rpmalloc.c:427
↓ 7 callersMethodclear
Clear the list.
extern/hoard/Heap-Layers/utility/dllist.h:51
next →1–100 of 1,996, ranked by callers