Home
last modified time | relevance | path

Searched refs:unlikely (Results 1 – 25 of 184) sorted by relevance

12345678

/include/linux/sunrpc/xdrgen/
A D_builtins.h32 if (unlikely(!p)) in xdrgen_decode_bool()
43 if (unlikely(!p)) in xdrgen_encode_bool()
54 if (unlikely(!p)) in xdrgen_decode_int()
65 if (unlikely(!p)) in xdrgen_encode_int()
76 if (unlikely(!p)) in xdrgen_decode_unsigned_int()
87 if (unlikely(!p)) in xdrgen_encode_unsigned_int()
98 if (unlikely(!p)) in xdrgen_decode_long()
109 if (unlikely(!p)) in xdrgen_encode_long()
120 if (unlikely(!p)) in xdrgen_decode_unsigned_long()
131 if (unlikely(!p)) in xdrgen_encode_unsigned_long()
[all …]
/include/linux/
A Dmmdebug.h24 if (unlikely(cond)) { \
31 if (unlikely(cond)) { \
38 if (unlikely(cond)) { \
45 if (unlikely(cond)) { \
59 unlikely(__ret_warn_once); \
64 if (unlikely(__ret_warn)) { \
68 unlikely(__ret_warn); \
79 unlikely(__ret_warn_once); \
90 unlikely(__ret_warn_once); \
101 unlikely(__ret_warn_once); \
[all …]
A Dpage_idle.h19 if (unlikely(!page_ext)) in folio_test_young()
32 if (unlikely(!page_ext)) in folio_set_young()
44 if (unlikely(!page_ext)) in folio_test_clear_young()
58 if (unlikely(!page_ext)) in folio_test_idle()
71 if (unlikely(!page_ext)) in folio_set_idle()
82 if (unlikely(!page_ext)) in folio_clear_idle()
A Donce_lite.h19 if (unlikely(__ret_cond && !__already_done)) { \
23 unlikely(__ret_once); \
33 unlikely(__ret_do_once); \
A Daudit.h326 if (unlikely(task->audit_context)) in audit_free()
341 if (unlikely(audit_context())) in audit_uring_exit()
348 if (unlikely(audit_context())) in audit_syscall_entry()
353 if (unlikely(audit_context())) { in audit_syscall_exit()
362 if (unlikely(!audit_dummy_context())) in audit_reusename()
368 if (unlikely(!audit_dummy_context())) in audit_getname()
374 if (unlikely(!audit_dummy_context())) in audit_inode()
379 if (unlikely(!audit_dummy_context())) in audit_file()
385 if (unlikely(!audit_dummy_context())) in audit_inode_parent_hidden()
392 if (unlikely(!audit_dummy_context())) in audit_inode_child()
[all …]
A Dvfsdebug.h19 if (unlikely(!!(cond))) { \
28 if (unlikely(__ret_warn)) { \
32 unlikely(__ret_warn); \
A Dresume_user_mode.h49 if (unlikely(task_work_pending(current))) in resume_user_mode_work()
53 if (unlikely(current->cached_requested_key)) { in resume_user_mode_work()
A Drefcount.h186 if (unlikely(old < 0 || old + i < 0)) in __refcount_add_not_zero()
235 if (unlikely(old < 0 || old + i < 0)) in __refcount_add_not_zero_limited_acquire()
288 if (unlikely(!old)) in __refcount_add()
290 else if (unlikely(old < 0 || old + i < 0)) in __refcount_add()
399 if (unlikely(old <= 0 || old - i < 0)) in __refcount_sub_and_test()
460 if (unlikely(old <= 1)) in __refcount_dec()
A Derr.h28 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO)
84 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr); in IS_ERR_OR_NULL()
A Donce.h54 if (unlikely(___ret)) { \
71 if (unlikely(___ret)) { \
A Dbit_spinlock.h27 while (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_lock()
45 if (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_trylock()
A Dprocessor.h51 if (unlikely(!(cond))) { \
A Dunwind_deferred.h50 if (unlikely(info->unwind_mask)) { in unwind_reset_info()
59 if (unlikely(info->cache)) { in unwind_reset_info()
A Dcompiler.h46 # ifndef unlikely
47 # define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x))) macro
77 # define unlikely(x) __builtin_expect(!!(x), 0) macro
79 # define unlikely_notrace(x) unlikely(x)
/include/asm-generic/
A Dbug.h71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
112 if (unlikely(__ret_warn_on)) \
115 unlikely(__ret_warn_on); \
124 if (unlikely(__ret_warn_on)) \
126 unlikely(__ret_warn_on); \
133 if (unlikely(__ret_warn_on)) \
135 unlikely(__ret_warn_on); \
141 if (unlikely(__ret_warn_on)) \
143 unlikely(__ret_warn_on); \
172 unlikely(__ret_warn_on); \
[all …]
A Dfutex.h46 if (unlikely(get_user(oldval, uaddr) != 0)) in futex_atomic_op_inuser_local()
72 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in futex_atomic_op_inuser_local()
105 if (unlikely(get_user(val, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic_local()
110 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic_local()
A Drqspinlock.h80 if (unlikely(cnt > RES_NR_HELD)) { in grab_held_lock_entry()
114 if (unlikely(rqh->cnt > RES_NR_HELD)) in release_held_lock_entry()
195 if (unlikely(rqh->cnt > RES_NR_HELD)) in res_spin_unlock()
/include/linux/sched/
A Didle.h62 return unlikely(tif_need_resched()); in current_set_polling_and_test()
75 return unlikely(tif_need_resched()); in current_clr_polling_and_test()
99 return unlikely(tif_need_resched()); in current_set_polling_and_test()
103 return unlikely(tif_need_resched()); in current_clr_polling_and_test()
A Drt.h11 return unlikely(prio < MAX_RT_PRIO && prio >= MAX_DL_PRIO); in rt_prio()
16 return unlikely(prio < MAX_RT_PRIO); in rt_or_dl_prio()
/include/linux/sunrpc/
A Dxdr.h392 if (unlikely(!p)) in xdr_stream_encode_item_present()
411 if (unlikely(!p)) in xdr_stream_encode_item_absent()
445 if (unlikely(!p)) in xdr_stream_encode_bool()
466 if (unlikely(!p)) in xdr_stream_encode_u32()
487 if (unlikely(!p)) in xdr_stream_encode_be32()
508 if (unlikely(!p)) in xdr_stream_encode_u64()
554 if (unlikely(!p)) in xdr_stream_encode_opaque_fixed()
576 if (unlikely(!p)) in xdr_stream_encode_opaque()
599 if (unlikely(!p)) in xdr_stream_encode_uint32_array()
648 if (unlikely(!p)) in xdr_stream_decode_bool()
[all …]
/include/net/libeth/
A Dxsk.h71 if (unlikely(bq->count == LIBETH_XDP_TX_BULK) && in libeth_xsk_tx_queue_bulk()
72 unlikely(!flush_bulk(bq, LIBETH_XDP_TX_XSK))) { in libeth_xsk_tx_queue_bulk()
86 if (unlikely(bq->count == LIBETH_XDP_TX_BULK) && in libeth_xsk_tx_queue_bulk()
87 unlikely(!flush_bulk(bq, LIBETH_XDP_TX_XSK))) { in libeth_xsk_tx_queue_bulk()
354 if (unlikely(!len)) { in libeth_xsk_process_buff()
397 if (unlikely(act != XDP_REDIRECT)) in __libeth_xsk_run_prog()
402 if (unlikely(ret)) in __libeth_xsk_run_prog()
458 if (unlikely(xdp_buff_has_frags(&xdp->base))) in __libeth_xsk_run_pass()
472 if (unlikely(!skb)) { in __libeth_xsk_run_pass()
477 if (unlikely(!populate(skb, xdp, rs))) { in __libeth_xsk_run_pass()
[all …]
/include/net/
A Dproto_memory.h68 if (unlikely(val >= READ_ONCE(net_hotdata.sysctl_mem_pcpu_rsv))) in sk_memory_allocated_add()
79 if (unlikely(val <= -READ_ONCE(net_hotdata.sysctl_mem_pcpu_rsv))) in sk_memory_allocated_sub()
/include/drm/
A Dspsc_queue.h106 if (unlikely(!next)) { in spsc_queue_pop()
114 } while (unlikely(!(queue->head = READ_ONCE(node->next)))); in spsc_queue_pop()
/include/linux/lockd/
A Ddebug.h21 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag))
/include/rv/
A Dda_monitor.h83 if (unlikely(!rv_monitoring_on())) \
87 if (unlikely(!rv_##name.enabled)) \
103 if (unlikely(!da_monitoring_##name(da_mon))) \
398 if (unlikely(!da_monitoring_##name(da_mon))) { \
423 if (unlikely(!da_monitoring_##name(da_mon))) \
483 if (unlikely(!da_monitoring_##name(da_mon))) { \
509 if (unlikely(!da_monitoring_##name(da_mon))) \

Completed in 32 milliseconds

12345678