Home
last modified time | relevance | path

Searched refs:likely (Results 1 – 25 of 445) sorted by relevance

12345678910>>...18

/freebsd/sys/contrib/openzfs/module/zfs/
H A Drefcount.c136 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/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/sys/compat/linuxkpi/common/src/
H A Dlinux_xarray.c135 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/sys/contrib/dpdk_rte_lpm/
H A Drte_branch_prediction.h23 #ifndef likely
24 #define likely(x) __builtin_expect(!!(x), 1) macro
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Ddebug.h55 #ifndef likely
56 #define likely(x) __builtin_expect((x), 1) macro
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Darena_inlines_b.h149 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 Dutil.h32 # define likely(x) __builtin_expect(!!(x), 1) macro
35 # define likely(x) !!(x) macro
H A Dprof_inlines_b.h
H A Djemalloc_internal_inlines_a.h50 /* This likely means a misconfig. */ in percpu_arena_ind_limit()
81 if (likely(tsd_tcache_enabled_get(tsd))) { in arena_tdata_get()
/freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/
H A Dv_math.h176 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/dev/ena/
H A Dena_netmap.h36 #ifdef likely
37 #undef likely
/freebsd/sys/dev/qat/qat_common/
H A Dadf_pfvf_vf_msg.c142 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/sys/contrib/alpine-hal/
H A Dal_hal_types.h70 #if !defined(likely)
71 #define likely(x) (__builtin_expect(!!(x), 1)) macro
/freebsd/tools/tools/netmap/
H A Dpkt_hash.h41 #define likely(x) __builtin_expect(!!(x), 1) macro
44 #define likely(x) (x) macro
/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/compat/linuxkpi/common/include/asm/
H A Datomic.h113 if (likely(atomic_fcmpset_int(&v->counter, &c, c + a))) in atomic_add_unless()
127 if (likely(atomic_fcmpset_int(&v->counter, &c, c + a))) in atomic_fetch_add_unless()
285 likely(__r == __o); \
301 if (likely(atomic_fcmpset_int(&v->counter, &old, retval))) in atomic_dec_if_positive()
H A Datomic-long.h110 if (likely(atomic_fcmpset_long(&v->counter, &c, c + a))) in atomic_long_add_unless()
124 if (likely(atomic_fcmpset_long(&v->counter, &c, c + a))) in atomic_long_fetch_add_unless()
H A Datomic64.h103 if (likely(atomic_fcmpset_64(&v->counter, &c, c + a))) in atomic64_add_unless()
117 if (likely(atomic_fcmpset_64(&v->counter, &c, c + a))) in atomic64_fetch_add_unless()
/freebsd/contrib/arm-optimized-routines/networking/
H A Dchksum_common.h30 #define likely(x) __builtin_expect(!!(x), 1) macro
41 #define likely(x) (x) macro
/freebsd/contrib/arm-optimized-routines/networking/aarch64/
H A Dchksum_simd.c24 if (likely(off != 0)) in slurp_head64()
44 if (likely(nbytes != 0)) in slurp_tail64()
/freebsd/crypto/openssl/VMS/
H A Dopenssl_ivp.com.in37 $ ! If something else is wrong with the installation, we're likely
45 $ ! then we're likely to get an image activation error here
/freebsd/sys/contrib/dev/athk/ath12k/
H A Ddebug.c102 if (likely(ab)) in __ath12k_dbg()
110 if (likely(ab)) in __ath12k_dbg()
/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/ofed/libcxgb4/
H A Dconfig.h4 #define likely(x) __predict_true(x) macro
/freebsd/contrib/ofed/libmlx4/
H A Dconfig.h12 #define likely(x) __predict_true(x) macro

12345678910>>...18