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

1234

/freebsd-11.0-release/sys/contrib/alpine-hal/
H A Dal_hal_types.h70 #if !defined(likely)
71 #define likely(x) (__builtin_expect(!!(x), 1)) macro
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/asm/
H A Datomic-long.h87 if (likely(atomic_cmpset_long(&v->counter, c, c + a)))
H A Datomic64.h99 if (likely(atomic_cmpset_64(&v->counter, c, c + a)))
H A Datomic.h110 if (likely(atomic_cmpset_int(&v->counter, c, c + a)))
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/
H A Dcompiler.h65 #define likely(x) __builtin_expect(!!(x), 1) macro
/freebsd-11.0-release/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)) {
H A Dprof.h449 if (likely(tdata->bytes_until_sample >= usize)) {
470 if (!prof_active || likely(prof_sample_accum_update(tsd, usize, update,
H A Dtcache.h314 if (likely(!zero)) {
380 if (likely(!zero)) {
/freebsd-11.0-release/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.0-release/sys/dev/drm2/radeon/
H A Dradeon_benchmark.c155 if (likely(r == 0)) {
163 if (likely(r == 0)) {
/freebsd-11.0-release/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))
1868 if (likely(ptr != NULL)) {
1896 if (likely(!malloc_slow))
1911 if (config_stats && likely(ret != NULL)) {
1931 if (likely(ptr != NULL)) {
1934 if (likely(!malloc_slo
[all...]
H A Dquarantine.c157 if ((!config_valgrind || likely(!in_valgrind))
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
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.0-release/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))
H A Dttm_tt.c123 if (likely(cur_page != NULL)) {
171 if (likely(ttm->pages != NULL)) {
H A Dttm_bo_vm.c333 if (likely(bo != NULL))
426 if (likely(bo != NULL))
/freebsd-11.0-release/share/dtrace/
H A Dnfsattrstats35 * outside of the context of a system call, most likely due to the VM
/freebsd-11.0-release/contrib/binutils/gas/config/
H A Dtc-mips.c808 /* Branch without likely bit. If label is out of range, we turn:
837 Branch likely. If label is out of range, we turn:
853 likely bit, generating something like:
875 #define RELAX_BRANCH_ENCODE(uncond, likely, link, toofar) \
880 | ((likely) ? 4 : 0) \
3154 /* We don't yet optimize a branch likely. What we should do
4566 int likely = 0;
4699 likely = 1;
4706 likely = 1;
4719 likely
4559 int likely = 0; local
7245 int likely = 0; local
[all...]
/freebsd-11.0-release/sys/net/
H A Dnetmap_user.h72 #ifndef likely
73 #define likely(x) __builtin_expect(!!(x), 1) macro
75 #endif /* likely and unlikely */
257 for (; likely(l > 0); l-=64) {
/freebsd-11.0-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h651 if (likely(c > SDP_MIN_TX_CREDITS))
654 likely(tx_credits(ssk) > 0) &&
655 likely(sdp_tx_ring_slots_left(ssk));
H A Dsdp_tx.c228 if (likely(wc->wr_id & SDP_OP_SEND)) {
265 if (likely(!wc->status))
/freebsd-11.0-release/contrib/bmake/
H A Dbsd.after-import.mk27 # likely locations?
/freebsd-11.0-release/sys/dev/netmap/
H A Dif_vtnet_netmap.h194 if (likely(txhdr == (void *)txq)) {
310 if (likely(token == (void *)rxq)) {

Completed in 170 milliseconds

1234