Lines Matching refs:unlikely

206 	if (unlikely(opt_utrace)) {					\
254 if (config_fill && unlikely(opt_quarantine)) in malloc_thread_init()
262 if (unlikely(malloc_init_state == malloc_init_uninitialized)) in malloc_init_a0()
271 if (unlikely(!malloc_initialized()) && malloc_init_hard()) in malloc_init()
295 if (unlikely(malloc_init_a0())) in a0ialloc()
332 if (unlikely(size == 0)) in bootstrap_malloc()
344 if (unlikely(num_size == 0)) { in bootstrap_calloc()
356 if (unlikely(ptr == NULL)) in bootstrap_free()
845 if (config_fill && unlikely(in_valgrind)) {
853 if (config_tcache && unlikely(in_valgrind))
1382 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1386 if (unlikely(p == NULL)) {
1399 if (unlikely(malloc_init()))
1408 if (config_stats || (config_valgrind && unlikely(in_valgrind)))
1424 if (unlikely(ret == NULL)) {
1425 if (config_xmalloc && unlikely(opt_xmalloc)) {
1468 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1472 if (unlikely(p == NULL)) {
1492 if (unlikely(malloc_init())) {
1501 if (unlikely(((alignment - 1) & alignment) != 0
1503 if (config_xmalloc && unlikely(opt_xmalloc)) {
1514 if (unlikely(usize == 0)) {
1523 if (unlikely(result == NULL))
1538 if (config_xmalloc && unlikely(opt_xmalloc)) {
1562 if (unlikely((err = imemalign(&ret, alignment, size, 1)) != 0)) {
1596 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1600 if (unlikely(p == NULL)) {
1617 if (unlikely(malloc_init())) {
1625 if (unlikely(num_size == 0)) {
1637 } else if (unlikely(((num | size) & (SIZE_T_MAX << (sizeof(size_t) <<
1648 if (config_stats || (config_valgrind && unlikely(in_valgrind)))
1654 if (unlikely(ret == NULL)) {
1655 if (config_xmalloc && unlikely(opt_xmalloc)) {
1698 if (unlikely((uintptr_t)tctx != (uintptr_t)1U))
1725 if (config_valgrind && unlikely(in_valgrind))
1743 if (config_valgrind && unlikely(in_valgrind))
1758 if (unlikely(size == 0)) {
1775 if (config_valgrind && unlikely(in_valgrind))
1783 unlikely(in_valgrind)))
1792 if (unlikely(ret == NULL)) {
1793 if (config_xmalloc && unlikely(opt_xmalloc)) {
1835 if (unlikely(imemalign(&ret, alignment, size, 1) != 0))
1847 if (unlikely(imemalign(&ret, PAGE, size, 1) != 0))
1912 if (unlikely(*arena == NULL))
1991 if (unlikely(imallocx_flags_decode(tsd, size, flags, usize, &alignment,
2003 if (unlikely(p == NULL)) {
2021 if (config_stats || (config_valgrind && unlikely(in_valgrind)))
2026 if (unlikely(imallocx_flags_decode_hard(tsd, size, flags, usize,
2041 if (unlikely(malloc_init()))
2049 if (unlikely(p == NULL))
2060 if (config_xmalloc && unlikely(opt_xmalloc)) {
2101 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2108 if (unlikely(p == NULL)) {
2148 if (unlikely((flags & MALLOCX_ARENA_MASK) != 0)) {
2151 if (unlikely(arena == NULL))
2156 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2165 if (config_valgrind && unlikely(in_valgrind))
2173 if (unlikely(p == NULL))
2178 if (unlikely(p == NULL))
2180 if (config_stats || (config_valgrind && unlikely(in_valgrind)))
2193 if (config_xmalloc && unlikely(opt_xmalloc)) {
2257 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2264 if (unlikely(usize == old_usize)) {
2290 if (config_valgrind && unlikely(in_valgrind))
2300 if (unlikely(usize == old_usize))
2340 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2378 if (unlikely((flags & MALLOCX_TCACHE_MASK) != 0)) {
2396 if (unlikely(malloc_init()))
2407 if (unlikely(malloc_init()))
2417 if (unlikely(malloc_init()))
2428 if (unlikely(malloc_init()))