Home
last modified time | relevance | path

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

12345678910>>...14

/freebsd-11-stable/sys/compat/linuxkpi/common/src/
HDlinux_xarray.c117 if (likely(*pindex != mask)) { in __xa_alloc()
124 if (likely(gfp & M_WAITOK)) { in __xa_alloc()
182 if (likely(gfp & M_WAITOK)) { in __xa_alloc_cyclic()
226 if (likely(gfp & M_WAITOK)) { in __xa_insert()
270 if (likely(gfp & M_WAITOK)) { in __xa_store()
372 if (likely(found)) { in __xa_next()
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
HDarena.h1064 if (likely(prof_interval == 0)) in arena_prof_accum_locked()
1075 if (likely(prof_interval == 0)) in arena_prof_accum()
1203 if (likely(interval <= ((sizeof(interval_invs) / sizeof(size_t)) in arena_run_regind()
1228 if (likely(chunk != ptr)) { in arena_prof_tctx_get()
1232 if (likely((mapbits & CHUNK_MAP_LARGE) == 0)) in arena_prof_tctx_get()
1255 if (likely(chunk != ptr)) { in arena_prof_tctx_set()
1292 if (likely(chunk != ptr)) { in arena_prof_tctx_reset()
1341 if (likely(tcache != NULL)) { in arena_malloc()
1342 if (likely(size <= SMALL_MAXCLASS)) { in arena_malloc()
1346 if (likely(size <= tcache_maxclass)) { in arena_malloc()
[all …]
HDjemalloc_internal.h611 if (likely(size <= LOOKUP_MAXCLASS)) in size2index()
702 if (likely(size <= LOOKUP_MAXCLASS)) in s2u()
740 if (likely(size <= large_maxclass) && likely(alignment < chunksize)) { in sa2u()
845 if (likely(tdata != NULL) || !refresh_if_missing) in arena_tdata_get()
965 if (config_stats && is_metadata && likely(ret != NULL)) { in iallocztm()
993 if (config_stats && is_metadata && likely(ret != NULL)) { in ipallocztm()
HDutil.h74 # define likely(x) __builtin_expect(!!(x), 1) macro
83 # define likely(x) !!(x) macro
/freebsd-11-stable/sys/dev/ena/
HDena_netmap.h38 #ifdef likely
39 #undef likely
HDena_datapath.c206 if (likely(req_id < tx_ring->ring_size)) { in validate_tx_req_id()
304 } while (likely(--budget)); in ena_tx_cleanup()
312 if (likely(commit != TX_COMMIT)) { in ena_tx_cleanup()
350 if (likely(ENA_FLAG_ISSET(ENA_FLAG_RSS_ACTIVE, adapter))) { in ena_rx_hash_mbuf()
880 if (likely(*header_len <= mbuf_head_len)) { in ena_tx_map_mbuf()
1015 if (likely(rc == ENA_COM_NO_MEM)) { in ena_xmit_mbuf()
1137 if (likely(tx_ring->acum_pkts != 0)) { in ena_start_xmit()
/freebsd-11-stable/sys/contrib/alpine-hal/
HDal_hal_types.h70 #if !defined(likely)
71 #define likely(x) (__builtin_expect(!!(x), 1)) macro
/freebsd-11-stable/tools/tools/netmap/
HDpkt_hash.h42 #define likely(x) __builtin_expect(!!(x), 1) macro
45 #define likely(x) (x) macro
/freebsd-11-stable/sys/compat/linuxkpi/common/include/asm/
HDatomic-long.h114 if (likely(atomic_fcmpset_long(&v->counter, &c, c + a))) in atomic_long_add_unless()
128 if (likely(atomic_fcmpset_long(&v->counter, &c, c + a))) in atomic_long_fetch_add_unless()
HDatomic.h116 if (likely(atomic_fcmpset_int(&v->counter, &c, c + a))) in atomic_add_unless()
130 if (likely(atomic_fcmpset_int(&v->counter, &c, c + a))) in atomic_fetch_add_unless()
292 if (likely(atomic_fcmpset_int(&v->counter, &old, retval))) in atomic_dec_if_positive()
HDatomic64.h100 if (likely(atomic_fcmpset_64(&v->counter, &c, c + a))) in atomic64_add_unless()
114 if (likely(atomic_fcmpset_64(&v->counter, &c, c + a))) in atomic64_fetch_add_unless()
/freebsd-11-stable/contrib/jemalloc/src/
HDjemalloc.c1543 if (config_stats && likely(ret != NULL)) { in ialloc_post_check()
1562 if (likely(!malloc_slow)) { in JEMALLOC_ATTR()
1666 if (config_stats && likely(result != NULL)) { in imemalign()
1739 if (likely(!malloc_slow)) { in JEMALLOC_ATTR()
1814 if (likely(!slow_path)) in ifree()
1859 if (likely(ptr != NULL)) { in je_realloc()
1887 if (likely(!malloc_slow)) in je_realloc()
1902 if (config_stats && likely(ret != NULL)) { in je_realloc()
1922 if (likely(ptr != NULL)) { in je_free()
1925 if (likely(!malloc_slow)) in je_free()
[all …]
/freebsd-11-stable/contrib/llvm-project/lld/docs/
HDmissingkeyfunction.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-11-stable/contrib/xz/src/liblzma/common/
HDcommon.h40 # define likely(expr) __builtin_expect(expr, true) macro
43 # define likely(expr) (expr) macro
/freebsd-11-stable/sys/dev/drm2/radeon/
HDradeon_benchmark.c155 if (likely(r == 0)) { in radeon_benchmark_move()
163 if (likely(r == 0)) { in radeon_benchmark_move()
/freebsd-11-stable/contrib/ofed/libcxgb4/
HDconfig.h4 #define likely(x) __predict_true(x) macro
/freebsd-11-stable/contrib/ofed/libmlx4/
HDconfig.h12 #define likely(x) __predict_true(x) macro
/freebsd-11-stable/contrib/binutils/gas/config/
HDtc-mips.c874 #define RELAX_BRANCH_ENCODE(uncond, likely, link, toofar) \ argument
879 | ((likely) ? 4 : 0) \
4559 int likely = 0; in macro() local
4692 likely = 1; in macro()
4699 likely = 1; in macro()
4712 likely = 1; in macro()
4716 macro_build (&offset_expr, likely ? "bgezl" : "bgez", "s,p", sreg); in macro()
4721 macro_build (&offset_expr, likely ? "blezl" : "blez", "s,p", treg); in macro()
4726 macro_build (&offset_expr, likely ? "beql" : "beq", "s,t,p", AT, 0); in macro()
4730 likely = 1; in macro()
[all …]
/freebsd-11-stable/contrib/gcc/config/i386/
HDt-beos2 # we are most likely to want to apply any fixes to.
/freebsd-11-stable/tools/diag/dumpvfscache/
HDREADME2 the vfs name cache. It's very likely to loop and crash if you use it
/freebsd-11-stable/sys/dev/drm2/ttm/
HDttm_bo_util.c78 if (likely(man->io_reserve_fastpath)) in ttm_mem_io_lock()
94 if (likely(man->io_reserve_fastpath)) in ttm_mem_io_unlock()
124 if (likely(man->io_reserve_fastpath)) in ttm_mem_io_reserve()
145 if (likely(man->io_reserve_fastpath)) in ttm_mem_io_free()
/freebsd-11-stable/sys/arm/conf/
HDEB9200.hints3 # should likely list CF here since its address isn't fixed.
/freebsd-11-stable/contrib/ofed/libmlx5/
HDconfig.h18 #define likely(x) __predict_true(x) macro
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
HDzfs_context.h143 #define likely(x) __builtin_expect((x), 1) macro
/freebsd-11-stable/contrib/gcc/config/mips/
HDt-vxworks9 MUTLILIB_EXTRA_OPTS = -G 0 -mno-branch-likely

12345678910>>...14