Home
last modified time | relevance | path

Searched refs:__predict_true (Results 1 – 25 of 28) sorted by relevance

12

/dflybsd-src/sys/sys/
H A Dmalloc.h223 __predict_true(_malloc_item != NULL)) { \
244 __predict_true(_malloc_item != NULL)) { \
282 __predict_true(_malloc_item != NULL)) { in __kmalloc()
299 __predict_true(_malloc_item != NULL)) { in __kmalloc_obj()
H A Dcdefs.h352 #define __predict_true(exp) __builtin_expect((exp), 1) macro
355 #define __predict_true(exp) (exp) macro
/dflybsd-src/contrib/dhcpcd/src/
H A Dcommon.h94 # define __predict_true(exp) __builtin_expect((exp) != 0, 1) macro
97 # define __predict_true(exp) (exp) macro
/dflybsd-src/sys/kern/
H A Dkern_kmalloc.c728 if (__predict_true(delta != 0)) { /* Cannot be dummy */ in _kmalloc_obj_debug()
733 if (__predict_true(obj != NULL)) { in _kmalloc_obj_debug()
755 if (__predict_true(delta != 0)) { /* Cannot be dummy */ in _kmalloc_obj_debug()
762 if (__predict_true(obj != NULL)) { in _kmalloc_obj_debug()
H A Dsys_mqueue.c686 if (__predict_true(msg == NULL)) { in mq_receive1()
696 if (__predict_true(idx) && TAILQ_EMPTY(&mq->mq_head[idx])) { in mq_receive1()
865 if (__predict_true(msg_prio < MQ_PQSIZE)) { in mq_send1()
H A Dvfs_cache.c399 if (__predict_true(mpr == mp)) in _cache_mntref()
670 if (__predict_true(!lockmgr_exclpending(&ncp->nc_lock))) { in _cache_lock_shared_special()
1216 if (__predict_true((fncpd->ncp->nc_flag & NCF_DESTROYED) == 0)) in cache_lock4_tondlocked()
1218 if (__predict_true((tncpd->ncp->nc_flag & NCF_DESTROYED) == 0)) in cache_lock4_tondlocked()
1220 if (__predict_true((fncp->ncp->nc_flag & NCF_DESTROYED) == 0)) in cache_lock4_tondlocked()
1222 if (__predict_true((tncp->ncp->nc_flag & NCF_DESTROYED) == 0)) in cache_lock4_tondlocked()
2347 if (__predict_true(spin_access_check_inprog(v) == 0)) { in cache_vref()
2354 if (__predict_true((vp->v_flag & VRECLAIMED) == 0)) { in cache_vref()
3983 if (__predict_true(spin_trylock(&pcpu->umount_spin))) { in cache_findmount()
H A Dkern_objcache.c508 if (__predict_true(depot->unallocated_objects > 0)) { in objcache_get()
H A Dvfs_default.c1234 if (__predict_true(error == 0)) { in vop_stdgetattr_lite()
H A Dusched_dfly.c340 if (__predict_true((td->td_flags & TDF_TSLEEPQ) == 0 && in dfly_acquire_curproc()
/dflybsd-src/crypto/openssh/
H A Ddefines.h920 #ifndef __predict_true
923 # define __predict_true(exp) __builtin_expect(((exp) != 0), 1) macro
926 # define __predict_true(exp) ((exp) != 0) macro
/dflybsd-src/lib/libc/gen/
H A Darc4random.h143 if (__predict_true(rsx->rs_seed_generation == in _rs_forkdetect()
/dflybsd-src/sys/netproto/802_11/wlan/
H A Dieee80211_ageq.c109 if (__predict_true(aq->aq_len < aq->aq_maxlen)) { in ieee80211_ageq_append()
H A Dieee80211_output.c231 else if (__predict_true((vap->iv_caps & IEEE80211_C_8023ENCAP) == 0)) { in ieee80211_vap_pkt_send_dest()
267 if (__predict_true((vap->iv_caps & IEEE80211_C_8023ENCAP) == 0)) { in ieee80211_vap_pkt_send_dest()
1492 if (__predict_true((m->m_flags & M_FF) == 0)) {
H A Dieee80211_dragonfly.c642 if (__predict_true(n != NULL)) { in ieee80211_realign()
/dflybsd-src/sys/dev/virtual/nvmm/x86/
H A Dnvmm_x86.h801 if (__predict_true(!(pcb->pcb_flags & PCB_DBREGS))) in x86_curthread_save_dbregs()
816 if (__predict_true(!(pcb->pcb_flags & PCB_DBREGS))) in x86_curthread_restore_dbregs()
H A Dnvmm_x86_vmx.c1175 if (__predict_true(!vcpu->comm->event_commit)) { in vmx_vcpu_event_commit()
2170 if (__predict_true(!os_cpuset_isset(cpudata->htlb_want_flush, hcpu))) { in vmx_htlb_catchup()
2192 if (__predict_true(machgen == cpudata->vcpu_htlb_gen)) { in vmx_htlb_flush()
2220 if (__predict_true((info & INTR_INFO_VALID) == 0)) { in vmx_exit_evt()
H A Dnvmm_x86_svm.c802 if (__predict_true(!vcpu->comm->event_commit)) { in svm_vcpu_event_commit()
1493 if (__predict_true(machgen == cpudata->vcpu_htlb_gen)) { in svm_htlb_flush()
1507 if (__predict_true(vmcb->ctrl.exitcode != VMCB_EXITCODE_INVALID)) { in svm_htlb_flush_ack()
/dflybsd-src/sys/dev/virtual/amazon/ena/ena-com/
H A Dena_plat.h120 #define likely(x) __predict_true(x)
/dflybsd-src/lib/libnvmm/
H A Dlibnvmm.c389 if (__predict_true((flags & ~comm->state_cached) == 0)) { in nvmm_vcpu_getstate()
H A Dlibnvmm_x86.c522 if (__predict_true(seg->attrib.g)) { in segment_check()
804 if (__predict_true(is_long_mode(state))) { in nvmm_assist_io()
2034 if (__predict_true(fsm->is64bit)) { in node_disp()
3047 if (__predict_true(is_long_mode(state))) { in store_to_gva()
/dflybsd-src/sys/dev/virtual/nvmm/
H A Dnvmm.c587 if (__predict_true(exit->reason != NVMM_VCPU_EXIT_MEMORY)) { in nvmm_do_vcpu_run()
/dflybsd-src/sys/platform/pc64/x86_64/
H A Dtrap.c1302 if (__predict_true(error == 0)) { in syscall2()
/dflybsd-src/sys/net/wg/
H A Dif_wg.c742 if (__predict_true(memcmp(e, &peer->p_endpoint, sizeof(*e)) == 0)) in wg_peer_set_endpoint()
753 if (__predict_true(memcmp(e, &peer->p_endpoint, sizeof(*e)) == 0)) in wg_peer_get_endpoint()
H A Dwg_noise.c914 if (__predict_true(recv > kp->kp_counter_recv)) { in noise_keypair_counter_check()
/dflybsd-src/sys/dev/netif/ral/
H A Drt2860.c1667 if (__predict_true(error == 0)) { in rt2860_tx()
1925 if (__predict_true(error == 0)) { in rt2860_tx_raw()

12