| /freebsd/sys/contrib/dpdk_rte_lpm/ |
| H A D | rte_branch_prediction.h | 14 * Check if a branch is likely to be taken. 17 * likely to be taken. Example: 19 * if (likely(x > 1)) 23 #ifndef likely 24 #define likely(x) __builtin_expect(!!(x), 1) macro 25 #endif /* likely */
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | refcount.c | 136 if (likely(!rc->rc_tracked)) { in zfs_refcount_add_many() 164 if (likely(!rc->rc_tracked)) in zfs_refcount_add_few() 177 if (likely(!rc->rc_tracked)) { in zfs_refcount_remove_many() 222 if (likely(!rc->rc_tracked)) in zfs_refcount_remove_few() 272 if (likely(!rc->rc_tracked)) in zfs_refcount_transfer_ownership_many() 306 if (likely(!rc->rc_tracked)) in zfs_refcount_held() 314 if (likely(ref == NULL)) in zfs_refcount_held() 333 if (likely(!rc->rc_tracked)) in zfs_refcount_not_held() 341 if (likely(ref == NULL)) in zfs_refcount_not_held()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_access.cpp | 30 if (LIKELY(pc_delta < (1 << EventAccess::kPCBits))) { in TryTraceMemoryAccess() 80 if (LIKELY(TryTraceMemoryAccessRange(thr, pc, addr, size, typ))) in TraceMemoryAccessRange() 88 if (LIKELY(TryTraceFunc(thr, pc))) in TraceFunc() 201 if (LIKELY(old.raw() == Shadow::kEmpty)) { in CheckRaces() 206 if (LIKELY(!(cur.access() & old.access()))) in CheckRaces() 208 if (LIKELY(cur.sid() == old.sid())) { in CheckRaces() 210 LIKELY(cur.access() == old.access() && old.IsRWWeakerOrEqual(typ))) { in CheckRaces() 216 if (LIKELY(old.IsBothReadsOrAtomic(typ))) in CheckRaces() 218 if (LIKELY(thr->clock.Get(old.sid()) >= old.epoch())) in CheckRaces() 225 if (LIKELY(stored)) in CheckRaces() [all …]
|
| /freebsd/sys/dev/ena/ |
| H A D | ena_netmap.h | 35 /* Undef (un)likely as they are defined in netmap_kern.h */ 36 #ifdef likely 37 #undef likely 38 #endif /* likely */
|
| /freebsd/sys/x86/isa/ |
| H A D | nmi.c | 61 log(LOG_CRIT, "RAM parity error, likely hardware failure."); in isa_nmi() 66 log(LOG_CRIT, "I/O channel check, likely hardware failure."); in isa_nmi() 79 log(LOG_CRIT, "EISA watchdog timer expired, likely hardware failure."); in isa_nmi() 84 log(LOG_CRIT, "EISA bus timeout, likely hardware failure."); in isa_nmi()
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/skylakex/ |
| H A D | other.json | 53 …hat are dropped and not written back to L3 as they are deemed to be less likely to be reused short… 58 …hat are dropped and not written back to L3 as they are deemed to be less likely to be reused short… 63 …e allocated and written back to L3 with the intention that they are more likely to be reused short… 68 …e allocated and written back to L3 with the intention that they are more likely to be reused short…
|
| /freebsd/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_cq.c | 75 if (likely(cqn < MLX5_CQ_LINEAR_ARRAY_SIZE)) in mlx5_cq_completion() 83 if (likely(cq != NULL)) { in mlx5_cq_completion() 107 if (likely(cqn < MLX5_CQ_LINEAR_ARRAY_SIZE)) in mlx5_cq_event() 115 if (likely(cq != NULL)) { in mlx5_cq_event() 146 if (likely(err == 0 && cq->cqn < MLX5_CQ_LINEAR_ARRAY_SIZE)) in mlx5_core_create_cq() 174 if (likely(cq->cqn < MLX5_CQ_LINEAR_ARRAY_SIZE)) in mlx5_core_destroy_cq()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineBranchProbabilityInfo.cpp | 30 StaticLikelyProb("static-likely-prob", 32 " to be considered very likely"), 36 "profile-likely-prob", 38 " very likely when profile is available"),
|
| /freebsd/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | arena_inlines_b.h | 149 if (likely(tcache != NULL)) { in arena_decay_extent() 150 if (likely(size <= SC_SMALL_MAXCLASS)) { in arena_decay_extent() 154 if (likely(size <= tcache_maxclass)) { in arena_decay_extent() 272 if (likely(alloc_ctx.slab)) { in arena_dalloc_large() 329 if (likely(alloc_ctx.slab)) { in arena_sdalloc_no_tcache() 370 if (likely(alloc_ctx.slab)) { 416 if (likely(alloc_ctx.slab)) { in arena_sdalloc()
|
| H A D | jemalloc_internal_inlines_a.h | 50 /* This likely means a misconfig. */ in percpu_arena_ind_limit() 81 if (likely(tsd_tcache_enabled_get(tsd))) { in arena_tdata_get()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | Speculation.h | 103 llvm::dbgs() << "\n Likely Symbol : " << N; in launchCompile() 135 // Speculatively compile likely functions for the given Stub Address. 143 auto Likely = SymPair.second; in registerSymbols() local 145 auto OnReadyFixUp = [Likely, Target, in registerSymbols() 149 registerSymbolsWithAddr(RDef.getAddress(), std::move(Likely)); in registerSymbols()
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
| H A D | v_math.h | 176 if (likely (p[0])) in v_call_f64() 178 if (likely (p1)) in v_call_f64() 190 if (likely (p[0])) in v_call2_f64() 192 if (likely (p1)) in v_call2_f64()
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_xarray.c | 135 if (likely(*pindex < limit.max)) { in __xa_alloc() 142 if (likely(gfp & M_WAITOK)) { in __xa_alloc() 205 if (likely(gfp & M_WAITOK)) { in __xa_alloc_cyclic() 264 if (likely(gfp & M_WAITOK)) { in __xa_insert() 312 if (likely(gfp & M_WAITOK)) { in __xa_store() 425 if (likely(found)) { in __xa_next()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | tsd_exclusive.h | 65 if (LIKELY(Initialized)) in initOnceMaybe() 97 if (LIKELY(State.InitState != ThreadState::NotInitialized)) in initThreadMaybe() 136 if (LIKELY(State.InitState == ThreadState::Initialized && in getTSDAndLock() 188 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
|
| /freebsd/contrib/llvm-project/lld/docs/ |
| H A D | missingkeyfunction.rst | 10 it's likely that your class C has a key function (defined by the ABI as the first 46 key function, but it's quite common because virtual destructors are likely to be 48 also more likely that you won't have any direct references to the destructor, so
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_mutex.h | 30 if (LIKELY(TryLock())) in Lock() 173 if (LIKELY(!locked)) { in Lock() 192 if (LIKELY(!locked)) in Lock() 217 if (LIKELY(atomic_compare_exchange_weak( in TryLock() 260 if (LIKELY(!locked)) { in ReadLock() 276 if (LIKELY(!locked)) in ReadLock()
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | scic_sds_pci.c | 152 * @todo This PCI memory access calls likely need to be optimized into macro? 172 * @todo This PCI memory access calls likely need to be optimized into macro? 193 * @todo This PCI memory access calls likely need to be optimized into macro? 224 * @todo This PCI memory access calls likely need to be optimized into macro?
|
| /freebsd/share/man/man4/ |
| H A D | aibs.4 | 144 are very likely to be identical to the readings from the 149 are more likely to match the markings on the motherboard. 155 For example, the threshold for the CPU temperature sensor is likely
|
| /freebsd/sys/dev/qat/qat_common/ |
| H A D | adf_pfvf_vf_msg.c | 142 if (likely(len >= sizeof(struct capabilities_v3))) in adf_vf2pf_get_capabilities() 149 if (likely(len >= sizeof(struct capabilities_v2))) { in adf_vf2pf_get_capabilities() 157 if (likely(len >= sizeof(struct capabilities_v1))) { in adf_vf2pf_get_capabilities()
|
| /freebsd/contrib/arm-optimized-routines/networking/arm/ |
| H A D | chksum_simd.c | 33 if (likely(off != 0)) in __chksum_arm_simd() 77 while (likely(nbytes >= 16)) in __chksum_arm_simd() 112 if (likely(nbytes != 0)) in __chksum_arm_simd()
|
| /freebsd/sys/contrib/openzfs/contrib/debian/ |
| H A D | openzfs-zfs-dkms.templates | 8 likely to cause instability leading to possible data corruption. You 22 likely to cause instability leading to possible data corruption. You
|
| /freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | debug.h | 55 #ifndef likely 56 #define likely(x) __builtin_expect((x), 1) macro
|
| /freebsd/sys/contrib/device-tree/Bindings/net/can/ |
| H A D | mpc5xxx-mscan.txt | 5 Grant Likely <grant.likely@secretlab.ca>
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-enc.c | 114 * it is not likely ever to be > 65535 (I doubt there will in enc_if_print() 117 * upper 16 bits set, and it is not likely ever to be AF_UNSPEC, in enc_if_print() 118 * i.e. it's not likely ever to be 0, so if it's byte-swapped, in enc_if_print()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/include/scudo/ |
| H A D | interface.h | 40 // Determine the likely cause of a tag check fault or other memory protection 72 // The more memory available via this pointer, the more likely it is that the 138 // Tune the allocator's choice of memory tags to make it more likely that
|