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

123456789

/freebsd-12-stable/contrib/ofed/libcxgb4/
H A Dconfig.h5 #define unlikely(x) __predict_false(x)
/freebsd-12-stable/contrib/ofed/libmlx4/
H A Dconfig.h13 #define unlikely(x) __predict_false(x)
/freebsd-12-stable/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-12-stable/sys/compat/linuxkpi/common/include/linux/
H A Dcompat.h49 if (__predict_false(td->td_lkpi_task == NULL))
56 if (__predict_false(td->td_lkpi_task == NULL))
H A Dmm_types.h56 if (__predict_false(atomic_dec_and_test(&mm->mm_count)))
69 if (__predict_false(atomic_dec_and_test(&mm->mm_users)))
/freebsd-12-stable/contrib/ofed/libmlx5/
H A Dconfig.h19 #define unlikely(x) __predict_false(x)
/freebsd-12-stable/sys/dev/vmware/vmci/
H A Dvmci_kernel_defs.h23 #define UNLIKELY(_exp) __predict_false(_exp)
/freebsd-12-stable/lib/libthr/thread/
H A Dthr_umtx.h87 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_OWNERDEAD) &&
91 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_NOTRECOV))
110 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_OWNERDEAD) &&
114 if (__predict_false((uint32_t)mtx->m_owner == UMUTEX_RB_NOTRECOV))
165 if (__predict_false((owner & ~UMUTEX_CONTESTED) != id))
167 } while (__predict_false(!atomic_cmpset_rel_32(&mtx->m_owner, owner,
198 if (__predict_false(URWLOCK_READER_COUNT(state) ==
256 if (__predict_false(URWLOCK_READER_COUNT(state) == 0))
H A Dthr_cancel.c52 if (__predict_false(SHOULD_CANCEL(curthread) &&
159 if (__predict_false(SHOULD_CANCEL(curthread) &&
172 if (__predict_false(SHOULD_CANCEL(curthread) &&
H A Dthr_rwlock.c67 if (__predict_false(*rwlock == THR_PSHARED_PTR ||
207 if (__predict_false(abstime &&
315 if (__predict_false(abstime &&
369 if (__predict_false(prwlock <= THR_RWLOCK_DESTROYED))
374 if (__predict_false(prwlock->owner != TID(curthread)))
H A Dthr_umtx.c107 if (__predict_false(owner == UMUTEX_RB_OWNERDEAD) &&
111 if (__predict_false(owner == UMUTEX_RB_NOTRECOV))
150 if (__predict_false(owner == UMUTEX_RB_OWNERDEAD) &&
154 if (__predict_false(owner == UMUTEX_RB_NOTRECOV))
/freebsd-12-stable/sys/sparc64/include/
H A Dsmp.h149 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
164 if (__predict_false(atomic_load_acq_int(&smp_started) == 0 ||
176 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
190 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
207 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
224 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
241 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
266 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
291 if (__predict_false(atomic_load_acq_int(&smp_started) == 0))
317 if (__predict_false((mas
[all...]
/freebsd-12-stable/sys/sys/
H A Dpmckern.h125 if (__predict_false(pmc_##pr##_##mo##_##fu##_##na.ps_running)) { \
150 if (__predict_false(pmc_##pr##_##mo##_##fu##_##na.ps_running)) { \
202 #define PMC_HOOK_INSTALLED(cmd) __predict_false(pmc_hook != NULL)
237 (__predict_false(p->p_flag & P_HWPMC))
240 (__predict_false((td)->td_pmcpend))
244 (__predict_false((p)->td_pflags & TDP_CALLCHAIN))
249 #define PMC_CPU_HAS_SAMPLES(C) (__predict_false(DPCPU_ID_GET((C), pmc_sampled)))
H A Drefcount.h64 if (__predict_false(lcount + 1 < lcount))
H A Dracct.h168 if (__predict_false(racct_enable)) \
172 if (__predict_false(racct_enable)) \
/freebsd-12-stable/sys/dev/nvd/
H A Dnvd.c192 if (__predict_false(bp->bio_flags & BIO_ORDERED))
198 if (__predict_false(bp->bio_flags & BIO_ORDERED)) {
204 __predict_false(ndisk->ordered_in_flight != 0))
223 if (__predict_false(bp->bio_flags & BIO_ORDERED)) {
253 if (__predict_false(bp->bio_flags & BIO_ORDERED))
349 if (__predict_false(bp->bio_flags & BIO_ORDERED)) {
355 __predict_false(ndisk->ordered_in_flight != 0))
375 if (__predict_false(bp->bio_flags & BIO_ORDERED)) {
/freebsd-12-stable/sys/riscv/riscv/
H A Duio_machdep.c113 if (__predict_false(mapped)) {
126 if (__predict_false(mapped)) {
/freebsd-12-stable/sys/arm64/arm64/
H A Duio_machdep.c113 if (__predict_false(mapped)) {
126 if (__predict_false(mapped)) {
/freebsd-12-stable/sys/amd64/amd64/
H A Duio_machdep.c115 if (__predict_false(mapped)) {
128 if (__predict_false(mapped))
/freebsd-12-stable/sys/mips/cavium/octe/
H A Dethernet-mem.c64 if (__predict_false(m == NULL)) {
H A Dethernet-tx.c105 if (__predict_false(m->m_pkthdr.len < 64) && OCTEON_IS_MODEL(OCTEON_CN3XXX)) {
126 if (__predict_false(m->m_pkthdr.len < 60) &&
228 if (__predict_false(cvmx_pko_send_packet_finish(priv->port, priv->queue + qos, pko_command, hw_buffer, CVMX_PKO_LOCK_CMD_QUEUE))) {
233 if (__predict_false(dropped)) {
/freebsd-12-stable/sys/arm/arm/
H A Dtrap-v6.c312 if (__predict_false(prefetch && far > VM_MAXUSER_ADDRESS &&
330 if (__predict_false(idx == FAULT_EA_IMPREC)) {
335 if (__predict_false(idx == FAULT_DEBUG)) {
369 if (__predict_false((td->td_pflags & TDP_NOFAULTING) != 0)) {
428 if (__predict_false(aborts[idx].func != NULL)) {
447 if (__predict_false(pcb->pcb_onfault == cachebailout)) {
/freebsd-12-stable/sys/dev/mmc/
H A Dmmcbrvar.h112 if (__predict_false(BUS_READ_IVAR(device_get_parent(dev), dev,
/freebsd-12-stable/sys/dev/bxe/
H A Dbxe_debug.c139 if (__predict_false(sc->debug & DBG_PHY)) {
151 if (__predict_false(sc->debug & DBG_PHY)) {
165 if (__predict_false(sc->debug & DBG_PHY)) {
180 if (__predict_false(sc->debug & DBG_PHY)) {

Completed in 112 milliseconds

123456789