/linux-4.19.296/include/asm-generic/ |
D | bug.h | 61 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 70 if (unlikely(__ret_warn_on)) \ 72 unlikely(__ret_warn_on); \ 125 if (unlikely(__ret_warn_on)) \ 127 unlikely(__ret_warn_on); \ 134 if (unlikely(__ret_warn_on)) \ 136 unlikely(__ret_warn_on); \ 142 if (unlikely(__ret_warn_on)) \ 144 unlikely(__ret_warn_on); \ 152 if (unlikely(__ret_warn_once && !__warned)) { \ [all …]
|
D | rwsem.h | 37 if (unlikely(atomic_long_inc_return_acquire(&sem->count) <= 0)) in __down_read() 43 if (unlikely(atomic_long_inc_return_acquire(&sem->count) <= 0)) { in __down_read_killable() 73 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write() 83 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write_killable() 106 if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0)) in __up_read() 115 if (unlikely(atomic_long_sub_return_release(RWSEM_ACTIVE_WRITE_BIAS, in __up_write()
|
/linux-4.19.296/lib/ |
D | asn1_decoder.c | 70 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length() 90 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) { in asn1_find_indefinite_length() 92 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length() 103 if (unlikely(len == ASN1_INDEFINITE_LENGTH)) { in asn1_find_indefinite_length() 105 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5)) in asn1_find_indefinite_length() 112 if (unlikely(n > sizeof(len) - 1)) in asn1_find_indefinite_length() 114 if (unlikely(n > datalen - dp)) in asn1_find_indefinite_length() 207 if (unlikely(pc >= machlen)) in asn1_ber_decoder() 210 if (unlikely(pc + asn1_op_lengths[op] > machlen)) in asn1_ber_decoder() 231 if (unlikely(datalen - dp < 2)) in asn1_ber_decoder() [all …]
|
D | win_minmax.c | 34 if (unlikely(dt > win)) { in minmax_subwin_update() 45 if (unlikely(val->t - m->s[0].t > win)) { in minmax_subwin_update() 50 } else if (unlikely(m->s[1].t == m->s[0].t) && dt > win/4) { in minmax_subwin_update() 56 } else if (unlikely(m->s[2].t == m->s[1].t) && dt > win/2) { in minmax_subwin_update() 71 if (unlikely(val.v >= m->s[0].v) || /* found new max? */ in minmax_running_max() 72 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */ in minmax_running_max() 75 if (unlikely(val.v >= m->s[1].v)) in minmax_running_max() 77 else if (unlikely(val.v >= m->s[2].v)) in minmax_running_max() 89 if (unlikely(val.v <= m->s[0].v) || /* found new min? */ in minmax_running_min() 90 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */ in minmax_running_min() [all …]
|
D | syscall.c | 22 if (unlikely(!regs)) { in collect_syscall() 71 if (unlikely(maxargs > 6)) in task_current_syscall() 78 if (unlikely(!state)) in task_current_syscall() 82 if (unlikely(!ncsw) || in task_current_syscall() 83 unlikely(collect_syscall(target, callno, args, maxargs, sp, pc)) || in task_current_syscall() 84 unlikely(wait_task_inactive(target, state) != ncsw)) in task_current_syscall()
|
D | iov_iter.c | 26 while (unlikely(!left && n)) { \ 29 if (unlikely(!__v.iov_len)) \ 50 while (unlikely(n)) { \ 53 if (unlikely(!__v.iov_len)) \ 78 if (unlikely(i->type & ITER_BVEC)) { \ 82 } else if (unlikely(i->type & ITER_KVEC)) { \ 95 if (unlikely(i->count < n)) \ 99 if (unlikely(i->type & ITER_BVEC)) { \ 107 } else if (unlikely(i->type & ITER_KVEC)) { \ 159 if (unlikely(bytes > i->count)) in copy_page_to_iter_iovec() [all …]
|
D | stmp_device.c | 49 if (unlikely(ret)) in stmp_reset_block() 62 if (unlikely(!timeout)) in stmp_reset_block() 67 if (unlikely(ret)) in stmp_reset_block() 72 if (unlikely(ret)) in stmp_reset_block()
|
/linux-4.19.296/fs/nfs/ |
D | callback_xdr.c | 80 if (unlikely(p == NULL)) in read_buf() 102 if (unlikely(p == NULL)) in decode_fh() 108 if (unlikely(p == NULL)) in decode_fh() 121 if (unlikely(p == NULL)) in decode_bitmap() 125 if (unlikely(p == NULL)) in decode_bitmap() 139 if (unlikely(p == NULL)) in decode_stateid() 157 if (unlikely(status != 0)) in decode_compound_hdr_arg() 160 if (unlikely(p == NULL)) in decode_compound_hdr_arg() 180 if (unlikely(p == NULL)) in decode_op_hdr() 193 if (unlikely(status != 0)) in decode_getattr_args() [all …]
|
D | nfs3xdr.c | 155 if (unlikely(p == NULL)) in decode_uint32() 169 if (unlikely(p == NULL)) in decode_uint64() 215 if (unlikely(p == NULL)) in decode_inline_filename3() 221 if (unlikely(p == NULL)) in decode_inline_filename3() 253 if (unlikely(p == NULL)) in decode_nfspath3() 256 if (unlikely(count >= xdr->buf->page_len || count > NFS3_MAXPATHLEN)) in decode_nfspath3() 259 if (unlikely(count > recvd)) in decode_nfspath3() 307 if (unlikely(p == NULL)) in decode_cookieverf3() 334 if (unlikely(p == NULL)) in decode_writeverf3() 368 if (unlikely(p == NULL)) in decode_nfsstat3() [all …]
|
D | nfs2xdr.c | 113 if (unlikely(p == NULL)) in decode_nfsdata() 117 if (unlikely(count > recvd)) in decode_nfsdata() 160 if (unlikely(p == NULL)) in decode_stat() 185 if (unlikely(*type > NF2FIFO)) in xdr_decode_ftype() 208 if (unlikely(p == NULL)) in decode_fhandle() 285 if (unlikely(p == NULL)) in decode_fattr() 419 if (unlikely(p == NULL)) in decode_filename_inline() 425 if (unlikely(p == NULL)) in decode_filename_inline() 458 if (unlikely(p == NULL)) in decode_path() 461 if (unlikely(length >= xdr->buf->page_len || length > NFS_MAXPATHLEN)) in decode_path() [all …]
|
/linux-4.19.296/include/linux/ |
D | audit.h | 260 if (unlikely(task->audit_context)) in audit_free() 267 if (unlikely(audit_context())) in audit_syscall_entry() 272 if (unlikely(audit_context())) { in audit_syscall_exit() 281 if (unlikely(!audit_dummy_context())) in audit_reusename() 287 if (unlikely(!audit_dummy_context())) in audit_getname() 293 if (unlikely(!audit_dummy_context())) { in audit_inode() 302 if (unlikely(!audit_dummy_context())) in audit_file() 308 if (unlikely(!audit_dummy_context())) in audit_inode_parent_hidden() 315 if (unlikely(!audit_dummy_context())) in audit_inode_child() 322 if (unlikely(!audit_dummy_context())) in audit_ptrace() [all …]
|
D | page_idle.h | 52 if (unlikely(!page_ext)) in page_is_young() 62 if (unlikely(!page_ext)) in set_page_young() 72 if (unlikely(!page_ext)) in test_and_clear_page_young() 82 if (unlikely(!page_ext)) in page_is_idle() 92 if (unlikely(!page_ext)) in set_page_idle() 102 if (unlikely(!page_ext)) in clear_page_idle()
|
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); \
|
/linux-4.19.296/fs/ntfs/ |
D | runlist.c | 85 if (unlikely(!new_rl)) in ntfs_rl_realloc() 89 if (unlikely(old_size > new_size)) in ntfs_rl_realloc() 134 if (unlikely(old_size > new_size)) in ntfs_rl_realloc_nofail() 551 if (unlikely(!srl)) in ntfs_runlists_merge() 557 if (unlikely(!drl)) { in ntfs_runlists_merge() 560 if (unlikely(drl[0].vcn)) { in ntfs_runlists_merge() 778 if (unlikely(buf < (u8*)attr || buf > attr_end)) { in ntfs_mapping_pairs_decompress() 789 if (unlikely(!rl)) in ntfs_mapping_pairs_decompress() 808 if (unlikely(!rl2)) { in ntfs_mapping_pairs_decompress() 828 if (unlikely(buf + b > attr_end)) in ntfs_mapping_pairs_decompress() [all …]
|
D | aops.c | 84 if (unlikely(init_size > i_size)) { in ntfs_end_buffer_async_read() 89 if (unlikely(file_ofs + bh->b_size > init_size)) { in ntfs_end_buffer_async_read() 210 if (unlikely(!page_has_buffers(page))) { in ntfs_read_block() 235 if (unlikely(init_size > i_size)) { in ntfs_read_block() 247 if (unlikely(buffer_uptodate(bh))) in ntfs_read_block() 249 if (unlikely(buffer_mapped(bh))) { in ntfs_read_block() 412 if (unlikely(page->index >= (i_size + PAGE_SIZE - 1) >> in ntfs_readpage() 462 if (unlikely(page->index > 0)) { in ntfs_readpage() 480 if (unlikely(NInoNonResident(ni))) { in ntfs_readpage() 485 if (unlikely(!ctx)) { in ntfs_readpage() [all …]
|
/linux-4.19.296/lib/lzo/ |
D | lzo1x_decompress_safe.c | 52 if (unlikely(in_len < 3)) in lzo1x_decompress_safe() 67 if (unlikely(t == 0)) { in lzo1x_decompress_safe() 71 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe() 76 if (unlikely(offset > MAX_255_COUNT)) in lzo1x_decompress_safe() 135 if (unlikely(t == 2)) { in lzo1x_decompress_safe() 139 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe() 144 if (unlikely(offset > MAX_255_COUNT)) in lzo1x_decompress_safe() 160 if (unlikely(t == 2)) { in lzo1x_decompress_safe() 164 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe() 169 if (unlikely(offset > MAX_255_COUNT)) in lzo1x_decompress_safe()
|
D | lzo1x_compress.c | 44 if (unlikely(ip >= ip_end)) in lzo1x_1_do_compress() 50 if (unlikely(dv != get_unaligned_le32(m_pos))) in lzo1x_1_do_compress() 72 while (unlikely(tt > 255)) { in lzo1x_1_do_compress() 97 if (unlikely(v == 0)) { in lzo1x_1_do_compress() 102 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress() 117 if (unlikely(v == 0)) { in lzo1x_1_do_compress() 127 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress() 139 if (unlikely(ip[m_len] == m_pos[m_len])) { in lzo1x_1_do_compress() 163 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress() 185 while (unlikely(m_len > 255)) { in lzo1x_1_do_compress() [all …]
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-mc13xxx.c | 108 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 114 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 123 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 127 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 131 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 138 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 144 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 169 if (unlikely(ret)) in mc13xxx_rtc_read_alarm() 177 if (unlikely(ret)) in mc13xxx_rtc_read_alarm() 211 if (unlikely(ret)) in mc13xxx_rtc_set_alarm() [all …]
|
/linux-4.19.296/fs/nilfs2/ |
D | recovery.c | 140 if (unlikely(!bh_sr)) { in nilfs_read_super_root_block() 217 if (unlikely(nblock == 0 || nblock > nilfs->ns_blocks_per_segment)) in nilfs_validate_log() 255 if (unlikely(!*pbh)) in nilfs_read_summary_info() 322 if (unlikely(!bh)) in nilfs_scan_dsync_log() 332 if (unlikely(!finfo)) in nilfs_scan_dsync_log() 346 if (unlikely(!binfo)) in nilfs_scan_dsync_log() 350 if (unlikely(!rb)) { in nilfs_scan_dsync_log() 366 if (unlikely(!bh)) in nilfs_scan_dsync_log() 395 if (unlikely(!ent)) in nilfs_segment_list_add() 436 if (unlikely(err)) in nilfs_prepare_segment_for_recovery() [all …]
|
/linux-4.19.296/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()
|
/linux-4.19.296/fs/ |
D | namei.c | 141 if (unlikely(!result)) in getname_flags() 152 if (unlikely(len < 0)) { in getname_flags() 163 if (unlikely(len == EMBEDDED_NAME_MAX)) { in getname_flags() 173 if (unlikely(!result)) { in getname_flags() 179 if (unlikely(len < 0)) { in getname_flags() 184 if (unlikely(len == PATH_MAX)) { in getname_flags() 193 if (unlikely(!len)) { in getname_flags() 221 if (unlikely(!result)) in getname_kernel() 231 if (unlikely(!tmp)) { in getname_kernel() 384 if (unlikely(!(inode->i_opflags & IOP_FASTPERM))) { in do_inode_permission() [all …]
|
/linux-4.19.296/fs/exofs/ |
D | super.c | 106 if (unlikely(!opts->dev_name)) { in parse_options() 237 if (unlikely(!or)) { in exofs_read_kern() 242 if (unlikely(ret)) { in exofs_read_kern() 248 if (unlikely(ret)) { in exofs_read_kern() 254 if (unlikely(ret)) in exofs_read_kern() 280 if (unlikely(ret)) { in __sbi_read_stats() 289 if (unlikely(ret)) { in __sbi_read_stats() 302 if (unlikely(attrs[0].len != sizeof(*ess))) { in __sbi_read_stats() 335 if (unlikely(ret)) { in exofs_sbi_write_stats() 351 if (unlikely(ret)) { in exofs_sbi_write_stats() [all …]
|
D | ore.c | 190 if (unlikely(!ios)) { in _ore_get_io_state() 198 if (unlikely(!ios)) { in _ore_get_io_state() 205 if (unlikely(!ios_extra)) { in _ore_get_io_state() 298 if (unlikely(ret)) in ore_get_rw_state() 387 if (unlikely(!or)) in ore_io_execute() 391 if (unlikely(ret)) { in ore_io_execute() 402 if (unlikely(!or)) in ore_io_execute() 446 if (unlikely(!or)) in ore_check_io() 630 if (unlikely(!per_dev->bio)) { in _ore_add_stripe_unit() 646 if (unlikely(pglen != added_len)) { in _ore_add_stripe_unit() [all …]
|
/linux-4.19.296/include/linux/sunrpc/ |
D | xdr.h | 293 if (unlikely(!p)) in xdr_stream_encode_u32() 314 if (unlikely(!p)) in xdr_stream_encode_u64() 336 if (unlikely(!p)) { in xdr_stream_encode_opaque_inline() 360 if (unlikely(!p)) in xdr_stream_encode_opaque_fixed() 382 if (unlikely(!p)) in xdr_stream_encode_opaque() 405 if (unlikely(!p)) in xdr_stream_encode_uint32_array() 428 if (unlikely(!p)) in xdr_stream_decode_u32() 449 if (unlikely(!p)) in xdr_stream_decode_opaque_fixed() 478 if (unlikely(xdr_stream_decode_u32(xdr, &len) < 0)) in xdr_stream_decode_opaque_inline() 482 if (unlikely(!p)) in xdr_stream_decode_opaque_inline() [all …]
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-ibm_iic.c | 236 if (unlikely(time_after(jiffies, x))) in iic_dc_wait() 251 if (unlikely(p->flags & I2C_M_TEN)){ in iic_smbus_quick() 264 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSDA | DIRCNTL_MSC))) in iic_smbus_quick() 283 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) in iic_smbus_quick() 294 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) in iic_smbus_quick() 303 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) in iic_smbus_quick() 351 if (unlikely(in_8(&iic->sts) & STS_ERR)){ in iic_xfer_result() 422 if (unlikely(ret < 0)) in iic_wait_for_tc() 424 else if (unlikely(in_8(&iic->sts) & STS_PT)){ in iic_wait_for_tc() 434 if (unlikely(time_after(jiffies, x))){ in iic_wait_for_tc() [all …]
|