Searched refs:unlikely (Results 1 – 25 of 63) sorted by relevance
123
50 #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 …]
28 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()
23 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()
174 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()
16 if (unlikely((tsk)->lock_depth >= 0)) \22 if (unlikely(task->lock_depth >= 0)) in reacquire_kernel_lock()
21 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()
431 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 …]
198 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()
20 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
15 if (unlikely(test_thread_flag(TIF_SECCOMP))) in secure_computing()
107 # ifndef unlikely108 # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) macro138 # define unlikely(x) __builtin_expect(!!(x), 0) macro
85 if (unlikely((s32)(__x.hi ^ __x.lo) < 0)) \
27 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()
106 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()
112 if (unlikely(child->ptrace)) in ptrace_link()117 if (unlikely(child->ptrace)) in ptrace_unlink()173 if (unlikely(ptrace)) { in ptrace_init_task()
210 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()
89 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()
20 if (!oops_in_progress && unlikely(c)) { \
93 if (unlikely(ret & 1)) { in read_seqbegin()136 if (unlikely(ret & 1)) { in read_seqcount_begin()
59 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify()
29 if (unlikely(fput_needed)) in fput_light()
30 if (unlikely(err)) in ah_mac_digest()33 if (unlikely(err)) in ah_mac_digest()
26 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag))
56 # define ifdebug(fac) if (unlikely(rpc_debug & RPCDBG_##fac))
84 if (unlikely(l3proto >= AF_MAX)) in __nf_ct_l3proto_find()