MCPcopy Create free account

hub / github.com/SergeyMakeev/smmalloc / functions

Functions1,996 in github.com/SergeyMakeev/smmalloc

↓ 1 callersFunction_memory_usable_size
Get the usable size of the given block
extern/rpmalloc/rpmalloc.c:1234
↓ 1 callersFunction_mi_abandoned_await_readers
Wait until there are no more pending reads on segments that used to be in the abandoned list called for example from `arena.c` before decommitting
extern/mimalloc/src/segment.c:1165
↓ 1 callersFunction_mi_abandoned_collect
extern/mimalloc/src/segment.c:1428
↓ 1 callersFunction_mi_abandoned_reclaim_all
extern/mimalloc/src/segment.c:1382
↓ 1 callersFunction_mi_arena_contains
Is a pointer inside any of our arenas?
extern/mimalloc/src/arena.c:716
↓ 1 callersFunction_mi_arena_unsafe_destroy_all
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:710
↓ 1 callersFunction_mi_binx8
extern/mimalloc/test/main-override-static.c:389
↓ 1 callersFunction_mi_bitmap_claim
Set `count` bits at `bitmap_idx` to 1 atomically Returns `true` if all `count` bits were 0 previously. `any_zero` is `true` if there was at least one
extern/mimalloc/src/bitmap.c:145
↓ 1 callersFunction_mi_bitmap_try_claim
Try to set `count` bits at `bitmap_idx` from 0 to 1 atomically. Returns `true` if successful when all previous `count` bits were 0.
extern/mimalloc/src/bitmap.c:169
↓ 1 callersFunction_mi_bitmap_try_find_from_claim
Find `count` bits of 0 and set them to 1 atomically; returns `true` on success. Starts at idx, and wraps around to search in all `bitmap_fields` field
extern/mimalloc/src/bitmap.c:100
↓ 1 callersFunction_mi_bitmap_try_find_from_claim_across
Find `count` bits of zeros and set them to 1 atomically; returns `true` on success. Starts at idx, and wraps around to search in all `bitmap_fields` f
extern/mimalloc/src/bitmap.c:294
↓ 1 callersFunction_mi_current_thread_count
extern/mimalloc/src/init.c:405
↓ 1 callersFunction_mi_free_block_mt
multi-threaded free (or free in huge block if compiled with MI_HUGE_PAGE_ABANDON)
extern/mimalloc/src/alloc.c:402
↓ 1 callersFunction_mi_free_delayed_block
return true if successful
extern/mimalloc/src/alloc.c:597
↓ 1 callersFunction_mi_free_generic
extern/mimalloc/src/alloc.c:509
↓ 1 callersFunction_mi_heap_done
Free the thread local default heap (called from `mi_thread_done`)
extern/mimalloc/src/init.c:321
↓ 1 callersFunction_mi_heap_init
Initialize the thread local default heap, called from `mi_thread_init`
extern/mimalloc/src/init.c:286
↓ 1 callersFunction_mi_heap_unsafe_destroy_all
forcefully destroy all heaps in the current thread
extern/mimalloc/src/heap.c:366
↓ 1 callersFunction_mi_options_init
extern/mimalloc/src/options.c:97
↓ 1 callersFunction_mi_os_alloc_aligned_at_offset
extern/mimalloc/src/os.c:336
↓ 1 callersFunction_mi_os_alloc_huge_os_pages
Allocate MI_SEGMENT_SIZE aligned huge pages
extern/mimalloc/src/os.c:575
↓ 1 callersFunction_mi_os_decommit
extern/mimalloc/src/os.c:443
↓ 1 callersFunction_mi_os_has_virtual_reserve
extern/mimalloc/src/os.c:32
↓ 1 callersFunction_mi_os_init
extern/mimalloc/src/os.c:65
↓ 1 callersFunction_mi_os_large_page_size
if large OS pages are supported (2 or 4MiB), then return the size, otherwise return the small page size (4KiB)
extern/mimalloc/src/os.c:43
↓ 1 callersFunction_mi_os_numa_node
extern/mimalloc/include/mimalloc/internal.h:793
↓ 1 callersFunction_mi_os_random_weak
extern/mimalloc/src/random.c:161
↓ 1 callersFunction_mi_page_abandon
Abandon a page with used blocks at the end of a thread. Note: only call if it is ensured that no references exist from the `page->heap->thread_delayed
extern/mimalloc/src/page.c:378
↓ 1 callersFunction_mi_page_queue_append
Only called from `mi_heap_absorb`.
extern/mimalloc/src/page-queue.c:297
↓ 1 callersFunction_mi_page_reclaim
called from segments when reclaiming abandoned pages
extern/mimalloc/src/page.c:258
↓ 1 callersFunction_mi_page_thread_free_collect
Collect the local `thread_free` list using an atomic exchange. Note: The exchange must be done atomically as this is used right after moving to the fu
extern/mimalloc/src/page.c:182
↓ 1 callersFunction_mi_page_unfull
Move a page from the full list back to a regular list
extern/mimalloc/src/page.c:349
↓ 1 callersFunction_mi_prim_alloc
Note: the `try_alignment` is just a hint and the returned pointer is not guaranteed to be aligned.
extern/mimalloc/src/prim/unix/prim.c:326
↓ 1 callersFunction_mi_prim_alloc_huge_os_pages
extern/mimalloc/src/prim/unix/prim.c:440
↓ 1 callersFunction_mi_prim_alloc_huge_os_pagesx
extern/mimalloc/src/prim/windows/prim.c:307
↓ 1 callersFunction_mi_prim_commit
extern/mimalloc/src/prim/unix/prim.c:354
↓ 1 callersFunction_mi_prim_decommit
extern/mimalloc/src/prim/unix/prim.c:369
↓ 1 callersFunction_mi_prim_free
extern/mimalloc/src/prim/unix/prim.c:145
↓ 1 callersFunction_mi_prim_getenv
extern/mimalloc/src/prim/unix/prim.c:688
↓ 1 callersFunction_mi_prim_mem_init
extern/mimalloc/src/prim/unix/prim.c:128
↓ 1 callersFunction_mi_prim_numa_node
extern/mimalloc/src/prim/unix/prim.c:477
↓ 1 callersFunction_mi_prim_numa_node_count
extern/mimalloc/src/prim/unix/prim.c:489
↓ 1 callersFunction_mi_prim_out_stderr
extern/mimalloc/src/prim/unix/prim.c:665
↓ 1 callersFunction_mi_prim_process_info
extern/mimalloc/src/prim/unix/prim.c:604
↓ 1 callersFunction_mi_prim_protect
extern/mimalloc/src/prim/unix/prim.c:410
↓ 1 callersFunction_mi_prim_random_buf
extern/mimalloc/src/prim/unix/prim.c:739
↓ 1 callersFunction_mi_prim_reset
extern/mimalloc/src/prim/unix/prim.c:389
↓ 1 callersFunction_mi_prim_thread_done_auto_done
extern/mimalloc/src/prim/unix/prim.c:835
↓ 1 callersFunction_mi_prim_thread_init_auto_done
extern/mimalloc/src/prim/unix/prim.c:830
↓ 1 callersFunction_mi_process_init
MSVC: use data section magic for static libraries See <https://www.codeguru.com/cpp/misc/misc/applicationcontrol/article.php/c6945/Running-Code-Before
extern/mimalloc/src/init.c:678
↓ 1 callersFunction_mi_random_init_weak
extern/mimalloc/src/random.c:198
↓ 1 callersFunction_mi_random_next
extern/mimalloc/src/random.c:144
↓ 1 callersFunction_mi_random_reinit_if_weak
extern/mimalloc/src/random.c:202
↓ 1 callersFunction_mi_random_split
extern/mimalloc/src/random.c:138
↓ 1 callersFunction_mi_segment_huge_page_free
free huge block from another thread
extern/mimalloc/src/segment.c:1546
↓ 1 callersFunction_mi_segment_huge_page_reset
reset memory of a huge block from another thread
extern/mimalloc/src/segment.c:1574
↓ 1 callersFunction_mi_segment_map_allocated_at
extern/mimalloc/src/segment-map.c:46
↓ 1 callersFunction_mi_segment_map_freed_at
extern/mimalloc/src/segment-map.c:58
↓ 1 callersFunction_mi_segment_of
Determine the segment belonging to a pointer or NULL if it is not in a valid segment.
extern/mimalloc/src/segment-map.c:71
↓ 1 callersFunction_mi_segment_page_abandon
extern/mimalloc/src/segment.c:1243
↓ 1 callersFunction_mi_segment_page_alloc
----------------------------------------------------------- Page allocation and free ----------------------------------------------------------- */
extern/mimalloc/src/segment.c:1594
↓ 1 callersFunction_mi_segment_thread_collect
called by threads that are terminating
extern/mimalloc/src/segment.c:403
↓ 1 callersFunction_mi_stats_done
extern/mimalloc/src/stats.c:397
↓ 1 callersFunction_mi_strnicmp
extern/mimalloc/src/options.c:442
↓ 1 callersFunction_mi_thread_data_collect
extern/mimalloc/src/init.c:272
↓ 1 callersFunction_mi_wsize_from_size
Align a byte size to a size in _machine words_, i.e. byte size == `wsize*sizeof(void*)`.
extern/mimalloc/include/mimalloc/internal.h:328
↓ 1 callersMethodadd
Add an object of the given size. NOTE: Perhaps we should round to the next power of two?
extern/hoard/include/hoard/thresholdheap.h:151
↓ 1 callersFunctionadd_segment
Add a segment to hold a new noncontiguous region */
extern/dlmalloc/dlmalloc.cpp:3986
↓ 1 callersFunctionatomic_exchange_and_add64
extern/rpmalloc/rpmalloc.c:150
↓ 1 callersFunctioncalloc
extern/ltalloc/gnu.make.lib/gnuwrapper.cc:24
↓ 1 callersFunctionchacha_init
extern/mimalloc/src/random.c:97
↓ 1 callersFunctionchacha_split
extern/mimalloc/src/random.c:116
↓ 1 callersMethodclear
extern/hoard/include/hoard/hoardsuperblock.h:98
↓ 1 callersFunctioncompare_allocators
smmalloc_perf01.cpp:316
↓ 1 callersMethodcreate
extern/hoard/Heap-Layers/threads/fred.h:45
↓ 1 callersFunctiondlmalloc_usable_size
extern/dlmalloc/dlmalloc.cpp:5388
↓ 1 callersFunctiondo_check_mmapped_chunk
Check properties of (inuse) mmapped chunks */
extern/dlmalloc/dlmalloc.cpp:3243
↓ 1 callersFunctiondo_check_smallbin
Check all the chunks in a smallbin. */
extern/dlmalloc/dlmalloc.cpp:3367
↓ 1 callersFunctiondo_check_top_chunk
Check properties of top chunk */
extern/dlmalloc/dlmalloc.cpp:3229
↓ 1 callersFunctiondo_check_tree
Check a tree and its subtrees. */
extern/dlmalloc/dlmalloc.cpp:3305
↓ 1 callersFunctiondo_check_treebin
Check all the chunks in a treebin. */
extern/dlmalloc/dlmalloc.cpp:3356
↓ 1 callersFunctiondummy_worker
issues #414
extern/mimalloc/test/main-override.cpp:360
↓ 1 callersMethoddump
extern/hoard/Heap-Layers/heaps/debug/logheap.h:57
↓ 1 callersFunctionfloatToUint
SmMalloc/smmalloc.h:246
↓ 1 callersFunctionfn
extern/hoard/Heap-Layers/threads/cpuinfo.cpp:17
↓ 1 callersMethodfree
extern/hoard/Heap-Layers/heaps/combining/strictsegheap.h:109
↓ 1 callersMethodfree
extern/hoard/Heap-Layers/heaps/general/dlheap.h:190
↓ 1 callersMethodfree
extern/hoard/include/superblocks/tlab.h:108
↓ 1 callersMethodget
extern/hoard/include/hoard/globalheap.h:68
↓ 1 callersFunctiongetFrequency
extern/hoard/Heap-Layers/utility/timer-old.h:70
↓ 1 callersMethodgetNext
extern/hoard/Heap-Layers/utility/dllist.h:89
↓ 1 callersMethodgetNextHeader
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:182
↓ 1 callersMethodgetPrev
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:70
↓ 1 callersMethodgetPrev
extern/hoard/include/hoard/hoardsuperblock.h:149
↓ 1 callersMethodgetPrevSize
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:60
↓ 1 callersMethodgetSize
extern/hoard/Heap-Layers/heaps/debug/logheap.h:236
↓ 1 callersMethodgetSize
extern/hoard/Heap-Layers/heaps/top/mmapheap.h:176
↓ 1 callersMethodgetSize
extern/hoard/include/superblocks/addheaderheap.h:74
↓ 1 callersMethodgetType
extern/hoard/Heap-Layers/heaps/debug/logheap.h:220
↓ 1 callersFunctionhas_segment_link
Return true if segment contains a segment link */
extern/dlmalloc/dlmalloc.cpp:2716
← previousnext →601–700 of 1,996, ranked by callers