| /include/linux/sunrpc/xdrgen/ |
| A D | _builtins.h | 32 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 D | mmdebug.h | 24 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 D | page_idle.h | 19 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 D | once_lite.h | 19 if (unlikely(__ret_cond && !__already_done)) { \ 23 unlikely(__ret_once); \ 33 unlikely(__ret_do_once); \
|
| A D | audit.h | 326 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 D | vfsdebug.h | 19 if (unlikely(!!(cond))) { \ 28 if (unlikely(__ret_warn)) { \ 32 unlikely(__ret_warn); \
|
| A D | resume_user_mode.h | 49 if (unlikely(task_work_pending(current))) in resume_user_mode_work() 53 if (unlikely(current->cached_requested_key)) { in resume_user_mode_work()
|
| A D | refcount.h | 186 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 D | err.h | 28 #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 D | once.h | 54 if (unlikely(___ret)) { \ 71 if (unlikely(___ret)) { \
|
| A D | bit_spinlock.h | 27 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 D | processor.h | 51 if (unlikely(!(cond))) { \
|
| A D | unwind_deferred.h | 50 if (unlikely(info->unwind_mask)) { in unwind_reset_info() 59 if (unlikely(info->cache)) { in unwind_reset_info()
|
| A D | compiler.h | 46 # 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 D | bug.h | 71 #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 D | futex.h | 46 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 D | rqspinlock.h | 80 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 D | idle.h | 62 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 D | rt.h | 11 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 D | xdr.h | 392 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 D | xsk.h | 71 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 D | proto_memory.h | 68 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 D | spsc_queue.h | 106 if (unlikely(!next)) { in spsc_queue_pop() 114 } while (unlikely(!(queue->head = READ_ONCE(node->next)))); in spsc_queue_pop()
|
| /include/linux/lockd/ |
| A D | debug.h | 21 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag))
|
| /include/rv/ |
| A D | da_monitor.h | 83 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))) \
|