| /dflybsd-src/sys/sys/ |
| H A D | malloc.h | 223 __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 D | cdefs.h | 352 #define __predict_true(exp) __builtin_expect((exp), 1) macro 355 #define __predict_true(exp) (exp) macro
|
| /dflybsd-src/contrib/dhcpcd/src/ |
| H A D | common.h | 94 # define __predict_true(exp) __builtin_expect((exp) != 0, 1) macro 97 # define __predict_true(exp) (exp) macro
|
| /dflybsd-src/sys/kern/ |
| H A D | kern_kmalloc.c | 728 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 D | sys_mqueue.c | 686 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 D | vfs_cache.c | 399 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 D | kern_objcache.c | 508 if (__predict_true(depot->unallocated_objects > 0)) { in objcache_get()
|
| H A D | vfs_default.c | 1234 if (__predict_true(error == 0)) { in vop_stdgetattr_lite()
|
| H A D | usched_dfly.c | 340 if (__predict_true((td->td_flags & TDF_TSLEEPQ) == 0 && in dfly_acquire_curproc()
|
| /dflybsd-src/crypto/openssh/ |
| H A D | defines.h | 920 #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 D | arc4random.h | 143 if (__predict_true(rsx->rs_seed_generation == in _rs_forkdetect()
|
| /dflybsd-src/sys/netproto/802_11/wlan/ |
| H A D | ieee80211_ageq.c | 109 if (__predict_true(aq->aq_len < aq->aq_maxlen)) { in ieee80211_ageq_append()
|
| H A D | ieee80211_output.c | 231 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 D | ieee80211_dragonfly.c | 642 if (__predict_true(n != NULL)) { in ieee80211_realign()
|
| /dflybsd-src/sys/dev/virtual/nvmm/x86/ |
| H A D | nvmm_x86.h | 801 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 D | nvmm_x86_vmx.c | 1175 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 D | nvmm_x86_svm.c | 802 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 D | ena_plat.h | 120 #define likely(x) __predict_true(x)
|
| /dflybsd-src/lib/libnvmm/ |
| H A D | libnvmm.c | 389 if (__predict_true((flags & ~comm->state_cached) == 0)) { in nvmm_vcpu_getstate()
|
| H A D | libnvmm_x86.c | 522 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 D | nvmm.c | 587 if (__predict_true(exit->reason != NVMM_VCPU_EXIT_MEMORY)) { in nvmm_do_vcpu_run()
|
| /dflybsd-src/sys/platform/pc64/x86_64/ |
| H A D | trap.c | 1302 if (__predict_true(error == 0)) { in syscall2()
|
| /dflybsd-src/sys/net/wg/ |
| H A D | if_wg.c | 742 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 D | wg_noise.c | 914 if (__predict_true(recv > kp->kp_counter_recv)) { in noise_keypair_counter_check()
|
| /dflybsd-src/sys/dev/netif/ral/ |
| H A D | rt2860.c | 1667 if (__predict_true(error == 0)) { in rt2860_tx() 1925 if (__predict_true(error == 0)) { in rt2860_tx_raw()
|