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
↓ 1 callers
Function
hoardThreadFinalize
extern/hoard/source/mactls.cpp:193
↓ 1 callers
Function
hoardThreadInitialize
extern/hoard/source/mactls.cpp:189
↓ 1 callers
Function
if
extern/ltalloc/ltalloc.cc:889
↓ 1 callers
Function
initTSD
extern/hoard/source/mactls.cpp:60
↓ 1 callers
Function
initTSD
extern/hoard/source/unixtls.cpp:144
↓ 1 callers
Function
init_malloc_global_mutex
Use spin loop to initialize global lock */
extern/dlmalloc/dlmalloc.cpp:1993
↓ 1 callers
Function
initializeCustomHeap
extern/hoard/source/mactls.cpp:73
↓ 1 callers
Function
isCustomHeapInitialized
extern/hoard/source/mactls.cpp:69
↓ 1 callers
Method
isFree
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:66
↓ 1 callers
Method
isMmapped
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:68
↓ 1 callers
Method
isValid
extern/hoard/include/util/dynamichashtable.h:234
↓ 1 callers
Method
lock
extern/hoard/Heap-Layers/locks/winlock.h:57
↓ 1 callers
Function
log2
* @brief Compute the log base two. * @param sz The value we want the log of. */
extern/hoard/Heap-Layers/heaps/general/dlheap.h:263
↓ 1 callers
Function
lzcnt_nonzero
SmMalloc/smmalloc.h:203
↓ 1 callers
Method
malloc
extern/hoard/Heap-Layers/heaps/combining/hybridheap.h:52
↓ 1 callers
Method
malloc
extern/hoard/Heap-Layers/heaps/combining/strictsegheap.h:91
↓ 1 callers
Method
malloc
extern/hoard/Heap-Layers/heaps/general/dlheap.h:150
↓ 1 callers
Method
malloc
Get memory from the current superblock.
extern/hoard/include/superblocks/manageonesuperblock.h:56
↓ 1 callers
Function
malloc_usable_size
extern/hoard/Heap-Layers/wrappers/gnuwrapper-hooks.cpp:218
↓ 1 callers
Method
markInUse
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:63
↓ 1 callers
Method
markNotMmapped
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:128
↓ 1 callers
Method
markPrevFree
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:147
↓ 1 callers
Function
memalign
extern/hoard/Heap-Layers/wrappers/gnuwrapper-hooks.cpp:276
↓ 1 callers
Function
mi_abandoned_push
Push on the abandoned list.
extern/mimalloc/src/segment.c:1149
↓ 1 callers
Function
mi_add_stderr_output
add stderr to the delayed output after the module is loaded
extern/mimalloc/src/options.c:252
↓ 1 callers
Function
mi_allocator_done
extern/mimalloc/src/init.c:515
↓ 1 callers
Function
mi_allocator_init
extern/mimalloc/src/init.c:511
↓ 1 callers
Function
mi_arena_add
extern/mimalloc/src/arena.c:732
↓ 1 callers
Function
mi_arena_memid_indices
extern/mimalloc/src/arena.c:130
↓ 1 callers
Function
mi_arena_meta_free
extern/mimalloc/src/arena.c:185
↓ 1 callers
Function
mi_arena_meta_zalloc
extern/mimalloc/src/arena.c:174
↓ 1 callers
Function
mi_arena_purge_range
purge a range of blocks return true if the full range was purged. assumes we own the area (i.e. blocks_in_use is claimed by us)
extern/mimalloc/src/arena.c:491
↓ 1 callers
Function
mi_arena_reserve
try to reserve a fresh arena space
extern/mimalloc/src/arena.c:337
↓ 1 callers
Function
mi_arena_schedule_purge
Schedule a purge. This is usually delayed to avoid repeated decommit/commit calls. Note: assumes we (still) own the area as we may purge immediately
extern/mimalloc/src/arena.c:466
↓ 1 callers
Function
mi_arena_size
extern/mimalloc/src/arena.c:118
↓ 1 callers
Function
mi_arena_static_zalloc
extern/mimalloc/src/arena.c:149
↓ 1 callers
Function
mi_arena_try_alloc
allocate from an arena with fallback to the OS
extern/mimalloc/src/arena.c:302
↓ 1 callers
Function
mi_arena_try_alloc_at
extern/mimalloc/src/arena.c:219
↓ 1 callers
Function
mi_arena_try_claim
claim the `blocks_inuse` bits
extern/mimalloc/src/arena.c:204
↓ 1 callers
Function
mi_arena_try_purge
returns true if anything was purged
extern/mimalloc/src/arena.c:515
↓ 1 callers
Function
mi_arenas_unsafe_destroy
destroy owned arenas; this is unsafe and should only be done using `mi_option_destroy_on_exit` for dynamic libraries that are unloaded and need to rel
extern/mimalloc/src/arena.c:681
↓ 1 callers
Function
mi_atomic_maxi64_relaxed
extern/mimalloc/include/mimalloc/atomic.h:114
↓ 1 callers
Function
mi_atomic_once
Returns true only on the first invocation
extern/mimalloc/include/mimalloc/atomic.h:302
↓ 1 callers
Function
mi_bitmap_index_bit
Get the full bit index
extern/mimalloc/src/bitmap.h:59
↓ 1 callers
Function
mi_bitmap_try_find_claim_field_across
Try to atomically claim a sequence of `count` bits starting from the field at `idx` in `bitmap` and crossing into subsequent fields. Returns `true` on
extern/mimalloc/src/bitmap.c:203
↓ 1 callers
Function
mi_cfree
extern/mimalloc/src/alloc-posix.c:49
↓ 1 callers
Function
mi_check_is_double_freex
extern/mimalloc/src/alloc.c:208
↓ 1 callers
Function
mi_ctz
extern/mimalloc/include/mimalloc/internal.h:821
↓ 1 callers
Function
mi_debug_show_bitmap
extern/mimalloc/src/arena.c:841
↓ 1 callers
Function
mi_detect_cpu_features
extern/mimalloc/src/init.c:552
↓ 1 callers
Function
mi_error_default
extern/mimalloc/src/options.c:392
↓ 1 callers
Function
mi_expand
Expand (or shrink) in place (or fail)
extern/mimalloc/src/alloc.c:693
↓ 1 callers
Function
mi_find_free_page
Find a page with free blocks of `size`.
extern/mimalloc/src/page.c:769
↓ 1 callers
Function
mi_get_new_handler
extern/mimalloc/src/alloc.c:933
↓ 1 callers
Function
mi_heap_absorb
Transfer the pages from one heap to the other
extern/mimalloc/src/heap.c:386
↓ 1 callers
Function
mi_heap_area_visit_blocks
extern/mimalloc/src/heap.c:509
↓ 1 callers
Function
mi_heap_calloc
extern/mimalloc/src/alloc.c:671
↓ 1 callers
Function
mi_heap_calloc_aligned
extern/mimalloc/src/alloc-aligned.c:183
↓ 1 callers
Function
mi_heap_check_owned
extern/mimalloc/src/heap.c:484
↓ 1 callers
Function
mi_heap_contains_block
extern/mimalloc/src/heap.c:466
↓ 1 callers
Function
mi_heap_is_default
extern/mimalloc/src/heap.c:195
↓ 1 callers
Function
mi_heap_malloc_zero_aligned_at_fallback
Fallback primitive aligned allocation -- split out for better codegen
extern/mimalloc/src/alloc-aligned.c:19
↓ 1 callers
Function
mi_heap_mallocn
extern/mimalloc/src/alloc.c:682
↓ 1 callers
Function
mi_heap_of_block
static since it is not thread safe to access heaps from other threads.
extern/mimalloc/src/heap.c:457
↓ 1 callers
Function
mi_heap_page_is_valid
extern/mimalloc/src/heap.c:56
↓ 1 callers
Function
mi_heap_page_queue_of
extern/mimalloc/src/page-queue.c:150
↓ 1 callers
Function
mi_heap_realloc_aligned
extern/mimalloc/src/alloc-aligned.c:252
↓ 1 callers
Function
mi_heap_realloc_aligned_at
extern/mimalloc/src/alloc-aligned.c:248
↓ 1 callers
Function
mi_heap_reallocf
Reallocate but free `p` on errors
extern/mimalloc/src/alloc.c:750
↓ 1 callers
Function
mi_heap_reallocn
extern/mimalloc/src/alloc.c:742
↓ 1 callers
Function
mi_heap_realpath
extern/mimalloc/src/alloc.c:833
↓ 1 callers
Function
mi_heap_recalloc
extern/mimalloc/src/alloc.c:760
↓ 1 callers
Function
mi_heap_recalloc_aligned
extern/mimalloc/src/alloc-aligned.c:270
↓ 1 callers
Function
mi_heap_recalloc_aligned_at
extern/mimalloc/src/alloc-aligned.c:264
↓ 1 callers
Function
mi_heap_set_default
extern/mimalloc/src/heap.c:439
↓ 1 callers
Function
mi_heap_visit_areas
Visit all heap pages as areas
extern/mimalloc/src/heap.c:599
↓ 1 callers
Function
mi_heap_zalloc_aligned
extern/mimalloc/src/alloc-aligned.c:173
↓ 1 callers
Function
mi_is_redirected
extern/mimalloc/src/init.c:484
↓ 1 callers
Function
mi_is_valid_pointer
Is this a valid pointer in our heap?
extern/mimalloc/src/segment-map.c:127
↓ 1 callers
Function
mi_large_huge_page_alloc
Large and huge page allocation. Huge pages are allocated directly without being in a queue. Because huge pages contain just one block, and the segment
extern/mimalloc/src/page.c:828
↓ 1 callers
Function
mi_malloc_good_size
extern/mimalloc/src/alloc-posix.c:45
↓ 1 callers
Function
mi_malloc_small
extern/mimalloc/src/alloc.c:137
↓ 1 callers
Function
mi_manage_os_memory_ex
extern/mimalloc/src/arena.c:800
↓ 1 callers
Function
mi_memid_create_arena
extern/mimalloc/src/arena.c:122
↓ 1 callers
Function
mi_mul_overflow
extern/mimalloc/include/mimalloc/internal.h:339
↓ 1 callers
Function
mi_new_realloc
extern/mimalloc/src/alloc.c:1023
↓ 1 callers
Function
mi_option_get_size
extern/mimalloc/src/options.c:130
↓ 1 callers
Function
mi_option_init
extern/mimalloc/src/options.c:505
↓ 1 callers
Function
mi_option_set
extern/mimalloc/src/options.c:136
↓ 1 callers
Function
mi_option_set_default
extern/mimalloc/src/options.c:145
↓ 1 callers
Function
mi_os_claim_huge_pages
Claim an aligned address range for huge pages
extern/mimalloc/src/os.c:542
↓ 1 callers
Function
mi_os_free_huge_os_pages
free every huge page in a range individually (as we allocated per page) note: needed with VirtualAlloc but could potentially be done in one go on mmap
extern/mimalloc/src/os.c:648
↓ 1 callers
Function
mi_os_prim_alloc_aligned
Primitive aligned allocation from the OS. This function guarantees the allocated memory is aligned.
extern/mimalloc/src/os.c:223
↓ 1 callers
Function
mi_out_buf
extern/mimalloc/src/options.c:191
↓ 1 callers
Function
mi_out_get_default
extern/mimalloc/src/options.c:239
↓ 1 callers
Function
mi_out_stderr
extern/mimalloc/src/options.c:174
↓ 1 callers
Function
mi_page_free_list_extend
extern/mimalloc/src/page.c:568
↓ 1 callers
Function
mi_page_free_list_extend_secure
extern/mimalloc/src/page.c:511
↓ 1 callers
Function
mi_page_fresh
Get a fresh page to use
extern/mimalloc/src/page.c:299
↓ 1 callers
Function
mi_page_init
Initialize a fresh page
extern/mimalloc/src/page.c:656
← previous
next →
701–800 of 1,996, ranked by callers