Lines Matching defs:heap

407 #define _rpmalloc_stat_inc_alloc(heap, class_idx)                              \  argument
415 #define _rpmalloc_stat_inc_free(heap, class_idx) \ argument
439 #define _rpmalloc_stat_inc_alloc(heap, class_idx) \ argument
442 #define _rpmalloc_stat_inc_free(heap, class_idx) \ argument
633 heap_t *heap; member
883 heap_t *heap = get_thread_heap_raw(); in get_thread_heap() local
927 static void set_thread_heap(heap_t *heap) { in set_thread_heap()
1278 static span_t *_rpmalloc_span_map_from_reserve(heap_t *heap,
1321 static span_t *_rpmalloc_span_map_aligned_count(heap_t *heap,
1370 static span_t *_rpmalloc_span_map(heap_t *heap, size_t span_count) {
1461 static void _rpmalloc_span_release_to_cache(heap_t *heap, span_t *span) {
1519 static void *_rpmalloc_span_initialize_new(heap_t *heap,
1574 static int _rpmalloc_span_finalize(heap_t *heap, size_t iclass, span_t *span,
1775 static void _rpmalloc_heap_set_reserved_spans(heap_t *heap, span_t *master,
1785 static void _rpmalloc_heap_cache_adopt_deferred(heap_t *heap,
1830 static void _rpmalloc_heap_unmap(heap_t *heap) {
1843 static void _rpmalloc_heap_global_finalize(heap_t *heap) {
1892 static void _rpmalloc_heap_cache_insert(heap_t *heap, span_t *span) {
1955 static span_t *_rpmalloc_heap_thread_cache_extract(heap_t *heap,
1972 static span_t *_rpmalloc_heap_thread_cache_deferred_extract(heap_t *heap,
1984 static span_t *_rpmalloc_heap_reserved_extract(heap_t *heap,
1992 static span_t *_rpmalloc_heap_global_cache_extract(heap_t *heap,
2031 static void _rpmalloc_inc_span_statistics(heap_t *heap, size_t span_count,
2050 _rpmalloc_heap_extract_new_span(heap_t *heap,
2106 static void _rpmalloc_heap_initialize(heap_t *heap) {
2117 static void _rpmalloc_heap_orphan(heap_t *heap, int first_class) {
2177 heap_t *heap = (heap_t *)pointer_offset(span, sizeof(span_t)); local
2217 heap_t *heap = *heap_list; local
2224 heap_t *heap = 0; local
2243 heap_t *heap = (heap_t *)heapptr; local
2307 static void _rpmalloc_heap_finalize(heap_t *heap) {
2377 heap_t *heap, heap_size_class_t *heap_size_class, uint32_t class_idx) {
2440 static void *_rpmalloc_allocate_small(heap_t *heap, size_t size) {
2454 static void *_rpmalloc_allocate_medium(heap_t *heap, size_t size) {
2471 static void *_rpmalloc_allocate_large(heap_t *heap, size_t size) {
2501 static void *_rpmalloc_allocate_huge(heap_t *heap, size_t size) {
2530 static void *_rpmalloc_allocate(heap_t *heap, size_t size) {
2541 static void *_rpmalloc_aligned_allocate(heap_t *heap, size_t alignment,
2673 heap_t *heap = span->heap; local
2711 static void _rpmalloc_deallocate_defer_free_span(heap_t *heap, span_t *span) {
2801 heap_t *heap = span->heap; local
2885 static void *_rpmalloc_reallocate(heap_t *heap, void *p, size_t size,
2969 static void *_rpmalloc_aligned_reallocate(heap_t *heap, void *ptr,
3308 heap_t *heap = _memory_heaps[list_idx]; local
3344 heap_t *heap = _rpmalloc_heap_allocate(0); local
3357 heap_t *heap = get_thread_heap_raw(); local
3381 heap_t *heap = get_thread_heap(); local
3406 heap_t *heap = get_thread_heap(); local
3420 heap_t *heap = get_thread_heap(); local
3433 heap_t *heap = get_thread_heap(); local
3439 heap_t *heap = get_thread_heap(); local
3491 heap_t *heap = get_thread_heap_raw(); local
3606 static void _memory_heap_dump_statistics(heap_t *heap, void *file) {
3697 heap_t *heap = _memory_heaps[list_idx]; local
3793 heap_t *heap = _rpmalloc_heap_allocate(1); local
3800 extern inline void rpmalloc_heap_release(rpmalloc_heap_t *heap) {
3806 rpmalloc_heap_alloc(rpmalloc_heap_t *heap, size_t size) {
3817 rpmalloc_heap_aligned_alloc(rpmalloc_heap_t *heap, size_t alignment,
3829 rpmalloc_heap_calloc(rpmalloc_heap_t *heap, size_t num, size_t size) {
3834 rpmalloc_heap_aligned_calloc(rpmalloc_heap_t *heap, size_t alignment,
3861 rpmalloc_heap_realloc(rpmalloc_heap_t *heap, void *ptr, size_t size,
3873 rpmalloc_heap_aligned_realloc(rpmalloc_heap_t *heap, void *ptr,
3885 extern inline void rpmalloc_heap_free(rpmalloc_heap_t *heap, void *ptr) {
3890 extern inline void rpmalloc_heap_free_all(rpmalloc_heap_t *heap) {
3966 extern inline void rpmalloc_heap_thread_set_current(rpmalloc_heap_t *heap) {