Searched refs:unlikely (Results 1 - 25 of 4103) sorted by relevance

1234567891011>>

/linux-master/tools/include/asm/
H A Dbug.h12 if (unlikely(__ret_warn_on)) \
14 unlikely(__ret_warn_on); \
19 if (unlikely(__ret_warn_on)) \
22 unlikely(__ret_warn_on); \
29 if (unlikely(__ret_warn_once && !__warned)) { \
33 unlikely(__ret_warn_once); \
40 if (unlikely(__ret_warn_once)) \
43 unlikely(__ret_warn_once); \
/linux-master/include/linux/
H A Donce_lite.h19 if (unlikely(__ret_cond && !__already_done)) { \
23 unlikely(__ret_once); \
33 unlikely(__ret_do_once); \
H A Dprocessor.h51 if (unlikely(!(cond))) { \
H A Dmmdebug.h22 if (unlikely(cond)) { \
29 if (unlikely(cond)) { \
36 if (unlikely(cond)) { \
43 if (unlikely(cond)) { \
52 if (unlikely(__ret_warn_once && !__warned)) { \
57 unlikely(__ret_warn_once); \
62 if (unlikely(__ret_warn)) { \
66 unlikely(__ret_warn); \
72 if (unlikely(__ret_warn_once && !__warned)) { \
77 unlikely(__ret_warn_onc
[all...]
H A Dpage_idle.h21 if (unlikely(!page_ext))
34 if (unlikely(!page_ext))
46 if (unlikely(!page_ext))
60 if (unlikely(!page_ext))
73 if (unlikely(!page_ext))
84 if (unlikely(!page_ext))
H A Derr.h28 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO)
72 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr);
H A Dresume_user_mode.h49 if (unlikely(task_work_pending(current)))
53 if (unlikely(current->cached_requested_key)) {
/linux-master/lib/
H A Dwin_minmax.c34 if (unlikely(dt > win)) {
45 if (unlikely(val->t - m->s[0].t > win)) {
50 } else if (unlikely(m->s[1].t == m->s[0].t) && dt > win/4) {
56 } else if (unlikely(m->s[2].t == m->s[1].t) && dt > win/2) {
71 if (unlikely(val.v >= m->s[0].v) || /* found new max? */
72 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */
75 if (unlikely(val.v >= m->s[1].v))
77 else if (unlikely(val.v >= m->s[2].v))
89 if (unlikely(val.v <= m->s[0].v) || /* found new min? */
90 unlikely(va
[all...]
H A Dsyscall.c21 if (unlikely(!regs)) {
78 if (unlikely(!state))
82 if (unlikely(!ncsw) ||
83 unlikely(collect_syscall(target, info)) ||
84 unlikely(wait_task_inactive(target, state) != ncsw))
H A Dasn1_decoder.c66 if (unlikely(datalen - dp < 2)) {
86 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) {
88 if (unlikely(datalen - dp < 2))
99 if (unlikely(len == ASN1_INDEFINITE_LENGTH)) {
101 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5))
108 if (unlikely(n > sizeof(len) - 1))
110 if (unlikely(n > datalen - dp))
203 if (unlikely(pc >= machlen))
206 if (unlikely(pc + asn1_op_lengths[op] > machlen))
227 if (unlikely(datale
[all...]
H A Dis_single_threaded.c31 if (unlikely(p->flags & PF_KTHREAD))
33 if (unlikely(p == task->group_leader))
37 if (unlikely(t->mm == mm))
/linux-master/include/linux/sched/
H A Didle.h66 return unlikely(tif_need_resched());
79 return unlikely(tif_need_resched());
88 return unlikely(tif_need_resched());
92 return unlikely(tif_need_resched());
/linux-master/arch/sh/kernel/cpu/
H A Dclock.c26 if (unlikely(ret)) {
34 if (unlikely(ret)) {
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dnorm_desc.c23 if (unlikely(tdes0 & TDES0_OWN))
30 if (unlikely(tdes0 & TDES0_ERROR_SUMMARY)) {
31 if (unlikely(tdes0 & TDES0_UNDERFLOW_ERROR)) {
34 if (unlikely(tdes0 & TDES0_NO_CARRIER)) {
37 if (unlikely(tdes0 & TDES0_LOSS_CARRIER)) {
40 if (unlikely((tdes0 & TDES0_EXCESSIVE_DEFERRAL) ||
54 if (unlikely(tdes0 & TDES0_DEFERRED))
75 if (unlikely(rdes0 & RDES0_OWN))
78 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) {
83 if (unlikely(rdes
[all...]
/linux-master/net/sunrpc/auth_gss/
H A Dauth_gss_internal.h19 if (unlikely(q > end || q < p))
35 if (unlikely(q > end || q < p))
39 if (unlikely(dest->data == NULL))
/linux-master/arch/microblaze/mm/
H A Dfault.c100 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) {
109 if (unlikely(faulthandler_disabled() || !mm)) {
142 if (unlikely(!mmap_read_trylock(mm))) {
151 if (unlikely(!vma))
157 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN)))
160 if (unlikely(!is_write))
172 if (unlikely(address + 0x100000 < vma->vm_end)) {
203 if (unlikely(is_write)) {
204 if (unlikely(!(vma->vm_flags & VM_WRITE)))
210 if (unlikely(error_cod
[all...]
/linux-master/include/asm-generic/
H 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); \
166 #define BUG_ON(condition) do { if (unlikely(conditio
[all...]
/linux-master/fs/btrfs/
H A Dtree-checker.c111 if (unlikely(!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), \
216 if (unlikely(!IS_ALIGNED(key->offset, sectorsize))) {
229 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key)))
238 if (unlikely(item_size < BTRFS_FILE_EXTENT_INLINE_DATA_START)) {
245 if (unlikely(btrfs_file_extent_type(leaf, fi) >=
258 if (unlikely(btrfs_file_extent_compression(leaf, fi) >=
266 if (unlikely(btrfs_file_extent_encryption(leaf, fi))) {
274 if (unlikely(key->offset)) {
287 if (unlikely(item_size != BTRFS_FILE_EXTENT_INLINE_DATA_START +
299 if (unlikely(item_siz
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_debug.h30 if (unlikely(bnx2fc_debug_level & LOG_ELS)) \
36 if (unlikely(bnx2fc_debug_level & LOG_MISC)) \
/linux-master/arch/powerpc/lib/
H A Dchecksum_wrappers.c19 if (unlikely(!user_read_access_begin(src, len)))
32 if (unlikely(!user_write_access_begin(dst, len)))
/linux-master/tools/include/linux/
H A Derr.h33 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
52 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr);
/linux-master/arch/riscv/mm/
H A Dpmem.c15 if (unlikely(noncoherent_cache_ops.wback)) {
27 if (unlikely(noncoherent_cache_ops.inv)) {
/linux-master/arch/s390/include/asm/
H A Dbug.h59 if (unlikely(__ret_warn_on)) \
62 unlikely(__ret_warn_on); \
/linux-master/arch/powerpc/kernel/
H A Dsyscall.c87 unlikely(MSR_TM_TRANSACTIONAL(regs->msr)))
97 if (unlikely(MSR_TM_TRANSACTIONAL(regs->msr)) &&
121 if (unlikely(read_thread_flags() & _TIF_SYSCALL_DOTRACE)) {
122 if (unlikely(trap_is_unsupported_scv(regs))) {
135 if (unlikely(r0 >= NR_syscalls))
138 } else if (unlikely(r0 >= NR_syscalls)) {
139 if (unlikely(trap_is_unsupported_scv(regs))) {
155 if (unlikely(is_compat_task())) {
/linux-master/net/caif/
H A Dcfpkt_skbuff.c84 if (unlikely(skb == NULL))
123 if (unlikely(is_erronous(pkt)))
126 if (unlikely(len > skb->len)) {
131 if (unlikely(len > skb_headlen(skb))) {
132 if (unlikely(skb_linearize(skb) != 0)) {
150 if (unlikely(is_erronous(pkt)))
153 if (unlikely(skb_linearize(skb) != 0)) {
157 if (unlikely(skb->data + len > skb_tail_pointer(skb))) {
180 if (unlikely(is_erronous(pkt)))
186 if (unlikely(skb_tailroo
[all...]

Completed in 256 milliseconds

1234567891011>>