Home
last modified time | relevance | path

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

12345678910>>...16

/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/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()
269 if (likely(gfp & M_WAITOK)) { in __xa_insert()
317 if (likely(gfp & M_WAITOK)) { in __xa_store()
430 if (likely(found)) { in __xa_next()
/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/contrib/dpdk_rte_lpm/
H A Drte_branch_prediction.h23 #ifndef likely
24 #define likely(x) __builtin_expect(!!(x), 1) 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/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 Dutil.h32 # define likely(x) __builtin_expect(!!(x), 1) macro
35 # define likely(x) !!(x) macro
H A Dprof_inlines_b.h93 if (likely(bytes_until_sample >= check)) { in prof_sample_check()
108 if (likely(prof_sample_check(tsd, usize, update))) { in prof_sample_accum_update()
153 if (!prof_active || likely(prof_sample_accum_update(tsd, usize, update, in prof_alloc_prep()
H A Djemalloc_internal_inlines_a.h78 if (likely(tdata != NULL) || !refresh_if_missing) { in arena_tdata_get()
130 if (likely(tsd_tcache_enabled_get(tsd))) { in tcache_available()
/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/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/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/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Ddebug.h99 #define likely(expr) expect((expr) != 0, 1) macro
258 ((void)(likely((!(A)) || (B)) || \
263 ((void)(likely(!!(A) == !!(B)) || \
/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
/freebsd/contrib/jemalloc/src/
H A Djemalloc.c1923 if (likely(!sopts->slow)) { in imalloc_no_sample()
2022 if (likely((high_bits & (dopts->num_items | dopts->item_size)) == 0)) { in compute_size_with_overflow()
2025 if (likely(*size / dopts->item_size == dopts->num_items)) { in compute_size_with_overflow()
2124 if (likely((uintptr_t)tctx == (uintptr_t)1U)) { in imalloc_body()
2258 if (likely(tsd_fast(tsd))) { in imalloc()
2589 if (likely(!slow_path)) { in ifree()
2647 if (likely(!slow_path)) { in isfree()
2670 if (likely(ptr != NULL)) { in je_realloc()
2739 if (config_stats && likely(ret != NULL)) { in je_realloc()
2758 if (likely(ptr != NULL)) { in free_default()
[all …]

12345678910>>...16