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

12345

/freebsd-10.3-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-10.3-release/sys/ia64/include/
H A Dbus.h193 val = (__predict_false(bst == IA64_BUS_SPACE_IO))
204 val = (__predict_false(bst == IA64_BUS_SPACE_IO))
215 val = (__predict_false(bst == IA64_BUS_SPACE_IO))
226 val = (__predict_false(bst == IA64_BUS_SPACE_IO))
248 if (__predict_false(bst == IA64_BUS_SPACE_IO))
259 if (__predict_false(bst == IA64_BUS_SPACE_IO))
270 if (__predict_false(bst == IA64_BUS_SPACE_IO))
281 if (__predict_false(bst == IA64_BUS_SPACE_IO))
303 if (__predict_false(bst == IA64_BUS_SPACE_IO))
316 if (__predict_false(bs
[all...]
H A Drunq.h60 if (__predict_false(mask == 0ul))
/freebsd-10.3-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_rwlock.c49 if (__predict_false((prwlock = (*rwlock)) <= THR_RWLOCK_DESTROYED)) { \
159 if (__predict_false(abstime &&
261 if (__predict_false(abstime &&
309 if (__predict_false(prwlock <= THR_RWLOCK_DESTROYED))
314 if (__predict_false(prwlock->owner != curthread))
H A Dthr_umtx.h131 if (__predict_false((owner & ~UMUTEX_CONTESTED) != id))
133 } while (__predict_false(!atomic_cmpset_rel_32(&mtx->m_owner,
166 if (__predict_false(URWLOCK_READER_COUNT(state) == URWLOCK_MAX_READERS))
218 if (__predict_false(URWLOCK_READER_COUNT(state) == 0))
H A Dthr_mutex.c54 if (__predict_false((m)->m_qe.tqe_prev == NULL))\
58 if (__predict_false((m)->m_qe.tqe_prev != NULL || \
304 if (__predict_false((m = *mutex) <= THR_MUTEX_DESTROYED)) { \
364 if (__predict_false(
400 } else if (__predict_false(
638 if (__predict_false(m <= THR_MUTEX_DESTROYED)) {
647 if (__predict_false(m->m_owner != curthread))
652 if (__predict_false(
790 if (__predict_false(mp <= THR_MUTEX_DESTROYED)) {
/freebsd-10.3-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-10.3-release/sys/i386/include/xen/
H A Dxen-os.h68 #define PANIC_IF(exp) if (__predict_false(exp)) {printf("panic - %s: %s:%d\n",#exp, __FILE__, __LINE__); panic("%s: %s:%d", #exp, __FILE__, __LINE__);}
99 if (__predict_false(_vcpu->evtchn_upcall_pending)) \
110 if (__predict_false(_vcpu->evtchn_upcall_pending)) \
H A Dhypercall.h270 if (__predict_false(rc == -ENOXENSYS)) {
301 if (__predict_false(rc == -ENOXENSYS)) {
/freebsd-10.3-release/sys/mips/cavium/octe/
H A Dethernet-mem.c61 if (__predict_false(m == NULL)) {
H A Dethernet-tx.c102 if (__predict_false(m->m_pkthdr.len < 64) && OCTEON_IS_MODEL(OCTEON_CN3XXX)) {
123 if (__predict_false(m->m_pkthdr.len < 60) &&
225 if (__predict_false(cvmx_pko_send_packet_finish(priv->port, priv->queue + qos, pko_command, hw_buffer, CVMX_PKO_LOCK_CMD_QUEUE))) {
230 if (__predict_false(dropped)) {
/freebsd-10.3-release/sys/arm/arm/
H A Dtrap.c231 if (__predict_false(data_aborts[fsr & FAULT_TYPE_MASK].func != NULL)) {
254 if (__predict_false(pcb->pcb_onfault == fusubailout)) {
267 if (__predict_false((tf->tf_pc & 3) != 0)) {
301 if (__predict_false((tf->tf_spsr & PSR_MODE)==PSR_UND32_MODE)) {
645 if (__predict_false(!TRAP_USERMODE(tf)))
651 if (__predict_false(fault_pc >= VM_MAXUSER_ADDRESS ||
H A Dtrap-v6.c303 if (__predict_false(idx == FAULT_EA_IMPREC)) {
308 if (__predict_false(idx == FAULT_DEBUG)) {
338 if (__predict_false((td->td_pflags & TDP_NOFAULTING) != 0)) {
397 if (__predict_false(aborts[idx].func != NULL)) {
415 if (__predict_false(pcb->pcb_onfault == fusubailout)) {
H A Dsyscall.c179 if (__predict_false(((frame->tf_pc - INSN_SIZE) & 3) != 0)) {
/freebsd-10.3-release/sys/sys/
H A Dfail.h201 if (__predict_false( \
H A Dpmckern.h209 (__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-10.3-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-10.3-release/sys/compat/linux/
H A Dlinux_emul.c147 if (__predict_false(SV_CURPROC_ABI() != SV_ABI_LINUX))
228 if (__predict_false(SV_PROC_ABI(p) == SV_ABI_LINUX)) {
239 if (__predict_false((imgp->sysent->sv_flags & SV_ABI_MASK) ==
/freebsd-10.3-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-10.3-release/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c168 if (__predict_false(++toep->txsd_pidx == toep->txsd_total))
549 if (__predict_false(rc != 0))
622 if (__predict_false(toep->flags & TPF_TX_SUSPENDED)) {
712 if (__predict_false(toep->flags & TPF_FIN_SENT))
790 if (__predict_false(++toep->txsd_pidx == toep->txsd_total)) {
836 if (__predict_false(toep->flags & TPF_TX_SUSPENDED))
887 if (__predict_false(toep->flags & TPF_FIN_SENT))
961 if (__predict_false(++toep->txsd_pidx == toep->txsd_total)) {
1064 if (__predict_false(toep->flags & TPF_SYNQE)) {
1103 if (__predict_false(toe
[all...]
/freebsd-10.3-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-10.3-release/sys/amd64/include/xen/
H A Dhypercall.h275 if (__predict_false(rc == -ENOXENSYS)) {
308 if (__predict_false(rc == -ENOXENSYS)) {
/freebsd-10.3-release/sys/xen/
H A Dgnttab.c111 if (__predict_false(gnttab_free_callback_list != NULL))
139 if (__predict_false(error))
251 if (__predict_false(error))
344 if (__predict_false(error))
363 if (__predict_false(g == GNTTAB_LIST_END))

Completed in 375 milliseconds

12345