Lines Matching refs:size_t
47 static inline size_t
57 static inline size_t
79 size_t size; /* Current size in bytes. */
80 size_t mprotect_size; /* Size in bytes that has been mprotected
82 size_t pagesize; /* Page size used when allocating the arena. */
106 static size_t narenas = 1;
155 size_t max_size = heap_max_size (); in heap_for_ptr()
252 TUNABLE_CALLBACK_FNDECL (set_mmap_threshold, size_t)
254 TUNABLE_CALLBACK_FNDECL (set_top_pad, size_t)
256 TUNABLE_CALLBACK_FNDECL (set_trim_threshold, size_t)
257 TUNABLE_CALLBACK_FNDECL (set_arena_max, size_t)
258 TUNABLE_CALLBACK_FNDECL (set_arena_test, size_t)
260 TUNABLE_CALLBACK_FNDECL (set_tcache_max, size_t)
261 TUNABLE_CALLBACK_FNDECL (set_tcache_count, size_t)
262 TUNABLE_CALLBACK_FNDECL (set_tcache_unsorted_limit, size_t)
264 TUNABLE_CALLBACK_FNDECL (set_mxfast, size_t)
265 TUNABLE_CALLBACK_FNDECL (set_hugetlb, size_t)
352 TUNABLE_GET (top_pad, size_t, TUNABLE_CALLBACK (set_top_pad)); in ptmalloc_init()
354 TUNABLE_GET (mmap_threshold, size_t, TUNABLE_CALLBACK (set_mmap_threshold)); in ptmalloc_init()
355 TUNABLE_GET (trim_threshold, size_t, TUNABLE_CALLBACK (set_trim_threshold)); in ptmalloc_init()
357 TUNABLE_GET (arena_max, size_t, TUNABLE_CALLBACK (set_arena_max)); in ptmalloc_init()
358 TUNABLE_GET (arena_test, size_t, TUNABLE_CALLBACK (set_arena_test)); in ptmalloc_init()
360 TUNABLE_GET (tcache_max, size_t, TUNABLE_CALLBACK (set_tcache_max)); in ptmalloc_init()
361 TUNABLE_GET (tcache_count, size_t, TUNABLE_CALLBACK (set_tcache_count)); in ptmalloc_init()
362 TUNABLE_GET (tcache_unsorted_limit, size_t, in ptmalloc_init()
365 TUNABLE_GET (mxfast, size_t, TUNABLE_CALLBACK (set_mxfast)); in ptmalloc_init()
366 TUNABLE_GET (hugetlb, size_t, TUNABLE_CALLBACK (set_hugetlb)); in ptmalloc_init()
380 size_t len = strcspn (envline, "="); in ptmalloc_init()
482 alloc_new_heap (size_t size, size_t top_pad, size_t pagesize, in alloc_new_heap()
488 size_t min_size = heap_min_size (); in alloc_new_heap()
489 size_t max_size = heap_max_size (); in alloc_new_heap()
562 new_heap (size_t size, size_t top_pad) in new_heap()
585 size_t pagesize = h->pagesize; in grow_heap()
586 size_t max_size = heap_max_size (); in grow_heap()
642 heap_trim (heap_info *heap, size_t pad) in heap_trim()
648 size_t max_size = heap_max_size (); in heap_trim()
697 if (top_area < 0 || (size_t) top_area <= pad) in heap_trim()
737 _int_new_arena (size_t size) in _int_new_arena()
924 arena_get2 (size_t size, mstate avoid_arena) in arena_get2()
928 static size_t narenas_limit; in arena_get2()
951 size_t n = narenas; in arena_get2()
978 arena_get_retry (mstate ar_ptr, size_t bytes) in arena_get_retry()