/include/asm-generic/ |
D | bug.h | 63 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 103 if (unlikely(__ret_warn_on)) \ 106 unlikely(__ret_warn_on); \ 120 if (unlikely(__ret_warn_on)) \ 122 unlikely(__ret_warn_on); \ 129 if (unlikely(__ret_warn_on)) \ 131 unlikely(__ret_warn_on); \ 137 if (unlikely(__ret_warn_on)) \ 139 unlikely(__ret_warn_on); \ 147 if (unlikely(__ret_warn_once && !__warned)) { \ [all …]
|
D | futex.h | 39 if (unlikely(get_user(oldval, uaddr) != 0)) in arch_futex_atomic_op_inuser() 65 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in arch_futex_atomic_op_inuser() 99 if (unlikely(get_user(val, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic() 104 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic()
|
D | mmiowb.h | 53 if (unlikely(ms->mmiowb_pending)) { in mmiowb_spin_unlock()
|
/include/linux/sched/ |
D | idle.h | 37 return unlikely(tif_need_resched()); in current_set_polling_and_test() 55 return unlikely(tif_need_resched()); in current_clr_polling_and_test() 64 return unlikely(tif_need_resched()); in current_set_polling_and_test() 68 return unlikely(tif_need_resched()); in current_clr_polling_and_test()
|
D | deadline.h | 13 if (unlikely(prio < MAX_DL_PRIO)) in dl_prio()
|
/include/linux/ |
D | page_idle.h | 53 if (unlikely(!page_ext)) in page_is_young() 66 if (unlikely(!page_ext)) in set_page_young() 78 if (unlikely(!page_ext)) in test_and_clear_page_young() 92 if (unlikely(!page_ext)) in page_is_idle() 105 if (unlikely(!page_ext)) in set_page_idle() 116 if (unlikely(!page_ext)) in clear_page_idle()
|
D | audit.h | 324 if (unlikely(task->audit_context)) in audit_free() 331 if (unlikely(audit_context())) in audit_syscall_entry() 336 if (unlikely(audit_context())) { in audit_syscall_exit() 345 if (unlikely(!audit_dummy_context())) in audit_reusename() 351 if (unlikely(!audit_dummy_context())) in audit_getname() 356 if (unlikely(audit_context())) in audit_getcwd() 362 if (unlikely(!audit_dummy_context())) in audit_inode() 367 if (unlikely(!audit_dummy_context())) in audit_file() 373 if (unlikely(!audit_dummy_context())) in audit_inode_parent_hidden() 380 if (unlikely(!audit_dummy_context())) in audit_inode_child() [all …]
|
D | mmdebug.h | 21 if (unlikely(cond)) { \ 28 if (unlikely(cond)) { \ 35 if (unlikely(cond)) { \ 44 if (unlikely(__ret_warn_once && !__warned)) { \ 49 unlikely(__ret_warn_once); \
|
D | err.h | 22 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) 41 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr); in IS_ERR_OR_NULL()
|
D | refcount.h | 162 if (unlikely(old < 0 || old + i < 0)) in __refcount_add_not_zero() 198 if (unlikely(!old)) in __refcount_add() 200 else if (unlikely(old < 0 || old + i < 0)) in __refcount_add() 282 if (unlikely(old < 0 || old - i < 0)) in __refcount_sub_and_test() 343 if (unlikely(old <= 1)) in __refcount_dec()
|
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()
|
D | once.h | 54 if (unlikely(___ret)) { \ 71 if (unlikely(___ret)) { \
|
D | tracehook.h | 187 if (unlikely(current->task_works)) in tracehook_notify_resume() 191 if (unlikely(current->cached_requested_key)) { in tracehook_notify_resume()
|
D | processor.h | 51 if (unlikely(!(cond))) { \
|
D | kfence.h | 58 return unlikely((unsigned long)((char *)addr - __kfence_pool) < KFENCE_POOL_SIZE && __kfence_pool); in is_kfence_address() 122 if (unlikely(!atomic_read(&kfence_allocation_gate))) in kfence_alloc()
|
D | uio.h | 148 if (unlikely(!check_copy_size(addr, bytes, true))) in copy_to_iter() 157 if (unlikely(!check_copy_size(addr, bytes, false))) in copy_from_iter() 166 if (unlikely(!check_copy_size(addr, bytes, false))) in copy_from_iter_full() 175 if (unlikely(!check_copy_size(addr, bytes, false))) in copy_from_iter_nocache() 184 if (unlikely(!check_copy_size(addr, bytes, false))) in copy_from_iter_full_nocache() 211 if (unlikely(!check_copy_size(addr, bytes, false))) in copy_from_iter_flushcache() 220 if (unlikely(!check_copy_size(addr, bytes, true))) in copy_mc_to_iter()
|
D | compiler.h | 47 # ifndef unlikely 48 # define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x))) macro 78 # define unlikely(x) __builtin_expect(!!(x), 0) macro
|
D | signalfd.h | 21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
|
D | ptrace.h | 97 if (unlikely(child->ptrace)) in ptrace_unlink() 119 if (unlikely(task->ptrace)) in ptrace_parent() 150 if (unlikely(ptrace_event_enabled(current, event))) { in ptrace_event() 209 if (unlikely(ptrace) && current->ptrace) { in ptrace_init_task()
|
D | cnt32_to_63.h | 99 if (unlikely((s32)(__x.hi ^ __x.lo) < 0)) \
|
D | relay.h | 211 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write() 237 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) in __relay_write() 260 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) { in relay_reserve()
|
/include/linux/sunrpc/ |
D | xdr.h | 321 if (unlikely(!p)) in xdr_stream_encode_item_present() 340 if (unlikely(!p)) in xdr_stream_encode_item_absent() 361 if (unlikely(!p)) in xdr_stream_encode_u32() 382 if (unlikely(!p)) in xdr_stream_encode_u64() 404 if (unlikely(!p)) { in xdr_stream_encode_opaque_inline() 428 if (unlikely(!p)) in xdr_stream_encode_opaque_fixed() 450 if (unlikely(!p)) in xdr_stream_encode_opaque() 473 if (unlikely(!p)) in xdr_stream_encode_uint32_array() 522 if (unlikely(!p)) in xdr_stream_decode_u32() 543 if (unlikely(!p)) in xdr_stream_decode_opaque_fixed() [all …]
|
/include/drm/ |
D | spsc_queue.h | 104 if (unlikely(!next)) { in spsc_queue_pop() 112 } while (unlikely(!(queue->head = READ_ONCE(node->next)))); in spsc_queue_pop()
|
/include/net/ |
D | xdp.h | 156 if (unlikely((headroom - metasize) < sizeof(*xdp_frame))) in xdp_update_frame_from_buff() 160 if (unlikely(xdp->data_end > xdp_data_hard_end(xdp))) { in xdp_update_frame_from_buff() 185 if (unlikely(xdp_update_frame_from_buff(xdp, xdp_frame) < 0)) in xdp_convert_buff_to_frame() 234 return unlikely(xdp->data_meta > xdp->data); in xdp_data_meta_unsupported()
|
/include/linux/lockd/ |
D | debug.h | 21 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag))
|