/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/ |
H A D | assert.h | 7 if (unlikely(config_debug && !(e))) { \ 40 if (unlikely(config_debug && !(e))) \
|
H A D | tcache_inlines.h | 80 if (unlikely(tcache == NULL) && tsd_nominal(tsd)) { 94 if (unlikely(ticker_tick(&tcache->gc_ticker))) 103 if (unlikely(tbin->ncached == 0)) { 119 if (unlikely((int)tbin->ncached < tbin->low_water)) 138 if (unlikely(!tcache_success)) { 141 if (unlikely(arena == NULL)) 155 if (config_prof || (slow_path && config_fill) || unlikely(zero)) { 162 if (unlikely(opt_junk_alloc)) { 165 } else if (unlikely(opt_zero)) 169 if (slow_path && config_fill && unlikely(opt_junk_allo [all...] |
H A D | util_types.h | 74 # define unlikely(x) __builtin_expect(!!(x), 0) macro 77 # define unlikely(x) !!(x) macro 90 if (unlikely(!(c))) \
|
H A D | prof_inlines.h | 61 if (unlikely(tdata == NULL)) { 66 } else if (unlikely(tdata->expired)) { 114 if (unlikely((uintptr_t)tdata <= (uintptr_t)PROF_TDATA_STATE_MAX)) 120 if (unlikely(tdata == NULL)) 164 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) 201 if (unlikely(sampled)) { 207 } else if (unlikely(old_sampled)) { 227 if (unlikely(old_sampled)) { 240 if (unlikely((uintptr_t)tctx > (uintptr_t)1U))
|
H A D | arena_inlines_b.h | 39 if (unlikely(!extent_slab_get(extent))) 51 if (unlikely(!extent_slab_get(extent))) 72 if (unlikely(tsdn_null(tsdn))) 76 if (unlikely(decay_ticker == NULL)) 78 if (unlikely(ticker_ticks(decay_ticker, nticks))) 156 if (config_prof && unlikely(usize <= SMALL_MAXCLASS)) { 188 if (config_prof && unlikely(size <= SMALL_MAXCLASS)) {
|
H A D | ticker_inlines.h | 35 if (unlikely(ticker->tick < nticks)) {
|
/fuchsia/zircon/system/public/zircon/ |
H A D | time.h | 24 if (unlikely(add_overflow(time, duration, &x))) { 36 if (unlikely(sub_overflow(time, duration, &x))) { 49 if (unlikely(sub_overflow(time1, time2, &x))) { 62 if (unlikely(add_overflow(dur1, dur2, &x))) { 75 if (unlikely(sub_overflow(dur1, dur2, &x))) { 88 if (unlikely(mul_overflow(duration, multiplier, &x))) {
|
H A D | assert.h | 39 if (unlikely(!(x))) { \ 46 if (unlikely(!(x))) { \ 62 if (ZX_DEBUG_ASSERT_IMPLEMENTED && unlikely(!(x))) { \ 69 if (ZX_DEBUG_ASSERT_IMPLEMENTED && unlikely(!(x))) { \
|
/fuchsia/zircon/third_party/ulib/ngunwind/include/ngunwind/private/ |
H A D | compiler.h | 39 #undef unlikely macro 54 # define unlikely(x) __builtin_expect ((x), 0) macro 68 # define unlikely(x) (x) macro
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | shell.h | 98 #ifndef unlikely 99 #define unlikely(x) __builtin_expect(!!(x),0) macro
|
/fuchsia/zircon/kernel/lib/libc/include/ |
H A D | assert.h | 17 if (unlikely(!(x))) { \ 24 if (unlikely(!(x))) { \ 39 if (DEBUG_ASSERT_IMPLEMENTED && unlikely(!(x))) { \ 46 if (DEBUG_ASSERT_IMPLEMENTED && unlikely(!(x))) { \
|
/fuchsia/zircon/system/ulib/zircon/ |
H A D | zx_cprng_draw.cpp | 15 if (unlikely(status != ZX_OK)) {
|
H A D | zx_channel_call.cpp | 14 while (unlikely(status == ZX_ERR_INTERNAL_INTR_RETRY)) {
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/x86_64/ |
H A D | Ginit_local.c | 36 if (unlikely (!tdep_init_done))
|
/fuchsia/zircon/kernel/object/ |
H A D | message_packet.cpp | 48 if (unlikely(data_size > kMaxMessageSize || num_handles > kMaxMessageHandles)) { 57 if (unlikely(!chain)) { 80 if (unlikely(status != ZX_OK)) { 84 if (unlikely(status != ZX_OK)) { 96 if (unlikely(status != ZX_OK)) { 100 if (unlikely(status != ZX_OK)) {
|
H A D | semaphore.cpp | 24 if (unlikely(++count_ <= 0)) 40 if (unlikely(block)) {
|
/fuchsia/zircon/kernel/kernel/ |
H A D | mutex.cpp | 50 if (unlikely(mutex_val(m) != 0)) { 83 if (unlikely(ct == mutex_holder(m))) 94 if (unlikely(oldval == 0)) { 99 if (unlikely(!atomic_cmpxchg_u64(&m->val, &oldval, oldval | MUTEX_FLAG_QUEUED))) { 111 if (unlikely(ret < ZX_OK)) { 140 if (unlikely(ct->inherited_priority >= 0) && ct->mutexes_held == 0) { 164 if (unlikely(ct != mutex_holder(m))) {
|
/fuchsia/zircon/kernel/lib/heap/ |
H A D | heap_wrapper.cpp | 81 if (unlikely(next_unused_stat >= num_stats)) 147 if (unlikely(heap_trace)) { 151 if (HEAP_PANIC_ON_ALLOC_FAIL && unlikely(!ptr)) { 166 if (unlikely(heap_trace)) { 170 if (HEAP_PANIC_ON_ALLOC_FAIL && unlikely(!ptr)) { 185 if (unlikely(heap_trace)) { 189 if (HEAP_PANIC_ON_ALLOC_FAIL && unlikely(!ptr)) { 209 if (unlikely(heap_trace)) { 223 if (unlikely(heap_trace)) { 227 if (HEAP_PANIC_ON_ALLOC_FAIL && unlikely(!ptr [all...] |
/fuchsia/zircon/kernel/target/pc/multiboot/ |
H A D | trampoline.c | 34 if (unlikely(kernel_entry != kernel->data_kernel.entry)) { 38 if (unlikely(kernel_entry < (uintptr_t)PHYS_LOAD_ADDRESS ||
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | cache.cpp | 38 if (unlikely(!x86_feature_test(X86_FEATURE_CLFLUSH))) {
|
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | large.c | 26 if (unlikely(ausize == 0 || ausize > LARGE_MAXCLASS)) 36 if (unlikely(arena == NULL) || (extent = arena_extent_alloc_large(tsdn, 48 if (zero || (config_fill && unlikely(opt_zero))) { 53 } else if (config_fill && unlikely(opt_junk_alloc)) { 84 if (config_fill && have_dss && unlikely(opt_junk_free)) { 121 if (config_fill && unlikely(opt_junk_free)) { 163 if (zero || (config_fill && unlikely(opt_zero))) { 184 } else if (config_fill && unlikely(opt_junk_alloc)) {
|
H A D | jemalloc_cpp.cpp | 121 if (unlikely(ptr == nullptr)) { 129 if (unlikely(ptr == nullptr)) {
|
/fuchsia/zircon/kernel/platform/pc/ |
H A D | hpet.cpp | 119 if (unlikely(n >= num_timers)) { 153 if (unlikely(n >= num_timers)) { 173 if (unlikely(n >= num_timers)) { 180 if (unlikely(difference > (1ULL >> 63))) { 184 if (unlikely(difference < min_ticks_ahead)) { 197 if (unlikely(n >= num_timers)) {
|
/fuchsia/zircon/kernel/vm/include/vm/ |
H A D | vm_page_list.h | 50 if (unlikely(status != ZX_ERR_NEXT)) { 76 if (unlikely(status != ZX_ERR_NEXT)) { 117 if (unlikely(status != ZX_ERR_NEXT)) { 133 if (unlikely(status != ZX_ERR_NEXT)) { 157 if (unlikely(status != ZX_ERR_NEXT)) { 181 if (unlikely(status != ZX_ERR_NEXT)) {
|
/fuchsia/zircon/kernel/vm/ |
H A D | vm_object_physical.cpp | 98 if (unlikely(len == 0)) { 105 if (unlikely(!InRange(offset, len, size_))) { 115 if (unlikely(table_size > buffer_size)) { 134 if (unlikely(status != ZX_OK)) { 146 if (unlikely(len == 0)) { 151 if (unlikely(!InRange(offset, len, size_))) {
|