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
↓ 4 callers
Function
IsAligned
SmMalloc/smmalloc.h:265
↓ 4 callers
Function
_memory_counter_increase
Increase an allocation counter
extern/rpmalloc/rpmalloc.c:434
↓ 4 callers
Function
_memory_global_cache_insert
Insert the given list of memory page spans in the global cache for small/medium blocks
extern/rpmalloc/rpmalloc.c:447
↓ 4 callers
Function
_memory_global_cache_large_insert
! Insert the given list of memory page spans in the global cache for large blocks, similar to _memory_global_cache_insert */
extern/rpmalloc/rpmalloc.c:533
↓ 4 callers
Function
_mi_bin
extern/mimalloc/src/page-queue.c:101
↓ 4 callers
Function
_mi_bitmap_try_find_claim_field
Try to atomically claim a sequence of `count` bits in a single field at `idx` in `bitmap`. Returns `true` on success.
extern/mimalloc/src/bitmap.c:43
↓ 4 callers
Function
_mi_heap_main_get
extern/mimalloc/src/init.c:192
↓ 4 callers
Function
_mi_heap_malloc_zero
extern/mimalloc/src/alloc.c:167
↓ 4 callers
Function
_mi_heap_realloc_zero
extern/mimalloc/src/alloc.c:706
↓ 4 callers
Function
_mi_memzero_aligned
extern/mimalloc/include/mimalloc/internal.h:960
↓ 4 callers
Function
_mi_os_alloc_aligned
extern/mimalloc/src/os.c:307
↓ 4 callers
Function
_mi_os_commit
extern/mimalloc/src/os.c:391
↓ 4 callers
Function
_mi_os_good_alloc_size
round to a good OS allocation size (bounded by max 12.5% waste)
extern/mimalloc/src/os.c:54
↓ 4 callers
Function
_mi_os_numa_node_count
extern/mimalloc/include/mimalloc/internal.h:797
↓ 4 callers
Function
_mi_os_reset
Signal to the OS that the address range is no longer in use but may be used later again. This will release physical memory pages and reduce swapping w
extern/mimalloc/src/os.c:453
↓ 4 callers
Function
_mi_os_use_large_page
extern/mimalloc/src/os.c:47
↓ 4 callers
Function
_mi_page_malloc
Fast allocation in a page: just pop from the free list. Fall back to generic allocation only if the list is empty.
extern/mimalloc/src/alloc.c:29
↓ 4 callers
Function
_mi_page_use_delayed_free
extern/mimalloc/src/page.c:141
↓ 4 callers
Function
_mi_random_shuffle
extern/mimalloc/include/mimalloc/internal.h:765
↓ 4 callers
Function
_mi_strlen
extern/mimalloc/src/options.c:472
↓ 4 callers
Function
_mi_usable_size
extern/mimalloc/src/alloc.c:630
↓ 4 callers
Function
_sm_mbucket
SmMalloc/smmalloc.h:1088
↓ 4 callers
Function
bin_find
Find x in a bin. Used in other check functions. */
extern/dlmalloc/dlmalloc.cpp:3391
↓ 4 callers
Function
dlmemalign
extern/dlmalloc/dlmalloc.cpp:5265
↓ 4 callers
Function
do_check_any_chunk
Check properties of any chunk, whether free, inuse, mmapped etc */
extern/dlmalloc/dlmalloc.cpp:3223
↓ 4 callers
Function
exitRoutine
A special routine we call on thread exits to free up some resources.
extern/hoard/source/mactls.cpp:110
↓ 4 callers
Method
findUnusedHeap
extern/hoard/include/hoard/heapmanager.h:64
↓ 4 callers
Method
getAllocated
extern/hoard/include/hoard/statistics.h:41
↓ 4 callers
Method
getOwner
extern/hoard/include/hoard/hoardsuperblock.h:133
↓ 4 callers
Method
getPrevChunk
Return the previous chunk.
extern/hoard/Heap-Layers/heaps/special/obstackheap.h:209
↓ 4 callers
Method
getPrevChunk
Return the previous chunk.
extern/hoard/Heap-Layers/heaps/special/obstack.h:215
↓ 4 callers
Function
getTime
extern/hoard/Heap-Layers/utility/timer-old.h:63
↓ 4 callers
Function
ialloc
Common support for independent_X routines, handling all of the combinations that can result. The opts arg has: bit 0 set if all elements are
extern/dlmalloc/dlmalloc.cpp:4975
↓ 4 callers
Function
ilog2
extern/hoard/Heap-Layers/utility/ilog2.h:14
↓ 4 callers
Function
init_pthread_destructor
extern/ltalloc/ltalloc.cc:309
↓ 4 callers
Method
insert
Insert an entry into the head of the list.
extern/hoard/Heap-Layers/utility/dllist.h:78
↓ 4 callers
Method
isPrevFree
extern/hoard/Heap-Layers/heaps/objectrep/coalesceableheap.h:67
↓ 4 callers
Method
is_equal
extern/mimalloc/include/mimalloc.h:511
↓ 4 callers
Method
is_open
extern/hoard/Heap-Layers/heaps/utility/traceheap.h:82
↓ 4 callers
Function
mi_arena_try_alloc_at_id
allocate in a speficic arena
extern/mimalloc/src/arena.c:273
↓ 4 callers
Function
mi_atomic_yield
extern/mimalloc/include/mimalloc/atomic.h:322
↓ 4 callers
Function
mi_block_set_nextx
extern/mimalloc/include/mimalloc/internal.h:656
↓ 4 callers
Function
mi_bsr32
extern/mimalloc/test/main-override-static.c:265
↓ 4 callers
Function
mi_calloc_aligned
extern/mimalloc/src/alloc-aligned.c:207
↓ 4 callers
Function
mi_mallocn
extern/mimalloc/src/alloc.c:688
↓ 4 callers
Function
mi_memkind_is_os
extern/mimalloc/include/mimalloc/types.h:385
↓ 4 callers
Function
mi_new_aligned
extern/mimalloc/src/alloc.c:1005
↓ 4 callers
Function
mi_os_prim_alloc
Note: the `try_alignment` is just a hint and the returned pointer is not guaranteed to be aligned.
extern/mimalloc/src/os.c:191
↓ 4 callers
Function
mi_page_is_huge
extern/mimalloc/include/mimalloc/internal.h:478
↓ 4 callers
Function
mi_page_queue_is_huge
extern/mimalloc/src/page-queue.c:36
↓ 4 callers
Function
mi_process_load
Called once by the process loader
extern/mimalloc/src/init.c:521
↓ 4 callers
Function
mi_segment_span_remove_from_queue
extern/mimalloc/src/segment.c:642
↓ 4 callers
Function
mi_segments_track_size
extern/mimalloc/src/segment.c:370
↓ 4 callers
Function
mi_slice_is_used
extern/mimalloc/src/segment.c:242
↓ 4 callers
Function
mi_slice_to_page
extern/mimalloc/include/mimalloc/internal.h:415
↓ 4 callers
Function
mi_span_queue_for
extern/mimalloc/src/segment.c:218
↓ 4 callers
Function
mi_stats_get_default
extern/mimalloc/src/stats.c:374
↓ 4 callers
Function
mi_stats_reset
extern/mimalloc/src/stats.c:386
↓ 4 callers
Function
mi_tagged_segment
extern/mimalloc/src/segment.c:1068
↓ 4 callers
Function
mi_tf_delayed
extern/mimalloc/include/mimalloc/internal.h:520
↓ 4 callers
Function
mi_vfprintf
Define our own limited `fprintf` that avoids memory allocation. We do this using `snprintf` with a limited buffer.
extern/mimalloc/src/options.c:315
↓ 4 callers
Function
mi_zalloc
extern/mimalloc/src/alloc.c:188
↓ 4 callers
Function
realloc
extern/ltalloc/gnu.make.lib/gnuwrapper.cc:39
↓ 4 callers
Function
rotl
extern/mimalloc/src/random.c:36
↓ 4 callers
Function
segment_holding
Return segment holding given address */
extern/dlmalloc/dlmalloc.cpp:2705
↓ 4 callers
Method
set
Set the timer.
extern/hoard/Heap-Layers/utility/timer-old.h:194
↓ 4 callers
Function
try_realloc_chunk
Try to realloc; only in-place unless can_move true */
extern/dlmalloc/dlmalloc.cpp:4815
↓ 3 callers
Function
GetBucketIndexBySize
SmMalloc/smmalloc.h:279
↓ 3 callers
Function
_memory_allocate
Allocate a block of the given size
extern/rpmalloc/rpmalloc.c:1129
↓ 3 callers
Function
_mi_align_down
Align downwards
extern/mimalloc/include/mimalloc/internal.h:300
↓ 3 callers
Function
_mi_bitmap_claim_across
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:369
↓ 3 callers
Function
_mi_commit_mask_committed_size
extern/mimalloc/src/segment.c:82
↓ 3 callers
Function
_mi_fputs
extern/mimalloc/src/options.c:299
↓ 3 callers
Function
_mi_heap_delayed_free_partial
returns true if all delayed frees were processed
extern/mimalloc/src/page.c:319
↓ 3 callers
Function
_mi_heap_destroy_pages
extern/mimalloc/src/heap.c:331
↓ 3 callers
Function
_mi_memid_create_os
extern/mimalloc/include/mimalloc/internal.h:752
↓ 3 callers
Function
_mi_os_alloc
extern/mimalloc/src/os.c:292
↓ 3 callers
Function
_mi_page_free
Free a page with no more free blocks
extern/mimalloc/src/page.c:408
↓ 3 callers
Function
_mi_page_ptr_unalign
Adjust a block that was allocated aligned, to the actual start of the block in the page.
extern/mimalloc/src/alloc.c:501
↓ 3 callers
Function
_mi_random_init
extern/mimalloc/src/random.c:194
↓ 3 callers
Function
_mi_segment_page_free
extern/mimalloc/src/segment.c:1011
↓ 3 callers
Function
_mi_stat_counter_increase
extern/mimalloc/src/stats.c:55
↓ 3 callers
Function
_mi_thread_done
extern/mimalloc/src/init.c:429
↓ 3 callers
Function
alloc_items
extern/mimalloc/test/test-stress.c:98
↓ 3 callers
Method
append
extern/hoard/Heap-Layers/heaps/debug/logheap.h:62
↓ 3 callers
Function
atomic_exchange_ptr
extern/mimalloc/test/test-stress.c:317
↓ 3 callers
Function
atomic_store64
extern/rpmalloc/rpmalloc.c:145
↓ 3 callers
Function
chacha_next32
extern/mimalloc/src/random.c:81
↓ 3 callers
Function
class_to_size
extern/ltalloc/ltalloc.cc:411
↓ 3 callers
Function
do_check_inuse_chunk
Check properties of inuse chunks */
extern/dlmalloc/dlmalloc.cpp:3257
↓ 3 callers
Method
get
Get the current superblock and remove it.
extern/hoard/include/superblocks/manageonesuperblock.h:80
↓ 3 callers
Function
getCustomHeap
extern/hoard/source/unixtls.cpp:103
↓ 3 callers
Method
getNumProcessors
extern/hoard/Heap-Layers/threads/cpuinfo.h:98
↓ 3 callers
Function
init_bins
Initialize bins for a new mstate that is otherwise zeroed out */
extern/dlmalloc/dlmalloc.cpp:3915
↓ 3 callers
Function
internal_memalign
extern/dlmalloc/dlmalloc.cpp:4894
↓ 3 callers
Method
lock
extern/hoard/Heap-Layers/heaps/threads/lockedheap.h:61
↓ 3 callers
Function
ltmsize
extern/ltalloc/ltalloc.cc:709
↓ 3 callers
Method
malloc
extern/hoard/Heap-Layers/heaps/special/obstackreap.h:241
↓ 3 callers
Function
mem_is_zero
extern/mimalloc/test/test-api.c:49
↓ 3 callers
Function
memalign
extern/ltalloc/gnu.make.lib/gnuwrapper.cc:54
← previous
next →
201–300 of 1,996, ranked by callers