Searched refs:__predict_true (Results 26 - 50 of 77) sorted by relevance

1234

/freebsd-12-stable/sys/sys/
H A Dcdefs.h432 * compiler feature. Use __predict_true() if you expect the expression
440 * document it), and/or __predict_true() `no-error' condition
454 #define __predict_true(exp) __builtin_expect((exp), 1) macro
457 #define __predict_true(exp) (exp) macro
/freebsd-12-stable/libexec/rtld-elf/mips/
H A Dreloc.c177 if (__predict_true(((uintptr_t)where & (len - 1)) == 0)) {
198 if (__predict_true(((uintptr_t)where & (len - 1)) == 0)) {
/freebsd-12-stable/sys/kern/
H A Dkern_lock.c991 if (__predict_true(locked)) {
1141 if (__predict_true(x & LK_SHARE) != 0) {
1271 if (__predict_true(x & LK_SHARE) != 0) {
H A Dkern_rwlock.c627 if (__predict_true(!doing_lockprof))
1158 if (__predict_true(!extra_work))
1165 if (__predict_true(!doing_lockprof))
H A Dkern_sx.c876 if (__predict_true(!extra_work))
884 if (__predict_true(!doing_lockprof))
1238 if (__predict_true(!extra_work))
H A Dsubr_vmem.c1324 if (__predict_true(*addrp != 0))
1450 __predict_true(addr >= VMEM_ADDR_QCACHE_MIN)) {
/freebsd-12-stable/sys/dev/nvd/
H A Dnvd.c229 } else if (__predict_true(ndisk->ordered_in_flight == 0)) {
/freebsd-12-stable/sys/dev/sfxge/
H A Dsfxge_tx.c555 if (__predict_true(txq->init_state == SFXGE_TXQ_STARTED)) {
1212 *(uint64_t *)dma_addr_ret = ((__predict_true(error == 0) &&
1213 __predict_true(nseg == 1)) ?
1280 if (__predict_true(tso->header_len <= TSOH_STD_SIZE)) {
H A Dsfxge_port.c291 if (__predict_true(port->init_state == SFXGE_PORT_STARTED) &&
440 if (__predict_true(port->init_state == SFXGE_PORT_STARTED))
/freebsd-12-stable/sys/contrib/ena-com/
H A Dena_plat.h142 #define likely(x) __predict_true(!!(x))
/freebsd-12-stable/sys/amd64/amd64/
H A Dvm_machdep.c454 if (__predict_true(error == 0)) {
/freebsd-12-stable/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c590 while (__predict_true(cwt->cwt_state != CWT_STOP)) {
601 if (__predict_true(!(sb->sb_state & SBS_CANTRCVMORE))) {
H A Dicl_cxgbei.c179 if (__predict_true(ic != NULL))
347 if (__predict_true(m_append(m, len, addr) != 0)) {
/freebsd-12-stable/sys/vm/
H A Dvm_kern.c408 if (__predict_true((flags & M_EXEC) == 0))
578 if (__predict_true((m->oflags & VPO_KMEM_EXEC) == 0))
/freebsd-12-stable/sys/dev/cxgbe/
H A Dt4_mp_ring.c365 if (__predict_true(space_available(r, os) >= n))
/freebsd-12-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rx.c185 (__predict_true(*ts_ptr) == ntohl(TCPOPT_NOP << 24 |
/freebsd-12-stable/sys/dev/vnic/
H A Dnicvf_queues.c828 if (__predict_true(mbuf != NULL))
2009 if (__predict_true(mbuf != NULL)) {
2013 if (__predict_true((if_getcapenable(nic->ifp) & IFCAP_RXCSUM) != 0)) {
2017 if (__predict_true(cqe_rx->l3_type == L3TYPE_IPV4)) {
/freebsd-12-stable/sys/netinet/
H A Dtcp_timewait.c744 if (__predict_true(tw == NULL)) {
/freebsd-12-stable/sys/netinet6/
H A Dudp6_usrreq.c390 if (__predict_true(last->inp_flags2 & INP_FREED) == 0) {
431 if (__predict_true(last->inp_flags2 & INP_FREED) == 0) {
/freebsd-12-stable/sys/arm/arm/
H A Dbusdma_machdep-v4.c858 if (__predict_true(pmap == kernel_pmap))
1082 if (__predict_true(pmap == kernel_pmap)) {
H A Dbusdma_machdep-v6.c935 if (__predict_true(pmap == kernel_pmap))
1155 if (__predict_true(pmap == kernel_pmap)) {
/freebsd-12-stable/sys/arm/include/
H A Dbus.h288 if (__predict_true(t->MBR == NULL)) \
299 if (__predict_true(t->MBR == NULL)) \
/freebsd-12-stable/sys/dev/bxe/
H A Decore_sp.h155 #define ECORE_LIKELY(x) __predict_true(x)
244 if (__predict_true(exp)) { \
/freebsd-12-stable/sys/dev/liquidio/base/
H A Dlio_droq.c664 if (__predict_true(secondary_frag)) {
/freebsd-12-stable/sys/net80211/
H A Dieee80211_freebsd.c524 if (__predict_true(n != NULL)) {

Completed in 485 milliseconds

1234