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

123

/freebsd-11-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-11-stable/contrib/ofed/libmlx4/
H A Dconfig.h12 #define likely(x) __predict_true(x)
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_tom_l2t.h46 if (__predict_true(e->state == L2T_STATE_VALID)) {
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dconfig.h18 #define likely(x) __predict_true(x)
/freebsd-11-stable/lib/libc/amd64/sys/
H A Damd64_detect_rdfsgsbase.c48 if (__predict_true(state != RDFSGS_UNKNOWN))
/freebsd-11-stable/sys/arm/arm/
H A Dsyscall.c171 if (__predict_true(frame->tf_spsr & PSR_I) == 0)
173 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)
288 __predict_true((pcb->pcb_onfault == NULL ||
355 if (__predict_true(error == 0))
640 if (__predict_true(tf->tf_spsr & PSR_I) == 0)
642 if (__predict_true(tf->tf_spsr & PSR_F) == 0)
674 if (__predict_true(error == 0))
H A Dundefined.c199 if (__predict_true(frame->tf_spsr & PSR_I) == 0)
201 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)
506 if (__predict_true(rv == KERN_SUCCESS))
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_l2t.h94 if (__predict_true(e->state == L2T_STATE_VALID))
/freebsd-11-stable/sys/dev/cxgb/sys/
H A Duipc_mvec.c76 if (__predict_true(n->m_len != 0)) {
/freebsd-11-stable/sys/sys/
H A Dfail.h94 #define FAIL_POINT_IS_OFF(fp) (__predict_true((fp)->fp_setting == NULL) || \
95 __predict_true(fail_point_is_off(fp)))
184 if (__predict_true(fp->fp_setting == NULL))
H A Dcdefs.h443 * compiler feature. Use __predict_true() if you expect the expression
451 * document it), and/or __predict_true() `no-error' condition
465 #define __predict_true(exp) __builtin_expect((exp), 1) macro
468 #define __predict_true(exp) (exp) macro
/freebsd-11-stable/libexec/rtld-elf/arm/
H A Dreloc.c242 if (__predict_true(RELOC_ALIGNED_P(where))) {
258 if (__predict_true(RELOC_ALIGNED_P(where))) {
293 if (__predict_true(RELOC_ALIGNED_P(where)))
310 if (__predict_true(RELOC_ALIGNED_P(where)))
331 if (__predict_true(RELOC_ALIGNED_P(where)))
/freebsd-11-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-11-stable/sys/kern/
H A Dkern_mutex.c645 if (__predict_true(!doing_lockprof))
743 if (__predict_true(lda.spin_cnt < 10000000)) {
759 if (__predict_true(!doing_lockprof))
814 if (__predict_true(v == MTX_UNOWNED)) {
821 if (__predict_true(m == td->td_lock)) {
903 if (__predict_true(lda.spin_cnt < 10000000)) {
926 if (__predict_true(!doing_lockprof))
/freebsd-11-stable/crypto/openssh/
H A Ddefines.h859 #ifndef __predict_true
862 # define __predict_true(exp) __builtin_expect(((exp) != 0), 1) macro
865 # define __predict_true(exp) ((exp) != 0) macro
868 #endif /* __predict_true */
/freebsd-11-stable/sys/net80211/
H A Dieee80211_ageq.c109 if (__predict_true(aq->aq_len < aq->aq_maxlen)) {
/freebsd-11-stable/sys/netinet/tcp_stacks/
H A Dfastpath.c1866 if (__predict_true((tlen == 0))) {
1872 if (__predict_true((SEQ_GT(th->th_ack, tp->snd_una) && tiwin) ||
1902 if (__predict_true(tp->t_state == TCPS_ESTABLISHED &&
1911 if (__predict_true((tlen == 0) &&
2356 if (__predict_true(tp->t_state == TCPS_ESTABLISHED) &&
2357 __predict_true(((to.to_flags & TOF_SACK) == 0)) &&
2358 __predict_true(tlen == 0) &&
2359 __predict_true((thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK) &&
2360 __predict_true(SEGQ_EMPTY(tp)) &&
2361 __predict_true(t
[all...]
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_sig.c281 if (__predict_true(!curthread->cancel_pending ||
330 if (__predict_true(curthread->deferred_siginfo.si_signo == 0 ||
356 if (__predict_true((curthread->flags &
H A Dthr_umtx.h103 __predict_true((mtx->m_flags & (UMUTEX_PRIO_PROTECT |
/freebsd-11-stable/lib/libc/x86/sys/
H A D__vdso_gettc.c139 if (__predict_true(lfence_works == LMB_LFENCE)) {
/freebsd-11-stable/libexec/rtld-elf/mips/
H A Dreloc.c102 if (__predict_true(((uintptr_t)where & (len - 1)) == 0)) {
123 if (__predict_true(((uintptr_t)where & (len - 1)) == 0)) {
/freebsd-11-stable/sys/dev/xen/console/
H A Dxen_console.c309 if (__predict_true(cons->intr_handle != NULL))
470 if (sent == 0 && __predict_true(!force))

Completed in 267 milliseconds

123