Searched refs:__predict_false (Results 1 - 25 of 123) sorted by relevance

12345

/freebsd-11.0-release/contrib/bmake/
H A Dbuf.h91 /* If we aren't on netbsd, __predict_false() might not be defined. */
92 #ifndef __predict_false
93 #define __predict_false(x) (x) macro
100 if (__predict_false(_count >= (bp)->size)) \
H A Dbuf.c132 if (__predict_false(count + numBytes >= bp->size)) {
/freebsd-11.0-release/lib/libthr/thread/
H A Dthr_cancel.c44 if (__predict_false(SHOULD_CANCEL(curthread) &&
149 if (__predict_false(SHOULD_CANCEL(curthread) &&
162 if (__predict_false(SHOULD_CANCEL(curthread) &&
H A Dthr_umtx.h85 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_OWNERDEAD) &&
89 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_NOTRECOV))
108 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_OWNERDEAD) &&
112 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_NOTRECOV))
163 if (__predict_false((owner & ~UMUTEX_CONTESTED) != id))
165 } while (__predict_false(!atomic_cmpset_rel_32(&mtx->m_owner, owner,
196 if (__predict_false(URWLOCK_READER_COUNT(state) ==
254 if (__predict_false(URWLOCK_READER_COUNT(state) == 0))
H A Dthr_rwlock.c57 } else if (__predict_false((prwlock = (*rwlock)) <= \
181 if (__predict_false(abstime &&
283 if (__predict_false(abstime &&
337 if (__predict_false(prwlock <= THR_RWLOCK_DESTROYED))
342 if (__predict_false(prwlock->owner != TID(curthread)))
H A Dthr_umtx.c105 if (__predict_false(owner == UMUTEX_RB_OWNERDEAD) &&
109 if (__predict_false(owner == UMUTEX_RB_NOTRECOV))
148 if (__predict_false(owner == UMUTEX_RB_OWNERDEAD) &&
152 if (__predict_false(owner == UMUTEX_RB_NOTRECOV))
H A Dthr_mutex.c138 if (__predict_false(m->m_qe.tqe_prev == NULL))
150 if (__predict_false(m->m_qe.tqe_prev != NULL ||
154 if (__predict_false(is_robust_mutex(m) &&
187 if (__predict_false(curthread->inact_mtx != 0))
203 if (__predict_false(curthread->inact_mtx != (uintptr_t)&m->m_lock))
596 } else if (__predict_false(*m <= THR_MUTEX_DESTROYED)) {
657 if (__predict_false((m->m_lock.m_flags & (UMUTEX_PRIO_PROTECT |
694 else if (__predict_false(abstime->tv_nsec < 0 ||
951 if (__predict_false(m <= THR_MUTEX_DESTROYED)) {
963 if (__predict_false(PMUTEX_OWNER_I
[all...]
/freebsd-11.0-release/sys/sparc64/include/
H A Dsmp.h147 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
162 if (__predict_false(atomic_load_acq_int(&smp_started) == 0 ||
174 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
188 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
205 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
222 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
239 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
264 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
289 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
315 if (__predict_false((mas
[all...]
/freebsd-11.0-release/sys/sys/
H A Dpmckern.h113 if (__predict_false(pmc_##pr##_##mo##_##fu##_##na.ps_running)) { \
138 if (__predict_false(pmc_##pr##_##mo##_##fu##_##na.ps_running)) { \
209 (__predict_false(p->p_flag & P_HWPMC))
213 (__predict_false((p)->td_pflags & TDP_CALLCHAIN))
218 #define PMC_CPU_HAS_SAMPLES(C) (__predict_false(CPU_ISSET(C, &pmc_cpumask)))
/freebsd-11.0-release/sys/arm64/arm64/
H A Duio_machdep.c113 if (__predict_false(mapped)) {
126 if (__predict_false(mapped)) {
/freebsd-11.0-release/sys/amd64/amd64/
H A Duio_machdep.c113 if (__predict_false(mapped)) {
126 if (__predict_false(mapped))
/freebsd-11.0-release/sys/riscv/riscv/
H A Duio_machdep.c113 if (__predict_false(mapped)) {
126 if (__predict_false(mapped)) {
/freebsd-11.0-release/sys/mips/cavium/octe/
H A Dethernet-mem.c62 if (__predict_false(m == NULL)) {
H A Dethernet-tx.c103 if (__predict_false(m->m_pkthdr.len < 64) && OCTEON_IS_MODEL(OCTEON_CN3XXX)) {
124 if (__predict_false(m->m_pkthdr.len < 60) &&
226 if (__predict_false(cvmx_pko_send_packet_finish(priv->port, priv->queue + qos, pko_command, hw_buffer, CVMX_PKO_LOCK_CMD_QUEUE))) {
231 if (__predict_false(dropped)) {
/freebsd-11.0-release/sys/netinet/
H A Dtcp_lro.c545 if (__predict_false((csum_flags & CSUM_IP_VALID) == 0)) {
551 if (__predict_false((csum) != 0)) {
662 if (l != 0 && (__predict_false(l != TCPOLEN_TSTAMP_APPA) ||
707 if (__predict_false(seq != le->next_seq ||
719 if (__predict_false(le->tsval > tsval ||
844 if (__predict_false(lc->ifp == NULL || lc->lro_mbuf_data == NULL ||
852 if (__predict_false(mb->m_pkthdr.csum_flags == 0 ||
863 if (__predict_false(lc->lro_mbuf_count == lc->lro_mbuf_max))
/freebsd-11.0-release/sys/dev/bxe/
H A Dbxe_debug.c137 if (__predict_false(sc->debug & DBG_PHY)) {
149 if (__predict_false(sc->debug & DBG_PHY)) {
163 if (__predict_false(sc->debug & DBG_PHY)) {
178 if (__predict_false(sc->debug & DBG_PHY)) {
/freebsd-11.0-release/sys/compat/linux/
H A Dlinux_emul.c148 if (__predict_false(SV_CURPROC_ABI() != SV_ABI_LINUX))
232 if (__predict_false(SV_PROC_ABI(p) == SV_ABI_LINUX)) {
243 if (__predict_false((imgp->sysent->sv_flags & SV_ABI_MASK) ==
/freebsd-11.0-release/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c142 if (__predict_false(++toep->txsd_pidx == toep->txsd_total))
523 if (__predict_false(rc != 0))
592 if (__predict_false(toep->flags & TPF_ABORT_SHUTDOWN))
599 if (__predict_false(toep->flags & TPF_TX_SUSPENDED)) {
686 if (__predict_false(toep->flags & TPF_FIN_SENT))
765 if (__predict_false(++toep->txsd_pidx == toep->txsd_total)) {
820 if (__predict_false(toep->flags & TPF_ABORT_SHUTDOWN))
827 if (__predict_false(toep->flags & TPF_TX_SUSPENDED)) {
865 if (__predict_false(toep->flags & TPF_FIN_SENT))
957 if (__predict_false(
[all...]
/freebsd-11.0-release/sys/dev/xen/grant_table/
H A Dgrant_table.c119 if (__predict_false(gnttab_free_callback_list != NULL))
147 if (__predict_false(error))
259 if (__predict_false(error))
352 if (__predict_false(error))
371 if (__predict_false(g == GNTTAB_LIST_END))
/freebsd-11.0-release/sys/arm/arm/
H A Dtrap-v4.c233 if (__predict_false(data_aborts[fsr & FAULT_TYPE_MASK].func != NULL)) {
262 if (__predict_false((tf->tf_pc & 3) != 0)) {
296 if (__predict_false((tf->tf_spsr & PSR_MODE)==PSR_UND32_MODE)) {
637 if (__predict_false(!TRAP_USERMODE(tf)))
643 if (__predict_false(fault_pc >= VM_MAXUSER_ADDRESS ||
H A Dtrap-v6.c314 if (__predict_false(idx == FAULT_EA_IMPREC)) {
319 if (__predict_false(idx == FAULT_DEBUG)) {
353 if (__predict_false((td->td_pflags & TDP_NOFAULTING) != 0)) {
412 if (__predict_false(aborts[idx].func != NULL)) {
431 if (__predict_false(pcb->pcb_onfault == cachebailout)) {
/freebsd-11.0-release/sys/mips/cavium/cryptocteon/
H A Dcavium_crypto.c336 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL ||
395 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL ||
455 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL ||
524 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL ||
597 if (__predict_false(od == NULL || iov==NULL || iovlen==0 ||
626 if (__predict_false(inplen)) {
699 if (__predict_false(od == NULL || iov==NULL || iovlen==0 ||
729 if (__predict_false(inplen)) {
809 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL ||
879 if (__predict_false(inple
[all...]
/freebsd-11.0-release/sys/dev/nvd/
H A Dnvd.c178 if (__predict_false(bp->bio_flags & BIO_ORDERED))
197 if (__predict_false(bp->bio_flags & BIO_ORDERED))
240 if (__predict_false(bp->bio_flags & BIO_ORDERED))
/freebsd-11.0-release/sys/dev/cxgbe/cxgbei/
H A Dcxgbei_ulp2_ddp.h165 if (__predict_false(++colors[idx] == 1 << IPPOD_IDX_SHIFT))
/freebsd-11.0-release/tests/sys/opencrypto/
H A Dcryptodevh.py77 def __predict_false(exp): return __builtin_expect((exp), 0) function
81 def __predict_false(exp): return (exp) function

Completed in 200 milliseconds

12345