Home
last modified time | relevance | path

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

123

/include/asm-generic/
Dbug.h50 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0)
74 if (unlikely(__ret_warn_on)) \
76 unlikely(__ret_warn_on); \
83 if (unlikely(__ret_warn_on)) \
85 unlikely(__ret_warn_on); \
101 unlikely(__ret_warn_on); \
108 unlikely(__ret_warn_on); \
118 if (unlikely(__ret_warn_once)) \
121 unlikely(__ret_warn_once); \
128 if (unlikely(__ret_warn_once)) \
[all …]
Dmutex-xchg.h28 if (unlikely(atomic_xchg(count, 0) != 1)) in __mutex_fastpath_lock()
45 if (unlikely(atomic_xchg(count, 0) != 1)) in __mutex_fastpath_lock_retval()
65 if (unlikely(atomic_xchg(count, 1) != 0)) in __mutex_fastpath_unlock()
91 if (unlikely(prev < 0)) { in __mutex_fastpath_trylock()
Dmutex-dec.h23 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock()
40 if (unlikely(atomic_dec_return(count) < 0)) in __mutex_fastpath_lock_retval()
61 if (unlikely(atomic_inc_return(count) <= 0)) in __mutex_fastpath_unlock()
Dpgtable.h174 if (unlikely(pgd_bad(*pgd))) { in pgd_none_or_clear_bad()
185 if (unlikely(pud_bad(*pud))) { in pud_none_or_clear_bad()
196 if (unlikely(pmd_bad(*pmd))) { in pmd_none_or_clear_bad()
/include/linux/
Dsmp_lock.h16 if (unlikely((tsk)->lock_depth >= 0)) \
22 if (unlikely(task->lock_depth >= 0)) in reacquire_kernel_lock()
Dbit_spinlock.h21 while (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_lock()
39 if (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_trylock()
Daudit.h431 if (unlikely(!audit_dummy_context())) in audit_getname()
435 if (unlikely(!audit_dummy_context())) in audit_inode()
441 if (unlikely(!audit_dummy_context())) in audit_inode_child()
448 if (unlikely(!audit_dummy_context())) in audit_ptrace()
478 if (unlikely(!audit_dummy_context())) in audit_ipc_obj()
483 if (unlikely(!audit_dummy_context())) in audit_fd_pair()
488 if (unlikely(!audit_dummy_context())) in audit_ipc_set_perm()
493 if (unlikely(!audit_dummy_context())) in audit_mq_open()
498 if (unlikely(!audit_dummy_context())) in audit_mq_sendrecv()
503 if (unlikely(!audit_dummy_context())) in audit_mq_notify()
[all …]
Dtracehook.h198 unlikely(task_ptrace(current) & PT_PTRACED)) in tracehook_report_exec()
283 if (unlikely(trace) || unlikely(clone_flags & CLONE_PTRACE)) { in tracehook_report_clone()
314 if (unlikely(trace)) in tracehook_report_clone_complete()
Derr.h20 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
Dseccomp.h15 if (unlikely(test_thread_flag(TIF_SECCOMP))) in secure_computing()
Dcompiler.h107 # ifndef unlikely
108 # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) macro
138 # define unlikely(x) __builtin_expect(!!(x), 0) macro
Dcnt32_to_63.h85 if (unlikely((s32)(__x.hi ^ __x.lo) < 0)) \
Dpagemap.h27 if (unlikely(error)) { in mapping_set_error()
160 if (unlikely(!get_page_unless_zero(page))) { in page_cache_get_speculative()
189 if (unlikely(!atomic_add_unless(&page->_count, count, 0))) in page_cache_add_speculative()
392 if (unlikely(size == 0)) in fault_in_pages_writeable()
419 if (unlikely(size == 0)) in fault_in_pages_readable()
451 if (unlikely(error)) in add_to_page_cache()
Dgfp.h106 if (unlikely(page_group_by_mobility_disabled)) in allocflags_to_migratetype()
143 if (NUMA_BUILD && unlikely(flags & __GFP_THISNODE)) in gfp_zonelist()
192 if (unlikely(order >= MAX_ORDER)) in alloc_pages_node()
208 if (unlikely(order >= MAX_ORDER)) in alloc_pages()
Dptrace.h112 if (unlikely(child->ptrace)) in ptrace_link()
117 if (unlikely(child->ptrace)) in ptrace_unlink()
173 if (unlikely(ptrace)) { in ptrace_init_task()
Drelay.h210 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write()
236 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) in __relay_write()
259 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) { in relay_reserve()
Dswapops.h89 return unlikely(swp_type(entry) == SWP_MIGRATION_READ || in is_migration_entry()
95 return unlikely(swp_type(entry) == SWP_MIGRATION_WRITE); in is_write_migration_entry()
Ddebug_locks.h20 if (!oops_in_progress && unlikely(c)) { \
Dseqlock.h93 if (unlikely(ret & 1)) { in read_seqbegin()
136 if (unlikely(ret & 1)) { in read_seqcount_begin()
Dsignalfd.h59 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
Dfile.h29 if (unlikely(fput_needed)) in fput_light()
/include/net/
Dah.h30 if (unlikely(err)) in ah_mac_digest()
33 if (unlikely(err)) in ah_mac_digest()
/include/linux/lockd/
Ddebug.h26 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag))
/include/linux/sunrpc/
Ddebug.h56 # define ifdebug(fac) if (unlikely(rpc_debug & RPCDBG_##fac))
/include/net/netfilter/
Dnf_conntrack_l3proto.h84 if (unlikely(l3proto >= AF_MAX)) in __nf_ct_l3proto_find()

123