/freebsd-11-stable/sys/sys/ |
H A D | mutex.h | 238 if (__predict_false(LOCKSTAT_PROFILE_ENABLED(adaptive__acquire) ||\ 255 if (__predict_false(LOCKSTAT_PROFILE_ENABLED(spin__acquire) || \ 306 if (__predict_false(LOCKSTAT_PROFILE_ENABLED(adaptive__release) ||\
|
H A D | fail.h | 217 if (__predict_false(cond && \
|
H A D | cdefs.h | 444 * to evaluate to true, and __predict_false() if you expect the 449 * * Generally, __predict_false() error condition checks (unless 466 #define __predict_false(exp) __builtin_expect((exp), 0) macro 469 #define __predict_false(exp) (exp) macro
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | trap.c | 707 if (__predict_false((td->td_pflags & TDP_NOFAULTING) != 0)) { 1019 if (__predict_false(traced)) { 1049 if (__predict_false(td->td_frame->tf_rip >= VM_MAXUSER_ADDRESS))
|
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_rx.c | 241 if (__predict_false(rxq->init_state != SFXGE_RXQ_STARTED)) 317 if (__predict_false(rxq->init_state != SFXGE_RXQ_STARTED)) 565 if (__predict_false(th_seq != c->next_seq)) { 593 if (__predict_false(dont_merge)) { 792 if (__predict_false(t != st->last_purge_ticks)) 837 if (__predict_false(rxq->init_state != SFXGE_RXQ_STARTED))
|
H A D | sfxge_tx.c | 157 if (__predict_false(*pstmp == 433 if (__predict_false(txq->init_state != SFXGE_TXQ_STARTED)) { 1095 __predict_false(tso->tcph_off > 1295 if (__predict_false(!header)) 1301 if (__predict_false(dma_addr == 0)) { 1388 if (__predict_false(tso_start_new_packet(txq, &tso, &id))) 1424 if (__predict_false(tso_start_new_packet(txq, &tso, 1447 if (__predict_false(txq->init_state != SFXGE_TXQ_STARTED))
|
H A D | sfxge_ev.c | 122 if (__predict_false(rxq->init_state != SFXGE_RXQ_STARTED)) 297 if (__predict_false(txq->init_state != SFXGE_TXQ_STARTED)) 454 if (__predict_false(evq->init_state != SFXGE_EVQ_STARTED)) 688 if (__predict_false(evq->init_state != SFXGE_EVQ_STARTING &&
|
/freebsd-11-stable/crypto/openssh/ |
H A D | defines.h | 863 # define __predict_false(exp) __builtin_expect(((exp) != 0), 0) macro 866 # define __predict_false(exp) ((exp) != 0) macro
|
/freebsd-11-stable/sys/dev/hyperv/input/ |
H A D | hv_kbdc.c | 307 if (__predict_false(ret == ENOBUFS)) { 318 } else if (__predict_false(ret == EAGAIN)) {
|
/freebsd-11-stable/sys/net/ |
H A D | mp_ring.c | 369 if (__predict_false(++i == r->size)) 443 if (__predict_false(++i == r->size))
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | scatterlist.h | 315 if (__predict_false(!max_segment || offset_in_page(max_segment))) 327 if (__predict_false((rc = sg_alloc_table(sgt, segs, gfp_mask))))
|
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_osdep.h | 134 if (__predict_false((condition)!=0)) { \
|
/freebsd-11-stable/sys/dev/ata/ |
H A D | ata-lowlevel.c | 864 if (__predict_false((ch->flags & ATA_USE_16BIT) || 867 if (__predict_false((uintptr_t)addr % 2)) { 951 if (__predict_false((ch->flags & ATA_USE_16BIT) || 954 if (__predict_false((uintptr_t)addr % 2)) {
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | trap.c | 194 if (__predict_false(pcb->pcb_onfault == (vm_offset_t)&fsu_intr_fault)) {
|
/freebsd-11-stable/sys/amd64/ia32/ |
H A D | ia32_syscall.c | 127 if (__predict_false(frame->tf_cs == 7 && frame->tf_rip == 2)) {
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | undefined.c | 220 if (__predict_false((fault_pc & 3) != 0)) {
|
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_cpl_io.c | 369 if (__predict_false((toep->tp_flags & TP_DATASENT) == 0)) { 1123 if (__predict_false(inp == NULL)) { 1146 if (__predict_false(hdr->dack_mode != toep->tp_delack_mode)) 1152 if (__predict_false(tp->rcv_nxt != be32toh(hdr->seq))) { 1168 if (__predict_false(so_rcv->sb_state & SBS_CANTRCVMORE)) { 1725 if (__predict_false(!p)) { 1751 if (__predict_false(SEQ_LT(snd_una, tp->snd_una)))
|
H A D | cxgb_listen.c | 447 if (__predict_false(M_TRAILINGSPACE(m) < len)) { 549 if (__predict_false(inp->inp_flags & INP_DROPPED)) { 596 if (__predict_false(inp->inp_flags & INP_DROPPED)) { 701 if (__predict_false(inp->inp_flags & INP_DROPPED)) { 750 if (__predict_false(!(synqe->flags & TP_SYNQE_EXPANDED))) {
|
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.c | 635 if (__predict_false(inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT))) { 661 if (__predict_false(icc == NULL || sb->sb_state & SBS_CANTRCVMORE)) { 687 if (__predict_false(m != NULL)) { 915 __predict_false(sb->sb_state & SBS_CANTRCVMORE)) { 935 if (__predict_false(cwt->cwt_state == CWT_STOP))
|
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_netmap.c | 610 if (__predict_false(nm_txq->pidx == nm_txq->sidx)) { 687 if (__predict_false(nm_txq->cidx == nm_txq->sidx)) 953 if (__predict_false(fl_cidx == nm_rxq->fl_sidx)) 973 if (__predict_false(++nm_rxq->iq_cidx == nm_rxq->iq_sidx)) { 979 if (__predict_false(++n == rx_ndesc)) {
|
H A D | t4_filter.c | 585 if (__predict_false(fwr == NULL)) 889 if (__predict_false(ti->hftid_hash_4t == NULL)) { 894 if (__predict_false(sc->tids.atid_tab == NULL)) { 900 __predict_false(ti->hpftid_tab == NULL)) { 915 } else if (__predict_false(ti->ftid_tab == NULL)) { 944 if (__predict_false(l2te == NULL)) { 953 if (__predict_false(smt == NULL)) { 1548 if (__predict_false(f == NULL)) { 1557 if (__predict_false(atid) == -1) {
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_rwlock.c | 657 if (__predict_false(LOCKSTAT_PROFILE_ENABLED(rw__acquire) || 854 if (__predict_false(LOCKSTAT_PROFILE_ENABLED(rw__release) || 934 if (__predict_false(v == RW_UNLOCKED)) 937 if (__predict_false(lv_rw_wowner(v) == (struct thread *)tid)) { 1144 if (__predict_false(v == tid))
|
/freebsd-11-stable/sys/dev/cas/ |
H A D | if_cas.c | 1685 if (__predict_false( 1701 if (__predict_false( 1977 if (__predict_false((CAS_READ_4(sc, CAS_STATUS_ALIAS) & 2001 if (__predict_false((status & CAS_INTR_SUMMARY) == 0)) 2040 if (__predict_false((status & 2048 if (__predict_false(status & CAS_INTR_TX_MAC_INT)) { 2058 if (__predict_false(status & CAS_INTR_RX_MAC_INT)) { 2072 if (__predict_false((status & 2092 if (__predict_false((status & CAS_INTR_SUMMARY) != 0)) {
|
/freebsd-11-stable/sys/dev/xen/netfront/ |
H A D | netfront.c | 1063 if (__predict_false(rxq->info->carrier == 0)) 1187 if (__predict_false(err)) { 1295 if (__predict_false(gnttab_query_foreign_access( 1374 if (__predict_false(*cons + 1 == rp)) { 1382 if (__predict_false(!extra->type || 1427 if (__predict_false(rx->status < 0 ||
|
/freebsd-11-stable/sys/dev/ral/ |
H A D | rt2860.c | 1201 if (__predict_false(!(rxd->sdl0 & htole16(RT2860_RX_DDONE)))) { 1206 if (__predict_false(rxd->flags & 1213 if (__predict_false(rxd->flags & htole32(RT2860_RX_MICERR))) { 1223 if (__predict_false(m1 == NULL)) { 1235 if (__predict_false(error != 0)) { 1242 if (__predict_false(error != 0)) { 1399 if (__predict_false(r == 0xffffffff)) { 1591 if (__predict_false(error != 0 && error != EFBIG)) { 1607 if (__predict_false(error != 0)) { 1619 if (__predict_false(erro [all...] |