| /freebsd-12.1/sys/arm/arm/ |
| H A D | trap-v4.c | 222 if (__predict_true(tf->tf_spsr & PSR_I) == 0) in abort_handler() 224 if (__predict_true(tf->tf_spsr & PSR_F) == 0) in abort_handler() 288 __predict_true((pcb->pcb_onfault == NULL || in abort_handler() 355 if (__predict_true(error == 0)) in abort_handler() 640 if (__predict_true(tf->tf_spsr & PSR_I) == 0) in prefetch_abort_handler() 642 if (__predict_true(tf->tf_spsr & PSR_F) == 0) in prefetch_abort_handler() 674 if (__predict_true(error == 0)) in prefetch_abort_handler()
|
| H A D | syscall.c | 171 if (__predict_true(frame->tf_spsr & PSR_I) == 0) in swi_handler() 173 if (__predict_true(frame->tf_spsr & PSR_F) == 0) in swi_handler()
|
| H A D | undefined.c | 222 if (__predict_true(frame->tf_spsr & PSR_I) == 0) in undefinedinstruction() 224 if (__predict_true(frame->tf_spsr & PSR_F) == 0) in undefinedinstruction()
|
| H A D | trap-v6.c | 414 if (__predict_true(tf->tf_spsr & PSR_I) == 0) in abort_handler() 416 if (__predict_true(tf->tf_spsr & PSR_F) == 0) in abort_handler() 506 if (__predict_true(rv == KERN_SUCCESS)) in abort_handler()
|
| /freebsd-12.1/sys/sys/ |
| H A D | fail.h | 96 #define FAIL_POINT_IS_OFF(fp) (__predict_true((fp)->fp_setting == NULL) || \ 97 __predict_true(fail_point_is_off(fp))) 186 if (__predict_true(fp->fp_setting == NULL)) in fail_point_eval()
|
| H A D | sysent.h | 301 if (__predict_true((se->sy_thrcnt & SY_THR_STATIC) != 0)) in syscall_thread_enter() 310 if (__predict_true((se->sy_thrcnt & SY_THR_STATIC) != 0)) in syscall_thread_exit()
|
| H A D | refcount.h | 67 if (__predict_true(atomic_fcmpset_int(count, &lcount, in refcount_acquire_checked()
|
| H A D | signalvar.h | 352 if (__predict_true(mode == SIGDEFERSTOP_NOP)) in sigdeferstop() 361 if (__predict_true(prev == SIGDEFERSTOP_VAL_NCHG)) in sigallowstop()
|
| H A D | malloc.h | 227 __predict_true(_malloc_item != NULL)) \
|
| H A D | cdefs.h | 454 #define __predict_true(exp) __builtin_expect((exp), 1) macro 457 #define __predict_true(exp) (exp) macro
|
| /freebsd-12.1/libexec/rtld-elf/arm/ |
| H A D | reloc.c | 237 if (__predict_true(RELOC_ALIGNED_P(where))) { in reloc_nonplt_object() 253 if (__predict_true(RELOC_ALIGNED_P(where))) { in reloc_nonplt_object() 288 if (__predict_true(RELOC_ALIGNED_P(where))) in reloc_nonplt_object() 305 if (__predict_true(RELOC_ALIGNED_P(where))) in reloc_nonplt_object() 326 if (__predict_true(RELOC_ALIGNED_P(where))) in reloc_nonplt_object()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_mutex.c | 647 if (__predict_true(!doing_lockprof)) in __mtx_lock_sleep() 745 if (__predict_true(lda.spin_cnt < 10000000)) { in _mtx_lock_spin_cookie() 761 if (__predict_true(!doing_lockprof)) in _mtx_lock_spin_cookie() 816 if (__predict_true(v == MTX_UNOWNED)) { in _thread_lock() 823 if (__predict_true(m == td->td_lock)) { in _thread_lock() 905 if (__predict_true(lda.spin_cnt < 10000000)) { in thread_lock_flags_() 928 if (__predict_true(!doing_lockprof)) in thread_lock_flags_() 1243 if (__predict_true(lda.spin_cnt < 10000000)) { in mtx_spin_wait_unlocked()
|
| /freebsd-12.1/contrib/ofed/libcxgb4/ |
| H A D | config.h | 4 #define likely(x) __predict_true(x)
|
| /freebsd-12.1/contrib/ofed/libmlx4/ |
| H A D | config.h | 12 #define likely(x) __predict_true(x)
|
| /freebsd-12.1/tests/sys/opencrypto/ |
| H A D | cryptodevh.py | 75 def __predict_true(exp): return __builtin_expect((exp), 1) function 79 def __predict_true(exp): return (exp) function
|
| /freebsd-12.1/sys/dev/cxgbe/tom/ |
| H A D | t4_tom_l2t.h | 48 if (__predict_true(e->state == L2T_STATE_VALID)) { in t4_l2t_send()
|
| /freebsd-12.1/sys/dev/vmware/vmci/ |
| H A D | vmci_kernel_defs.h | 22 #define LIKELY(_exp) __predict_true(_exp)
|
| /freebsd-12.1/contrib/ofed/libmlx5/ |
| H A D | config.h | 18 #define likely(x) __predict_true(x)
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | defines.h | 858 #ifndef __predict_true 861 # define __predict_true(exp) __builtin_expect(((exp) != 0), 1) macro 864 # define __predict_true(exp) ((exp) != 0) macro
|
| /freebsd-12.1/sys/dev/cxgb/sys/ |
| H A D | uipc_mvec.c | 78 if (__predict_true(n->m_len != 0)) { in busdma_map_sg_collapse()
|
| /freebsd-12.1/lib/libthr/thread/ |
| H A D | thr_sig.c | 283 if (__predict_true(!curthread->cancel_pending || in check_cancel() 332 if (__predict_true(curthread->deferred_siginfo.si_signo == 0 || in check_deferred_signal() 358 if (__predict_true((curthread->flags & in check_suspend()
|
| H A D | thr_umtx.h | 105 __predict_true((mtx->m_flags & (UMUTEX_PRIO_PROTECT | in _thr_umutex_trylock2()
|
| /freebsd-12.1/sys/dev/neta/ |
| H A D | if_mvneta.c | 1715 if (__predict_true(queues)) { in mvneta_rxtxth_intr() 1897 if (__predict_true(tx->used > MVNETA_TX_RECLAIM_COUNT)) in mvneta_xmitfast_locked() 1931 if (__predict_true(M_HASHTYPE_GET(m) != M_HASHTYPE_NONE)) in mvneta_transmit() 1952 if (__predict_true(error == 0)) in mvneta_transmit() 2739 if (__predict_true(i == 0)) { in mvneta_tx_queue() 2764 if (__predict_true(used > 0)) { in mvneta_tx_queue() 2867 if (__predict_true(txbuf->m != NULL)) { in mvneta_tx_queue_complete() 2885 if (__predict_true(ndesc > 0)) { in mvneta_tx_queue_complete() 3177 if (__predict_true(npkt > 0)) { in mvneta_rx_queue_refill() 3195 if (__predict_true((r->status & MVNETA_RX_IP_HEADER_OK) == in mvneta_rx_set_csumflag() [all …]
|
| /freebsd-12.1/sys/net80211/ |
| H A D | ieee80211_ageq.c | 111 if (__predict_true(aq->aq_len < aq->aq_maxlen)) { in ieee80211_ageq_append()
|
| /freebsd-12.1/sys/dev/xen/console/ |
| H A D | xen_console.c | 305 if (__predict_true(cons->intr_handle != NULL)) in xencons_notify_ring() 466 if (sent == 0 && __predict_true(!force)) in xencons_tx_flush()
|