| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | rk_cryptodev.c | 119 if (unlikely(!ses_ptr)) { in fill_kcop_fd_from_cop() 133 if (unlikely(rc)) { in fill_kcop_fd_from_cop() 152 if (unlikely(ret)) in fill_cop_fd_from_kcop() 158 if (unlikely(ret)) in fill_cop_fd_from_kcop() 167 if (unlikely(copy_from_user(&kcop->cop, arg, sizeof(kcop->cop)))) in kcop_fd_from_user() 179 if (unlikely(ret)) { in kcop_fd_to_user() 184 if (unlikely(copy_to_user(arg, &kcop->cop, sizeof(kcop->cop)))) { in kcop_fd_to_user() 206 if (unlikely(ret)) in hash_n_crypt_fd() 213 if (unlikely(ret)) in hash_n_crypt_fd() 221 if (unlikely(ret)) in hash_n_crypt_fd() [all …]
|
| H A D | authenc.c | 85 if (unlikely(rc)) { in get_userbuf_tls() 126 if (unlikely(kcaop->dst_len == 0 || caop->auth_len == 0)) { in get_userbuf_srtp() 151 if (unlikely(rc)) { in get_userbuf_srtp() 221 if (unlikely(!ses_ptr)) { in fill_kcaop_from_caop() 244 if (unlikely(ret)) { in fill_kcaop_from_caop() 269 if (unlikely(ret)) { in fill_caop_from_kcaop() 281 if (unlikely(copy_from_user(&kcaop->caop, arg, sizeof(kcaop->caop)))) { in cryptodev_kcaop_from_user() 295 if (unlikely(ret)) { in cryptodev_kcaop_to_user() 300 if (unlikely(copy_to_user(arg, &kcaop->caop, sizeof(kcaop->caop)))) { in cryptodev_kcaop_to_user() 353 if (unlikely(ret)) { in compat_kcaop_from_user() [all …]
|
| H A D | main.c | 69 if (unlikely(ret)) in hash_n_crypt() 76 if (unlikely(ret)) in hash_n_crypt() 84 if (unlikely(ret)) in hash_n_crypt() 91 if (unlikely(ret)) in hash_n_crypt() 115 if (unlikely(!data)) { in __crypto_run_std() 128 if (unlikely(copy_from_user(data, src, current_len))) { in __crypto_run_std() 138 if (unlikely(ret)) { in __crypto_run_std() 144 if (unlikely(copy_to_user(dst, data, current_len))) { in __crypto_run_std() 172 if (unlikely(ret)) { in __crypto_run_zc() 189 if (unlikely(cop->op != COP_ENCRYPT && cop->op != COP_DECRYPT)) { in crypto_run() [all …]
|
| H A D | ioctl.c | 129 if (unlikely(!sop->cipher && !sop->mac)) { in crypto_create_session() 264 if (unlikely(ret < 0)) { in crypto_create_session() 271 if (unlikely(ret < 0)) in crypto_create_session() 283 if (unlikely(sop->mackeylen > CRYPTO_HMAC_MAX_KEY_LEN)) { in crypto_create_session() 290 if (sop->mackey && unlikely(copy_from_user(keys.mkey, sop->mackey, in crypto_create_session() 343 if (unlikely(ses_new->sid == ses_ptr->sid)) { in crypto_create_session() 414 if (unlikely(!ses_ptr)) { in crypto_finish_session() 448 if (unlikely(fcr == NULL)) in crypto_get_session_by_sid() 481 if (unlikely(fcr == NULL)) { in crypto_get_sessions_by_sid() 527 if (unlikely(ret)) { in crypto_copy_hash_state() [all …]
|
| H A D | cryptlib.c | 67 if (unlikely(sop->keylen > CRYPTO_CIPHER_MAX_KEY_LEN)) in cryptodev_get_cipher_keylen() 71 if (unlikely(sop->mackeylen > CRYPTO_HMAC_MAX_KEY_LEN)) in cryptodev_get_cipher_keylen() 111 if (unlikely(copy_from_user(key, sop->mackey, sop->mackeylen))) { in cryptodev_get_cipher_key() 119 if (unlikely(copy_from_user(key, sop->key, sop->keylen))) in cryptodev_get_cipher_key() 130 if (max_keysize > 0 && unlikely((keylen < min_keysize) || in check_key_size() 154 if (unlikely(IS_ERR(out->async.s))) { in cryptodev_cipher_init() 198 if (unlikely(IS_ERR(out->async.as))) { in cryptodev_cipher_init() 210 if (unlikely(ret)) { in cryptodev_cipher_init() 223 if (unlikely(!out->async.request)) { in cryptodev_cipher_init() 234 if (unlikely(!out->async.arequest)) { in cryptodev_cipher_init() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | asn1_decoder.c | 66 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length() 86 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) { in asn1_find_indefinite_length() 88 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length() 99 if (unlikely(len == ASN1_INDEFINITE_LENGTH)) { in asn1_find_indefinite_length() 101 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5)) in asn1_find_indefinite_length() 108 if (unlikely(n > sizeof(len) - 1)) in asn1_find_indefinite_length() 110 if (unlikely(n > datalen - dp)) in asn1_find_indefinite_length() 203 if (unlikely(pc >= machlen)) in asn1_ber_decoder() 206 if (unlikely(pc + asn1_op_lengths[op] > machlen)) in asn1_ber_decoder() 227 if (unlikely(datalen - dp < 2)) in asn1_ber_decoder() [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | syscall_64.c | 47 if (unlikely(local_paca->dtl_ridx != be64_to_cpu(lp->dtl_idx))) in system_call_exception() 62 if (unlikely(current_thread_info()->flags & _TIF_SYSCALL_DOTRACE)) { in system_call_exception() 63 if (unlikely(regs->trap == 0x7ff0)) { in system_call_exception() 76 if (unlikely(r0 >= NR_syscalls)) in system_call_exception() 85 } else if (unlikely(r0 >= NR_syscalls)) { in system_call_exception() 86 if (unlikely(regs->trap == 0x7ff0)) { in system_call_exception() 97 if (unlikely(is_32bit_task())) { in system_call_exception() 128 if (unlikely(lazy_irq_pending_nocheck())) { in prep_irq_for_enabled_exit() 169 if (unlikely(r3 >= (unsigned long)-MAX_ERRNO) && !scv) { in syscall_exit_prepare() 176 if (unlikely(ti_flags & _TIF_PERSYSCALL_MASK)) { in syscall_exit_prepare() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | enh_desc.c | 23 if (unlikely(tdes0 & ETDES0_OWN)) in enh_desc_get_tx_status() 30 if (unlikely(tdes0 & ETDES0_ERROR_SUMMARY)) { in enh_desc_get_tx_status() 31 if (unlikely(tdes0 & ETDES0_JABBER_TIMEOUT)) in enh_desc_get_tx_status() 34 if (unlikely(tdes0 & ETDES0_FRAME_FLUSHED)) { in enh_desc_get_tx_status() 39 if (unlikely(tdes0 & ETDES0_LOSS_CARRIER)) { in enh_desc_get_tx_status() 43 if (unlikely(tdes0 & ETDES0_NO_CARRIER)) { in enh_desc_get_tx_status() 47 if (unlikely((tdes0 & ETDES0_LATE_COLLISION) || in enh_desc_get_tx_status() 52 if (unlikely(tdes0 & ETDES0_EXCESSIVE_DEFERRAL)) in enh_desc_get_tx_status() 55 if (unlikely(tdes0 & ETDES0_UNDERFLOW_ERROR)) { in enh_desc_get_tx_status() 60 if (unlikely(tdes0 & ETDES0_IP_HEADER_ERROR)) in enh_desc_get_tx_status() [all …]
|
| H A D | norm_desc.c | 24 if (unlikely(tdes0 & TDES0_OWN)) in ndesc_get_tx_status() 31 if (unlikely(tdes0 & TDES0_ERROR_SUMMARY)) { in ndesc_get_tx_status() 32 if (unlikely(tdes0 & TDES0_UNDERFLOW_ERROR)) { in ndesc_get_tx_status() 36 if (unlikely(tdes0 & TDES0_NO_CARRIER)) { in ndesc_get_tx_status() 40 if (unlikely(tdes0 & TDES0_LOSS_CARRIER)) { in ndesc_get_tx_status() 44 if (unlikely((tdes0 & TDES0_EXCESSIVE_DEFERRAL) || in ndesc_get_tx_status() 58 if (unlikely(tdes0 & TDES0_DEFERRED)) in ndesc_get_tx_status() 80 if (unlikely(rdes0 & RDES0_OWN)) in ndesc_get_rx_status() 83 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) { in ndesc_get_rx_status() 88 if (unlikely(rdes0 & RDES0_ERROR_SUMMARY)) { in ndesc_get_rx_status() [all …]
|
| H A D | dwmac4_descs.c | 27 if (unlikely(tdes3 & TDES3_OWN)) in dwmac4_wrback_get_tx_status() 34 if (unlikely(tdes3 & TDES3_ERROR_SUMMARY)) { in dwmac4_wrback_get_tx_status() 35 if (unlikely(tdes3 & TDES3_JABBER_TIMEOUT)) in dwmac4_wrback_get_tx_status() 37 if (unlikely(tdes3 & TDES3_PACKET_FLUSHED)) in dwmac4_wrback_get_tx_status() 39 if (unlikely(tdes3 & TDES3_LOSS_CARRIER)) { in dwmac4_wrback_get_tx_status() 43 if (unlikely(tdes3 & TDES3_NO_CARRIER)) { in dwmac4_wrback_get_tx_status() 47 if (unlikely((tdes3 & TDES3_LATE_COLLISION) || in dwmac4_wrback_get_tx_status() 53 if (unlikely(tdes3 & TDES3_EXCESSIVE_DEFERRAL)) in dwmac4_wrback_get_tx_status() 56 if (unlikely(tdes3 & TDES3_UNDERFLOW_ERROR)) in dwmac4_wrback_get_tx_status() 59 if (unlikely(tdes3 & TDES3_IP_HDR_ERROR)) in dwmac4_wrback_get_tx_status() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireguard/ |
| H A D | receive.c | 37 if (unlikely(skb->len < sizeof(struct message_header))) in validate_header_len() 59 if (unlikely(!wg_check_packet_protocol(skb) || in prepare_skb_header() 66 if (unlikely(data_offset > U16_MAX || in prepare_skb_header() 73 if (unlikely(data_len < sizeof(struct udphdr) || in prepare_skb_header() 81 if (unlikely(!pskb_may_pull(skb, in prepare_skb_header() 86 if (unlikely(skb->len != data_len)) in prepare_skb_header() 90 if (unlikely(!header_len)) in prepare_skb_header() 93 if (unlikely(!pskb_may_pull(skb, data_offset + header_len))) in prepare_skb_header() 152 if (unlikely(!peer)) { in wg_receive_handshake_packet() 174 if (unlikely(!peer)) { in wg_receive_handshake_packet() [all …]
|
| /OK3568_Linux_fs/kernel/fs/nfs/ |
| H A D | callback_xdr.c | 93 if (unlikely(p == NULL)) in decode_fh() 99 if (unlikely(p == NULL)) in decode_fh() 112 if (unlikely(p == NULL)) in decode_bitmap() 116 if (unlikely(p == NULL)) in decode_bitmap() 130 if (unlikely(p == NULL)) in decode_stateid() 148 if (unlikely(status != 0)) in decode_compound_hdr_arg() 151 if (unlikely(p == NULL)) in decode_compound_hdr_arg() 171 if (unlikely(p == NULL)) in decode_op_hdr() 184 if (unlikely(status != 0)) in decode_getattr_args() 197 if (unlikely(status != 0)) in decode_recall_args() [all …]
|
| H A D | nfs3xdr.c | 144 if (unlikely(!p)) in decode_uint32() 155 if (unlikely(!p)) in decode_uint64() 198 if (unlikely(!p)) in decode_inline_filename3() 204 if (unlikely(!p)) in decode_inline_filename3() 233 if (unlikely(!p)) in decode_nfspath3() 236 if (unlikely(count >= xdr->buf->page_len || count > NFS3_MAXPATHLEN)) in decode_nfspath3() 239 if (unlikely(count > recvd)) in decode_nfspath3() 284 if (unlikely(!p)) in decode_cookieverf3() 308 if (unlikely(!p)) in decode_writeverf3() 339 if (unlikely(!p)) in decode_nfsstat3() [all …]
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | bug.h | 14 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 18 if (unlikely(__ret_warn_on)) \ 20 unlikely(__ret_warn_on); \ 25 if (unlikely(__ret_warn_on)) \ 27 unlikely(__ret_warn_on); \ 34 if (unlikely(__ret_warn_once && !__warned)) { \ 38 unlikely(__ret_warn_once); \ 45 if (unlikely(__ret_warn_once && !__warned)) { \ 49 unlikely(__ret_warn_once); \
|
| /OK3568_Linux_fs/kernel/net/caif/ |
| H A D | cfpkt_skbuff.c | 84 if (unlikely(skb == NULL)) in cfpkt_create_pfx() 123 if (unlikely(is_erronous(pkt))) in cfpkt_extr_head() 126 if (unlikely(len > skb->len)) { in cfpkt_extr_head() 131 if (unlikely(len > skb_headlen(skb))) { in cfpkt_extr_head() 132 if (unlikely(skb_linearize(skb) != 0)) { in cfpkt_extr_head() 150 if (unlikely(is_erronous(pkt))) in cfpkt_extr_trail() 153 if (unlikely(skb_linearize(skb) != 0)) { in cfpkt_extr_trail() 157 if (unlikely(skb->data + len > skb_tail_pointer(skb))) { in cfpkt_extr_trail() 180 if (unlikely(is_erronous(pkt))) in cfpkt_add_body() 186 if (unlikely(skb_tailroom(skb) < len)) { in cfpkt_add_body() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_debug.h | 66 (unlikely(mpp_dev_debug & (type))) 70 if (unlikely(mpp_dev_debug & (type))) { \ 77 if (unlikely(mpp_dev_debug & (type))) { \ 84 if (unlikely(mpp_dev_debug & DEBUG_FUNCTION)) { \ 92 if (unlikely(mpp_dev_debug & DEBUG_FUNCTION)) { \ 103 if (unlikely(mpp_dev_debug & DEBUG_LINK_TABLE)) { \ 111 if (unlikely(mpp_dev_debug & DEBUG_SESSION)) { \ 118 if (unlikely(mpp_dev_debug & DEBUG_CCU)) { \ 126 if (unlikely(mpp_dev_debug & DEBUG_CORE)) { \ 133 if (unlikely(mpp_dev_debug & DEBUG_SLICE)) { \
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/ |
| H A D | rxe_recv.c | 18 if (unlikely(!qp->valid)) in check_type_state() 25 if (unlikely(pkt_type != IB_OPCODE_RC)) { in check_type_state() 31 if (unlikely(pkt_type != IB_OPCODE_UC)) { in check_type_state() 39 if (unlikely(pkt_type != IB_OPCODE_UD)) { in check_type_state() 50 if (unlikely(qp->resp.state != QP_STATE_READY)) in check_type_state() 52 } else if (unlikely(qp->req.state < QP_STATE_READY || in check_type_state() 97 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys() 119 if (unlikely(pkt->port_num != qp->attr.port_num)) { in check_addr() 180 if (unlikely(bth_tver(pkt) != BTH_TVER)) { in hdr_check() 185 if (unlikely(qpn == 0)) { in hdr_check() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/macsec/ |
| H A D | macsec_api.c | 17 if (unlikely(ret)) \ 140 if (unlikely(ret)) in get_raw_ingress_record() 145 if (unlikely(ret)) in get_raw_ingress_record() 155 if (unlikely(ret)) in get_raw_ingress_record() 161 if (unlikely(ret)) in get_raw_ingress_record() 233 if (unlikely(ret)) in get_raw_egress_record() 238 if (unlikely(ret)) in get_raw_egress_record() 248 if (unlikely(ret)) in get_raw_egress_record() 254 if (unlikely(ret)) in get_raw_egress_record() 314 if (unlikely(ret)) in get_ingress_prectlf_record() [all …]
|
| /OK3568_Linux_fs/kernel/tools/include/asm/ |
| H A D | bug.h | 12 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); \
|
| /OK3568_Linux_fs/kernel/arch/microblaze/mm/ |
| H A D | fault.c | 100 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { in do_page_fault() 109 if (unlikely(faulthandler_disabled() || !mm)) { in do_page_fault() 142 if (unlikely(!mmap_read_trylock(mm))) { in do_page_fault() 151 if (unlikely(!vma)) in do_page_fault() 157 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) in do_page_fault() 160 if (unlikely(!is_write)) in do_page_fault() 172 if (unlikely(address + 0x100000 < vma->vm_end)) { in do_page_fault() 202 if (unlikely(is_write)) { in do_page_fault() 203 if (unlikely(!(vma->vm_flags & VM_WRITE))) in do_page_fault() 209 if (unlikely(error_code & 0x08000000)) in do_page_fault() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_eth_com.c | 60 if (unlikely(!io_sq->entries_in_tx_burst_left)) { in ena_com_write_bounce_buffer_to_dev() 82 if (unlikely((io_sq->tail & (io_sq->q_depth - 1)) == 0)) in ena_com_write_bounce_buffer_to_dev() 97 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)) in ena_com_write_header_to_bounce() 103 if (unlikely((header_offset + header_len) > in ena_com_write_header_to_bounce() 109 if (unlikely(!bounce_buffer)) { in ena_com_write_header_to_bounce() 127 if (unlikely(!bounce_buffer)) { in get_sq_desc_llq() 145 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)) in ena_com_close_bounce_buffer() 152 if (unlikely(rc)) in ena_com_close_bounce_buffer() 183 if (unlikely(rc)) in ena_com_sq_update_llq_tail() 192 if (unlikely(llq_info->desc_stride_ctrl == ENA_ADMIN_SINGLE_DESC_PER_ENTRY)) in ena_com_sq_update_llq_tail() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/fs/ntfs/ |
| H A D | runlist.c | 71 if (unlikely(!new_rl)) in ntfs_rl_realloc() 75 if (unlikely(old_size > new_size)) in ntfs_rl_realloc() 120 if (unlikely(old_size > new_size)) in ntfs_rl_realloc_nofail() 537 if (unlikely(!srl)) in ntfs_runlists_merge() 543 if (unlikely(!drl)) { in ntfs_runlists_merge() 546 if (unlikely(drl[0].vcn)) { in ntfs_runlists_merge() 764 if (unlikely(buf < (u8*)attr || buf > attr_end)) { in ntfs_mapping_pairs_decompress() 775 if (unlikely(!rl)) in ntfs_mapping_pairs_decompress() 794 if (unlikely(!rl2)) { in ntfs_mapping_pairs_decompress() 814 if (unlikely(buf + b > attr_end)) in ntfs_mapping_pairs_decompress() [all …]
|