Searched refs:unlikely (Results 1 - 25 of 439) sorted by relevance

1234567891011>>

/freebsd-current/sys/contrib/dpdk_rte_lpm/
H A Drte_branch_prediction.h28 * Check if a branch is unlikely to be taken.
31 * unlikely to be taken. Example:
33 * if (unlikely(x < 1))
37 #ifndef unlikely
38 #define unlikely(x) __builtin_expect(!!(x), 0) macro
39 #endif /* unlikely */
H A Drte_debug.h59 if (unlikely(!(exp))) \
/freebsd-current/contrib/ofed/libcxgb4/
H A Dconfig.h5 #define unlikely(x) __predict_false(x) macro
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Dassert.h10 if (unlikely(config_debug && !(e))) { \
43 if (unlikely(config_debug && !(e))) { \
52 if (unlikely(!(c))) { \
H A Dtcache_inlines.h36 if (unlikely(ticker_tick(&tcache->gc_ticker))) {
53 if (unlikely(!tcache_success)) {
56 if (unlikely(arena == NULL)) {
72 if (config_prof || (slow_path && config_fill) || unlikely(zero)) {
79 if (unlikely(opt_junk_alloc)) {
82 } else if (unlikely(opt_zero)) {
87 if (slow_path && config_fill && unlikely(opt_junk_alloc)) {
114 if (unlikely(!tcache_success)) {
120 if (unlikely(arena == NULL)) {
133 unlikely(zer
[all...]
H A Dticker.h39 * if (unlikely(ticker->tick < 0)) {
67 if (unlikely(ticker->tick < 0)) {
85 if (unlikely(ticker->tick < 0)) {
H A Dutil.h33 # define unlikely(x) __builtin_expect(!!(x), 0) macro
36 # define unlikely(x) !!(x) macro
/freebsd-current/contrib/ofed/libmlx4/
H A Dconfig.h13 #define unlikely(x) __predict_false(x) macro
/freebsd-current/sys/dev/ena/
H A Dena_netmap.h39 #ifdef unlikely
40 #undef unlikely macro
41 #endif /* unlikely */
H A Dena_rss.c108 if (unlikely(rc != 0)) {
121 if (unlikely((rc != 0) && (rc != EOPNOTSUPP))) {
139 if (unlikely((rc != 0) && (rc != EOPNOTSUPP))) {
145 if (unlikely((rc != 0) && (rc != EOPNOTSUPP))) {
169 if (unlikely((rc != 0) && (rc != EOPNOTSUPP))) {
180 if (unlikely((rc != 0) && (rc != EOPNOTSUPP)))
185 if (unlikely((rc != 0) && (rc != EOPNOTSUPP)))
190 if (unlikely((rc != 0) && (rc != EOPNOTSUPP)))
205 if (unlikely(dc == NULL)) {
216 if (unlikely(r
[all...]
/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Dacosh_3u.c47 if (unlikely (ix >= MinusZero))
50 if (unlikely (ix >= SquareLim))
H A Dacoshf_2u8.c44 if (unlikely (ix >= MinusZero))
47 if (unlikely (ix >= SquareLim))
H A Dsinh_3u.c35 if (unlikely (iax >= OFlowBound))
38 if (unlikely (iax > 0x7ff0000000000000))
H A Dv_coshf_2u4.c49 if (unlikely (v_any_u32 (special)))
55 if (unlikely (v_any_u32 (tiny)))
65 if (unlikely (v_any_u32 (tiny)))
68 if (unlikely (v_any_u32 (special)))
H A Dasinhf_3u5.c49 if (unlikely (ia12 < ExpM12 || ia == 0x7f800000))
52 if (unlikely (ia12 >= 0x7f8))
63 if (unlikely (ax > SqrtFltMax))
H A Datan2_2u5.c52 if (unlikely (isnan (y) && !xisnan))
54 if (unlikely (xisnan))
79 if (unlikely (iax == 0 || exp_diff <= -POW8_EXP_UFLOW_BOUND))
84 if (unlikely (iax == 0x7ff0000000000000
132 if (unlikely (m < 2 && exp_diff >= POW8_EXP_UFLOW_BOUND))
/freebsd-current/sys/compat/linuxkpi/common/include/asm/
H A Duaccess.h60 if (unlikely(__get_user(x, ptr))) \
65 if (unlikely(__put_user(x, ptr))) \
/freebsd-current/tools/tools/netmap/
H A Dpkt_hash.h42 #define unlikely(x) __builtin_expect(!!(x), 0) macro
45 #define unlikely(x) (x) macro
/freebsd-current/sys/dev/qat/qat_api/common/include/
H A Dsal_service_state.h63 if (unlikely(CPA_TRUE != \
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Ddebug.h100 #define unlikely(expr) expect((expr) != 0, 0) macro
107 (void) (unlikely(!(cond)) && \
112 if (unlikely(!cond)) \
120 if (unlikely(!(_verify3_left OP _verify3_right))) \
131 if (unlikely(!(_verify3_left OP _verify3_right))) \
142 if (unlikely(!(_verify3_left OP _verify3_right))) \
153 if (unlikely(!(_verify3_left OP _verify3_right))) \
163 if (unlikely(!(0 == _verify0_right))) \
172 if (unlikely(!(0 == _verify0_right))) \
190 if (unlikely(!(_verify3_lef
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Ddebug.h100 #define unlikely(expr) expect((expr) != 0, 0) macro
107 (void) (unlikely(!(cond)) && \
112 if (unlikely(!cond)) \
120 if (unlikely(!(_verify3_left OP _verify3_right))) \
131 if (unlikely(!(_verify3_left OP _verify3_right))) \
142 if (unlikely(!(_verify3_left OP _verify3_right))) \
153 if (unlikely(!(_verify3_left OP _verify3_right))) \
163 if (unlikely(!(0 == _verify0_right))) \
172 if (unlikely(!(0 == _verify0_right))) \
190 if (unlikely(!(_verify3_lef
[all...]
/freebsd-current/sys/dev/qat/qat_common/
H A Dadf_pfvf_vf_proto.c188 if (unlikely(type != ADF_PF2VF_BLKMSG_RESP_TYPE_DATA)) {
218 if (unlikely(type != ADF_PF2VF_BLKMSG_RESP_TYPE_CRC)) {
258 if (unlikely(type > ADF_VF2PF_LARGE_BLOCK_TYPE_MAX)) {
265 if (unlikely(*buffer_len < ADF_PFVF_BLKMSG_HEADER_SIZE)) {
275 if (unlikely(ret))
278 if (unlikely(!buffer[ADF_PFVF_BLKMSG_VER_BYTE])) {
289 if (unlikely(ret))
292 if (unlikely(!buffer[ADF_PFVF_BLKMSG_LEN_BYTE])) {
316 if (unlikely(ret))
321 if (unlikely(re
[all...]
/freebsd-current/sys/contrib/ena-com/
H A Dena_eth_com.c87 if (unlikely(!io_sq->entries_in_tx_burst_left)) {
112 if (unlikely((io_sq->tail & (io_sq->q_depth - 1)) == 0))
127 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST))
133 if (unlikely((header_offset + header_len) > llq_info->desc_list_entry_size)) {
139 if (unlikely(!bounce_buffer)) {
158 if (unlikely(!bounce_buffer)) {
177 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST))
184 if (unlikely(rc)) {
218 if (unlikely(rc)) {
230 if (unlikely(llq_inf
[all...]
/freebsd-current/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c89 if (unlikely(best_bo == NULL))
92 if (unlikely((best_bo->vm_node->start + best_bo->num_pages) <
123 if (unlikely(ret != 0)) {
171 if (unlikely(ret != 0)) {
179 if (unlikely(ret != 0)) {
184 if (unlikely(ret != 0)) {
222 if (unlikely(!m)) {
329 if (unlikely(bo == NULL)) {
335 if (unlikely(!driver->verify_access)) {
340 if (unlikely(re
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_tx.c185 if (unlikely(mb->m_len < ETHER_HDR_LEN)) {
188 if (unlikely(mb->m_len < (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN)))
247 if (unlikely(mb->m_len < ETHER_HDR_LEN))
250 if (unlikely(mb->m_len < ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN))
262 if (unlikely(mb->m_len < eth_hdr_len + sizeof(*ip)))
280 if (unlikely(mb->m_len < eth_hdr_len + sizeof(*ip6)))
298 if (unlikely(mb->m_len < eth_hdr_len + sizeof(*th))) {
300 if (unlikely(mb->m_len != eth_hdr_len ||
315 if (unlikely(mb->m_pkthdr.len < eth_hdr_len))
333 if (unlikely(m
[all...]

Completed in 244 milliseconds

1234567891011>>