Home
last modified time | relevance | path

Searched full:likely (Results 1 – 25 of 1791) sorted by relevance

12345678910>>...72

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_branch_prediction.h14 * 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 Drefcount.c133 if (likely(!rc->rc_tracked)) { in zfs_refcount_add_many()
161 if (likely(!rc->rc_tracked)) in zfs_refcount_add_few()
174 if (likely(!rc->rc_tracked)) { in zfs_refcount_remove_many()
218 if (likely(!rc->rc_tracked)) in zfs_refcount_remove_few()
268 if (likely(!rc->rc_tracked)) in zfs_refcount_transfer_ownership_many()
302 if (likely(!rc->rc_tracked)) in zfs_refcount_held()
310 if (likely(ref == NULL)) in zfs_refcount_held()
329 if (likely(!rc->rc_tracked)) in zfs_refcount_not_held()
337 if (likely(ref == NULL)) in zfs_refcount_not_held()
/freebsd/sys/dev/ena/
H A Dena_netmap.h35 /* Undef (un)likely as they are defined in netmap_kern.h */
36 #ifdef likely
37 #undef likely
38 #endif /* likely */
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp30 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/x86/isa/
H A Dnmi.c61 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 Dother.json53 …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/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBranchProbabilityInfo.cpp30 StaticLikelyProb("static-likely-prob",
32 "to be considered very likely"),
36 "profile-likely-prob",
38 " very likely when profile is available"),
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cq.c75 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()
145 if (likely(err == 0 && cq->cqn < MLX5_CQ_LINEAR_ARRAY_SIZE)) in mlx5_core_create_cq()
173 if (likely(cq->cqn < MLX5_CQ_LINEAR_ARRAY_SIZE)) in mlx5_core_destroy_cq()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DSpeculation.h102 llvm::dbgs() << "\n Likely Symbol : " << N; in launchCompile()
134 // Speculatively compile likely functions for the given Stub Address.
142 auto Likely = SymPair.second; in registerSymbols() local
144 auto OnReadyFixUp = [Likely, Target, in registerSymbols()
148 registerSymbolsWithAddr(RDef.getAddress(), std::move(Likely)); in registerSymbols()
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Darena_inlines_b.h163 if (likely(tcache != NULL)) { in arena_malloc()
164 if (likely(size <= SC_SMALL_MAXCLASS)) { in arena_malloc()
168 if (likely(size <= tcache_maxclass)) { in arena_malloc()
261 if (likely(slab)) { in arena_dalloc_no_tcache()
318 if (likely(slab)) { in arena_dalloc()
362 if (likely(slab)) { in arena_sdalloc_no_tcache()
418 if (likely(slab)) { in arena_sdalloc()
H A Djemalloc_internal_inlines_a.h50 /* This likely means a misconfig. */ in percpu_arena_ind_limit()
78 if (likely(tdata != NULL) || !refresh_if_missing) { in arena_tdata_get()
130 if (likely(tsd_tcache_enabled_get(tsd))) { in tcache_available()
H A Dutil.h32 # define likely(x) __builtin_expect(!!(x), 1) macro
35 # define likely(x) !!(x) macro
/freebsd/contrib/arm-optimized-routines/pl/math/
H A Dv_math.h146 if (likely (p[0])) in v_call_f64()
148 if (likely (p1)) in v_call_f64()
160 if (likely (p[0])) in v_call2_f64()
162 if (likely (p1)) in v_call2_f64()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_xarray.c138 if (likely(*pindex != mask)) { in __xa_alloc()
145 if (likely(gfp & M_WAITOK)) { in __xa_alloc()
210 if (likely(gfp & M_WAITOK)) { in __xa_alloc_cyclic()
256 if (likely(gfp & M_WAITOK)) { in __xa_insert()
304 if (likely(gfp & M_WAITOK)) { in __xa_store()
407 if (likely(found)) { in __xa_next()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h65 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/sys/contrib/openzfs/module/zstd/lib/common/
H A Dcompiler.h152 /* Tell the compiler that a branch is likely or unlikely.
154 * If you can remove a LIKELY/UNLIKELY annotation without speed changes in gcc
158 #define LIKELY(x) (__builtin_expect((x), 1)) macro
161 #define LIKELY(x) (x) macro
/freebsd/contrib/llvm-project/lld/docs/
H A Dmissingkeyfunction.rst10 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 Dsanitizer_mutex.h30 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 Dscic_sds_pci.c152 * @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/sys/dev/qat/qat_common/
H A Dadf_pfvf_vf_msg.c126 if (likely(len >= sizeof(struct capabilities_v3))) in adf_vf2pf_get_capabilities()
133 if (likely(len >= sizeof(struct capabilities_v2))) { in adf_vf2pf_get_capabilities()
141 if (likely(len >= sizeof(struct capabilities_v1))) { in adf_vf2pf_get_capabilities()
/freebsd/share/man/man4/
H A Daibs.4144 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/contrib/arm-optimized-routines/networking/arm/
H A Dchksum_simd.c33 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 Dopenzfs-zfs-dkms.templates8 likely to cause instability leading to possible data corruption. You
22 likely to cause instability leading to possible data corruption. You
/freebsd/sys/contrib/device-tree/Bindings/net/can/
H A Dmpc5xxx-mscan.txt5 Grant Likely <grant.likely@secretlab.ca>
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/include/scudo/
H A Dinterface.h40 // 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

12345678910>>...72