Lines Matching refs:bytes
3233 const size_t bytes = sizeof (tcache_perthread_struct); in tcache_init() local
3238 arena_get (ar_ptr, bytes); in tcache_init()
3239 victim = _int_malloc (ar_ptr, bytes); in tcache_init()
3242 ar_ptr = arena_get_retry (ar_ptr, bytes); in tcache_init()
3243 victim = _int_malloc (ar_ptr, bytes); in tcache_init()
3280 __libc_malloc (size_t bytes) in __libc_malloc() argument
3292 size_t tbytes = checked_request2size (bytes); in __libc_malloc()
3315 victim = tag_new_usable (_int_malloc (&main_arena, bytes)); in __libc_malloc()
3321 arena_get (ar_ptr, bytes); in __libc_malloc()
3323 victim = _int_malloc (ar_ptr, bytes); in __libc_malloc()
3328 LIBC_PROBE (memory_malloc_retry, 1, bytes); in __libc_malloc()
3329 ar_ptr = arena_get_retry (ar_ptr, bytes); in __libc_malloc()
3330 victim = _int_malloc (ar_ptr, bytes); in __libc_malloc()
3393 __libc_realloc (void *oldmem, size_t bytes) in libc_hidden_def()
3404 if (bytes == 0 && oldmem != NULL) in libc_hidden_def()
3412 return __libc_malloc (bytes); in libc_hidden_def()
3440 nb = checked_request2size (bytes); in libc_hidden_def()
3469 newmem = __libc_malloc (bytes); in libc_hidden_def()
3498 LIBC_PROBE (memory_realloc_retry, 2, bytes, oldmem); in libc_hidden_def()
3499 newp = __libc_malloc (bytes); in libc_hidden_def()
3514 __libc_memalign (size_t alignment, size_t bytes) in libc_hidden_def()
3520 return _mid_memalign (alignment, bytes, address); in libc_hidden_def()
3524 _mid_memalign (size_t alignment, size_t bytes, void *address) in _mid_memalign() argument
3531 return __libc_malloc (bytes); in _mid_memalign()
3557 p = _int_memalign (&main_arena, alignment, bytes); in _mid_memalign()
3563 arena_get (ar_ptr, bytes + alignment + MINSIZE); in _mid_memalign()
3565 p = _int_memalign (ar_ptr, alignment, bytes); in _mid_memalign()
3568 LIBC_PROBE (memory_memalign_retry, 2, bytes, alignment); in _mid_memalign()
3569 ar_ptr = arena_get_retry (ar_ptr, bytes); in _mid_memalign()
3570 p = _int_memalign (ar_ptr, alignment, bytes); in _mid_memalign()
3585 __libc_valloc (size_t bytes) in weak_alias()
3592 return _mid_memalign (pagesize, bytes, address); in weak_alias()
3596 __libc_pvalloc (size_t bytes) in __libc_pvalloc() argument
3605 if (__glibc_unlikely (__builtin_add_overflow (bytes, in __libc_pvalloc()
3627 ptrdiff_t bytes; in __libc_calloc() local
3629 if (__glibc_unlikely (__builtin_mul_overflow (n, elem_size, &bytes))) in __libc_calloc()
3635 sz = bytes; in __libc_calloc()
3765 _int_malloc (mstate av, size_t bytes) in _int_malloc() argument
3798 nb = checked_request2size (bytes); in _int_malloc()
3811 alloc_perturb (p, bytes); in _int_malloc()
3883 alloc_perturb (p, bytes); in _int_malloc()
3941 alloc_perturb (p, bytes); in _int_malloc()
4042 alloc_perturb (p, bytes); in _int_malloc()
4074 alloc_perturb (p, bytes); in _int_malloc()
4236 alloc_perturb (p, bytes); in _int_malloc()
4344 alloc_perturb (p, bytes); in _int_malloc()
4382 alloc_perturb (p, bytes); in _int_malloc()
4405 alloc_perturb (p, bytes); in _int_malloc()
4936 _int_memalign (mstate av, size_t alignment, size_t bytes) in _int_memalign() argument
4951 nb = checked_request2size (bytes); in _int_memalign()