Searched refs:likely (Results 1 - 25 of 123) sorted by relevance

12345

/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dconfig.h4 #define likely(x) __predict_true(x) macro
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dconfig.h12 #define likely(x) __predict_true(x) macro
/freebsd-11-stable/sys/contrib/alpine-hal/
H A Dal_hal_types.h70 #if !defined(likely)
71 #define likely(x) (__builtin_expect(!!(x), 1)) macro
/freebsd-11-stable/sys/dev/ena/
H A Dena_netmap.h37 /* Undef (un)likely as they are defined in netmap_kern.h */
38 #ifdef likely
39 #undef likely macro
40 #endif /* likely */
H A Dena_datapath.c192 if (likely(req_id < tx_ring->ring_size)) {
290 } while (likely(--budget));
298 if (likely(commit != TX_COMMIT)) {
336 if (likely(ENA_FLAG_ISSET(ENA_FLAG_RSS_ACTIVE, adapter))) {
843 if (likely(*header_len <= mbuf_head_len)) {
974 if (likely(rc == ENA_COM_NO_MEM)) {
1094 if (likely(tx_ring->acum_pkts != 0)) {
/freebsd-11-stable/tools/tools/netmap/
H A Dpkt_hash.h42 #define likely(x) __builtin_expect(!!(x), 1) macro
45 #define likely(x) (x) macro
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dconfig.h18 #define likely(x) __predict_true(x) macro
/freebsd-11-stable/sys/compat/linuxkpi/common/include/asm/
H A Datomic-long.h114 if (likely(atomic_fcmpset_long(&v->counter, &c, c + a)))
128 if (likely(atomic_fcmpset_long(&v->counter, &c, c + a)))
H A Datomic64.h100 if (likely(atomic_fcmpset_64(&v->counter, &c, c + a)))
114 if (likely(atomic_fcmpset_64(&v->counter, &c, c + a)))
H A Datomic.h116 if (likely(atomic_fcmpset_int(&v->counter, &c, c + a)))
130 if (likely(atomic_fcmpset_int(&v->counter, &c, c + a)))
292 if (likely(atomic_fcmpset_int(&v->counter, &old, retval)))
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_xarray.c117 if (likely(*pindex != mask)) {
124 if (likely(gfp & M_WAITOK)) {
182 if (likely(gfp & M_WAITOK)) {
226 if (likely(gfp & M_WAITOK)) {
270 if (likely(gfp & M_WAITOK)) {
372 if (likely(found)) {
H A Dlinux_slab.c60 if (likely(c->cache_ctor != NULL))
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Darena.h1064 if (likely(prof_interval == 0))
1075 if (likely(prof_interval == 0))
1203 if (likely(interval <= ((sizeof(interval_invs) / sizeof(size_t))
1228 if (likely(chunk != ptr)) {
1232 if (likely((mapbits & CHUNK_MAP_LARGE) == 0))
1255 if (likely(chunk != ptr)) {
1292 if (likely(chunk != ptr)) {
1341 if (likely(tcache != NULL)) {
1342 if (likely(size <= SMALL_MAXCLASS)) {
1346 if (likely(siz
[all...]
H A Dutil.h74 # define likely(x) __builtin_expect(!!(x), 1) macro
83 # define likely(x) !!(x) macro
H A Djemalloc_internal.h611 if (likely(size <= LOOKUP_MAXCLASS))
702 if (likely(size <= LOOKUP_MAXCLASS))
740 if (likely(size <= large_maxclass) && likely(alignment < chunksize)) {
845 if (likely(tdata != NULL) || !refresh_if_missing)
965 if (config_stats && is_metadata && likely(ret != NULL)) {
993 if (config_stats && is_metadata && likely(ret != NULL)) {
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_benchmark.c155 if (likely(r == 0)) {
163 if (likely(r == 0)) {
/freebsd-11-stable/contrib/xz/src/liblzma/common/
H A Dcommon.h40 # define likely(expr) __builtin_expect(expr, true) macro
43 # define likely(expr) (expr) macro
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dcompiler.h71 #define likely(x) __builtin_expect(!!(x), 1) macro
H A Dspinlock.h95 if (likely(__ret != 0)) \
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspace_reftree.c61 if (likely(cmp))
H A Dlz4.c255 #if defined(likely)
256 #undef likely macro
262 #define likely(expr) expect((expr) != 0, 1) macro
560 while likely(ip < matchlimit - (STEPSIZE - 1)) {
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rx.c231 if (likely(cqe_bcnt == 0)) {
232 if (likely(mb->m_next != NULL)) {
283 if (likely(ifp->if_capenable & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6)) &&
/freebsd-11-stable/sys/dev/drm2/ttm/
H A Dttm_bo_util.c78 if (likely(man->io_reserve_fastpath))
94 if (likely(man->io_reserve_fastpath))
124 if (likely(man->io_reserve_fastpath))
145 if (likely(man->io_reserve_fastpath))
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_context.h143 #define likely(x) __builtin_expect((x), 1) macro
/freebsd-11-stable/contrib/jemalloc/src/
H A Djemalloc.c1543 if (config_stats && likely(ret != NULL)) {
1562 if (likely(!malloc_slow)) {
1666 if (config_stats && likely(result != NULL)) {
1739 if (likely(!malloc_slow)) {
1814 if (likely(!slow_path))
1859 if (likely(ptr != NULL)) {
1887 if (likely(!malloc_slow))
1902 if (config_stats && likely(ret != NULL)) {
1922 if (likely(ptr != NULL)) {
1925 if (likely(!malloc_slo
[all...]

Completed in 195 milliseconds

12345