Searched refs:__predict_false (Results 1 - 25 of 160) sorted by relevance
1234567
/freebsd-11-stable/contrib/ofed/libcxgb4/ |
H A D | config.h | 5 #define unlikely(x) __predict_false(x)
|
/freebsd-11-stable/contrib/ofed/libmlx4/ |
H A D | config.h | 13 #define unlikely(x) __predict_false(x)
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | compat.h | 47 if (__predict_false(td->td_lkpi_task == NULL)) 54 if (__predict_false(td->td_lkpi_task == NULL))
|
H A D | mm_types.h | 54 if (__predict_false(atomic_dec_and_test(&mm->mm_count))) 67 if (__predict_false(atomic_dec_and_test(&mm->mm_users)))
|
/freebsd-11-stable/contrib/bmake/ |
H A D | buf.h | 91 /* 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 D | buf.c | 132 if (__predict_false(count + numBytes >= bp->size)) {
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_cancel.c | 44 if (__predict_false(SHOULD_CANCEL(curthread) && 151 if (__predict_false(SHOULD_CANCEL(curthread) && 164 if (__predict_false(SHOULD_CANCEL(curthread) &&
|
H A D | thr_umtx.h | 85 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 D | thr_rwlock.c | 58 if (__predict_false(*rwlock == THR_PSHARED_PTR || 198 if (__predict_false(abstime && 306 if (__predict_false(abstime && 360 if (__predict_false(prwlock <= THR_RWLOCK_DESTROYED)) 365 if (__predict_false(prwlock->owner != TID(curthread)))
|
H A D | thr_umtx.c | 105 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 D | thr_mutex.c | 136 if (__predict_false(m->m_qe.tqe_prev == NULL)) 148 if (__predict_false(m->m_qe.tqe_prev != NULL || 152 if (__predict_false(is_robust_mutex(m) && 185 if (__predict_false(curthread->inact_mtx != 0)) 201 if (__predict_false(curthread->inact_mtx != (uintptr_t)&m->m_lock)) 600 } else if (__predict_false(*m <= THR_MUTEX_DESTROYED)) { 661 if (__predict_false((m->m_lock.m_flags & (UMUTEX_PRIO_PROTECT | 698 else if (__predict_false(abstime->tv_nsec < 0 || 956 if (__predict_false(m <= THR_MUTEX_DESTROYED)) { 968 if (__predict_false(PMUTEX_OWNER_I [all...] |
/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | config.h | 19 #define unlikely(x) __predict_false(x)
|
/freebsd-11-stable/sys/sparc64/include/ |
H A D | smp.h | 147 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-stable/sys/sys/ |
H A D | pmckern.h | 113 if (__predict_false(pmc_##pr##_##mo##_##fu##_##na.ps_running)) { \ 138 if (__predict_false(pmc_##pr##_##mo##_##fu##_##na.ps_running)) { \ 178 #define PMC_HOOK_INSTALLED(cmd) __predict_false(pmc_hook != NULL) 212 (__predict_false(p->p_flag & P_HWPMC)) 216 (__predict_false((p)->td_pflags & TDP_CALLCHAIN)) 221 #define PMC_CPU_HAS_SAMPLES(C) (__predict_false(CPU_ISSET(C, &pmc_cpumask)))
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | uio_machdep.c | 113 if (__predict_false(mapped)) { 126 if (__predict_false(mapped)) {
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | uio_machdep.c | 113 if (__predict_false(mapped)) { 126 if (__predict_false(mapped))
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | uio_machdep.c | 113 if (__predict_false(mapped)) { 126 if (__predict_false(mapped)) {
|
/freebsd-11-stable/sys/dev/nvd/ |
H A D | nvd.c | 189 if (__predict_false(bp->bio_flags & BIO_ORDERED)) 195 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { 201 __predict_false(ndisk->ordered_in_flight != 0)) 220 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { 250 if (__predict_false(bp->bio_flags & BIO_ORDERED)) 301 if (__predict_false(bp->bio_flags & BIO_ORDERED)) { 307 __predict_false(ndisk->ordered_in_flight != 0)) 327 if (__predict_false(bp->bio_flags & BIO_ORDERED)) {
|
/freebsd-11-stable/sys/mips/cavium/octe/ |
H A D | ethernet-mem.c | 62 if (__predict_false(m == NULL)) {
|
H A D | ethernet-tx.c | 103 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-stable/sys/arm/arm/ |
H A D | trap-v6.c | 312 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)) {
|
H A D | trap-v4.c | 230 if (__predict_false(data_aborts[fsr & FAULT_TYPE_MASK].func != NULL)) { 259 if (__predict_false((tf->tf_pc & 3) != 0)) { 293 if (__predict_false((tf->tf_spsr & PSR_MODE)==PSR_UND32_MODE)) { 647 if (__predict_false(!TRAP_USERMODE(tf))) 653 if (__predict_false(fault_pc >= VM_MAXUSER_ADDRESS ||
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe_debug.c | 137 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-stable/sys/dev/mmc/ |
H A D | mmcbrvar.h | 110 if (__predict_false(BUS_READ_IVAR(device_get_parent(dev), dev,
|
/freebsd-11-stable/sys/dev/xen/grant_table/ |
H A D | grant_table.c | 119 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))
|
Completed in 795 milliseconds
1234567