Searched refs:__predict_true (Results 1 - 25 of 77) sorted by relevance

1234

/freebsd-12-stable/contrib/ofed/libcxgb4/
H A Dconfig.h4 #define likely(x) __predict_true(x)
H A Dqp.c68 if (__predict_true((uintptr_t)dst + total <= end)) {
93 if (__predict_true((uintptr_t)dst + total <= end)) {
/freebsd-12-stable/contrib/ofed/libmlx4/
H A Dconfig.h12 #define likely(x) __predict_true(x)
/freebsd-12-stable/sys/dev/cxgbe/tom/
H A Dt4_tom_l2t.h48 if (__predict_true(e->state == L2T_STATE_VALID)) {
/freebsd-12-stable/contrib/ofed/libmlx5/
H A Dconfig.h18 #define likely(x) __predict_true(x)
/freebsd-12-stable/sys/dev/vmware/vmci/
H A Dvmci_kernel_defs.h22 #define LIKELY(_exp) __predict_true(_exp)
/freebsd-12-stable/sys/arm/arm/
H A Dsyscall.c167 if (__predict_true(frame->tf_spsr & PSR_I) == 0)
169 if (__predict_true(frame->tf_spsr & PSR_F) == 0)
H A Dtrap-v4.c222 if (__predict_true(tf->tf_spsr & PSR_I) == 0)
224 if (__predict_true(tf->tf_spsr & PSR_F) == 0)
290 __predict_true((pcb->pcb_onfault == NULL ||
357 if (__predict_true(error == KERN_SUCCESS))
631 if (__predict_true(tf->tf_spsr & PSR_I) == 0)
633 if (__predict_true(tf->tf_spsr & PSR_F) == 0)
665 if (__predict_true(error == KERN_SUCCESS))
H A Dundefined.c222 if (__predict_true(frame->tf_spsr & PSR_I) == 0)
224 if (__predict_true(frame->tf_spsr & PSR_F) == 0)
H A Dtrap-v6.c414 if (__predict_true(tf->tf_spsr & PSR_I) == 0)
416 if (__predict_true(tf->tf_spsr & PSR_F) == 0)
514 if (__predict_true(rv == KERN_SUCCESS))
/freebsd-12-stable/sys/sys/
H A Drefcount.h66 if (__predict_true(atomic_fcmpset_int(count, &lcount,
H A Dfail.h96 #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))
H A Dsysent.h301 if (__predict_true((se->sy_thrcnt & SY_THR_STATIC) != 0))
310 if (__predict_true((se->sy_thrcnt & SY_THR_STATIC) != 0))
H A Dsignalvar.h352 if (__predict_true(mode == SIGDEFERSTOP_NOP))
361 if (__predict_true(prev == SIGDEFERSTOP_VAL_NCHG))
H A Dmalloc.h227 __predict_true(_malloc_item != NULL)) \
/freebsd-12-stable/libexec/rtld-elf/arm/
H A Dreloc.c237 if (__predict_true(RELOC_ALIGNED_P(where))) {
253 if (__predict_true(RELOC_ALIGNED_P(where))) {
288 if (__predict_true(RELOC_ALIGNED_P(where)))
305 if (__predict_true(RELOC_ALIGNED_P(where)))
326 if (__predict_true(RELOC_ALIGNED_P(where)))
/freebsd-12-stable/sys/kern/
H A Dkern_mutex.c662 if (__predict_true(!doing_lockprof))
760 if (__predict_true(lda.spin_cnt < 10000000)) {
776 if (__predict_true(!doing_lockprof))
831 if (__predict_true(v == MTX_UNOWNED)) {
838 if (__predict_true(m == td->td_lock)) {
920 if (__predict_true(lda.spin_cnt < 10000000)) {
943 if (__predict_true(!doing_lockprof))
1258 if (__predict_true(lda.spin_cnt < 10000000)) {
H A Dkern_rmlock.c468 if (__predict_true(0 == (td->td_owepreempt |
527 if (__predict_true(0 == (td->td_owepreempt | tracker->rmp_flags)))
/freebsd-12-stable/tests/sys/opencrypto/
H A Dcryptodevh.py75 def __predict_true(exp): return __builtin_expect((exp), 1) function
79 def __predict_true(exp): return (exp) function
/freebsd-12-stable/crypto/openssh/
H A Ddefines.h858 #ifndef __predict_true
861 # define __predict_true(exp) __builtin_expect(((exp) != 0), 1) macro
864 # define __predict_true(exp) ((exp) != 0) macro
867 #endif /* __predict_true */
/freebsd-12-stable/sys/net80211/
H A Dieee80211_ageq.c111 if (__predict_true(aq->aq_len < aq->aq_maxlen)) {
/freebsd-12-stable/lib/libthr/thread/
H A Dthr_sig.c283 if (__predict_true(!curthread->cancel_pending ||
332 if (__predict_true(curthread->deferred_siginfo.si_signo == 0 ||
358 if (__predict_true((curthread->flags &
H A Dthr_umtx.h105 __predict_true((mtx->m_flags & (UMUTEX_PRIO_PROTECT |
/freebsd-12-stable/sys/dev/neta/
H A Dif_mvneta.c1711 if (__predict_true(queues)) {
1893 if (__predict_true(tx->used > MVNETA_TX_RECLAIM_COUNT))
1927 if (__predict_true(M_HASHTYPE_GET(m) != M_HASHTYPE_NONE))
1948 if (__predict_true(error == 0))
2735 if (__predict_true(i == 0)) {
2760 if (__predict_true(used > 0)) {
2790 if (__predict_true(csum_flags & (CSUM_IP|CSUM_IP_TCP|CSUM_IP_UDP))) {
2863 if (__predict_true(txbuf->m != NULL)) {
2881 if (__predict_true(ndesc > 0)) {
3173 if (__predict_true(npk
[all...]
/freebsd-12-stable/sys/dev/xen/console/
H A Dxen_console.c306 if (__predict_true(cons->intr_handle != NULL))
467 if (sent == 0 && __predict_true(!force))

Completed in 285 milliseconds

1234