/linux/fs/btrfs/ |
A D | tree-checker.c | 266 if (unlikely(key->offset)) { in check_extent_data_item() 515 if (unlikely(ret < 0)) in check_dir_item() 520 if (unlikely(ret < 0)) in check_dir_item() 784 if (unlikely(!num_stripes)) { in btrfs_check_chunk_valid() 1016 if (unlikely(ret < 0)) in check_inode_item() 1095 if (unlikely(ret < 0)) in check_root_item() 1273 if (unlikely(generation > in check_extent_item() 1411 if (unlikely(ptr != end)) { in check_extent_item() 1654 if (unlikely(nritems == 0)) in check_leaf() 1733 if (unlikely(ret < 0)) in check_leaf() [all …]
|
/linux/lib/ |
A D | asn1_decoder.c | 66 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length() 88 if (unlikely(datalen - dp < 2)) 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() 227 if (unlikely(datalen - dp < 2)) in asn1_ber_decoder() 267 if (unlikely(2 > datalen - dp)) in asn1_ber_decoder() 271 if (unlikely(n > 2)) in asn1_ber_decoder() 392 if (unlikely(csp <= 0)) in asn1_ber_decoder() 404 if (unlikely(datalen - dp < 2)) in asn1_ber_decoder() [all …]
|
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() 93 if (unlikely(val.v <= m->s[1].v)) in minmax_running_min() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
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() 71 if (unlikely(tdes0 & ETDES0_DEFERRED)) in enh_desc_get_tx_status() 191 if (unlikely(rdes0 & RDES0_OWN)) in enh_desc_get_rx_status() 210 if (unlikely(rdes0 & RDES0_COLLISION)) in enh_desc_get_rx_status() 218 if (unlikely(rdes0 & RDES0_CRC_ERROR)) { in enh_desc_get_rx_status() [all …]
|
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() 36 if (unlikely(tdes0 & TDES0_NO_CARRIER)) { in ndesc_get_tx_status() 40 if (unlikely(tdes0 & TDES0_LOSS_CARRIER)) { 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() 97 if (unlikely(rdes0 & RDES0_COLLISION)) { in ndesc_get_rx_status() 101 if (unlikely(rdes0 & RDES0_CRC_ERROR)) { in ndesc_get_rx_status() 107 if (unlikely(rdes0 & RDES0_DRIBBLING)) in ndesc_get_rx_status() 110 if (unlikely(rdes0 & RDES0_LENGTH_ERROR)) { in ndesc_get_rx_status() [all …]
|
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() 59 if (unlikely(tdes3 & TDES3_IP_HDR_ERROR)) in dwmac4_wrback_get_tx_status() 68 if (unlikely(tdes3 & TDES3_DEFERRED)) in dwmac4_wrback_get_tx_status() 84 if (unlikely(rdes3 & RDES3_OWN)) in dwmac4_wrback_get_rx_status() 104 if (unlikely(rdes3 & RDES3_CRC_ERROR)) { in dwmac4_wrback_get_rx_status() [all …]
|
A D | dwmac_lib.c | 177 if (unlikely(intr_status & DMA_STATUS_AIS)) { in dwmac_dma_interrupt() 178 if (unlikely(intr_status & DMA_STATUS_UNF)) { in dwmac_dma_interrupt() 182 if (unlikely(intr_status & DMA_STATUS_TJT)) in dwmac_dma_interrupt() 185 if (unlikely(intr_status & DMA_STATUS_OVF)) in dwmac_dma_interrupt() 188 if (unlikely(intr_status & DMA_STATUS_RU)) in dwmac_dma_interrupt() 190 if (unlikely(intr_status & DMA_STATUS_RPS)) in dwmac_dma_interrupt() 192 if (unlikely(intr_status & DMA_STATUS_RWT)) in dwmac_dma_interrupt() 194 if (unlikely(intr_status & DMA_STATUS_ETI)) in dwmac_dma_interrupt() 196 if (unlikely(intr_status & DMA_STATUS_TPS)) { in dwmac_dma_interrupt() 220 if (unlikely(intr_status & DMA_STATUS_ERI)) in dwmac_dma_interrupt() [all …]
|
/linux/fs/nfs/ |
A D | callback_xdr.c | 92 if (unlikely(p == NULL)) in decode_fh() 98 if (unlikely(p == NULL)) in decode_fh() 460 if (unlikely(status)) in decode_recallany_args() 532 if (unlikely(!p)) in decode_write_response() 538 if (unlikely(!p)) in decode_write_response() 572 if (unlikely(!p)) in decode_offload_args() 581 if (unlikely(!p)) in decode_offload_args() 611 if (unlikely(!p)) in encode_attr_change() 624 if (unlikely(!p)) in encode_attr_size() 635 if (unlikely(!p)) in encode_attr_time() [all …]
|
A D | nfs3xdr.c | 146 if (unlikely(!p)) in decode_uint32() 157 if (unlikely(!p)) in decode_uint64() 200 if (unlikely(!p)) in decode_inline_filename3() 206 if (unlikely(!p)) in decode_inline_filename3() 235 if (unlikely(!p)) in decode_nfspath3() 286 if (unlikely(!p)) in decode_cookieverf3() 310 if (unlikely(!p)) in decode_writeverf3() 341 if (unlikely(!p)) in decode_nfsstat3() 433 if (unlikely(!p)) in decode_nfs_fh3() 439 if (unlikely(!p)) in decode_nfs_fh3() [all …]
|
/linux/drivers/net/wireguard/ |
A D | receive.c | 90 if (unlikely(!header_len)) in prepare_skb_header() 152 if (unlikely(!peer)) { in wg_receive_handshake_packet() 174 if (unlikely(!peer)) { in wg_receive_handshake_packet() 199 if (unlikely(!peer)) { in wg_receive_handshake_packet() 243 if (unlikely(send)) { in keep_key_fresh() 256 if (unlikely(!keypair)) in decrypt_packet() 364 if (unlikely(!skb->len)) { in wg_packet_consume_data_done() 405 if (unlikely(len > skb->len)) in wg_packet_consume_data_done() 455 if (unlikely(budget <= 0)) in wg_packet_rx_poll() 487 if (unlikely(free)) in wg_packet_rx_poll() [all …]
|
/linux/net/caif/ |
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() 150 if (unlikely(is_erronous(pkt))) in cfpkt_extr_trail() 180 if (unlikely(is_erronous(pkt))) in cfpkt_add_body() 222 if (unlikely(is_erronous(pkt))) in cfpkt_add_head() 231 if (unlikely(ret < 0)) { in cfpkt_add_head() 261 if (unlikely(is_erronous(pkt))) in cfpkt_iterate() 275 if (unlikely(is_erronous(pkt))) in cfpkt_setlen() 279 if (unlikely(skb->data_len)) in cfpkt_setlen() [all …]
|
/linux/include/asm-generic/ |
A D | bug.h | 65 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 105 if (unlikely(__ret_warn_on)) \ 108 unlikely(__ret_warn_on); \ 122 if (unlikely(__ret_warn_on)) \ 124 unlikely(__ret_warn_on); \ 131 if (unlikely(__ret_warn_on)) \ 133 unlikely(__ret_warn_on); \ 139 if (unlikely(__ret_warn_on)) \ 141 unlikely(__ret_warn_on); \ 167 unlikely(__ret_warn_on); \ [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
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() 184 if (unlikely(qpn == 0)) { in hdr_check() 193 if (unlikely(!qp)) { in hdr_check() 199 if (unlikely(err)) in hdr_check() 203 if (unlikely(err)) in hdr_check() 207 if (unlikely(err)) in hdr_check() 281 if (unlikely(!cskb)) in rxe_rcv_mcast_pkt() 382 if (unlikely(err)) in rxe_rcv() [all …]
|
A D | rxe_mw.c | 84 if (unlikely((mw->access & IB_ZERO_BASED))) { in rxe_check_bind_mw() 92 if (unlikely(mw->state != RXE_MW_STATE_FREE)) { in rxe_check_bind_mw() 99 if (unlikely(qp->pd != to_rpd(mw->ibmw.pd))) { in rxe_check_bind_mw() 113 if (unlikely(key == (mw->rkey & 0xff))) { in rxe_check_bind_mw() 122 if (unlikely(mr->access & IB_ZERO_BASED)) { in rxe_check_bind_mw() 135 if (unlikely((mw->access & in rxe_check_bind_mw() 203 if (unlikely(!mw)) { in rxe_bind_mw() 208 if (unlikely(mw->rkey != mw_rkey)) { in rxe_bind_mw() 215 if (unlikely(!mr)) { in rxe_bind_mw() 220 if (unlikely(mr->lkey != mr_lkey)) { in rxe_bind_mw() [all …]
|
/linux/tools/include/asm/ |
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); \
|
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/ |
A D | macsec_api.c | 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() 321 if (unlikely(ret)) in get_ingress_prectlf_record() 473 if (unlikely(ret)) in get_ingress_preclass_record() [all …]
|
/linux/arch/microblaze/mm/ |
A D | fault.c | 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() 211 if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC)))) in do_page_fault() [all …]
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_eth_com.c | 112 if (unlikely(!bounce_buffer)) { in ena_com_write_header_to_bounce() 157 if (unlikely(rc)) { in ena_com_close_bounce_buffer() 191 if (unlikely(rc)) { in ena_com_sq_update_llq_tail() 281 if (unlikely(!meta_desc)) in ena_com_create_meta() 422 if (unlikely(rc)) in ena_com_prepare_tx() 426 if (unlikely(rc)) { in ena_com_prepare_tx() 443 if (unlikely(!desc)) in ena_com_prepare_tx() 497 if (unlikely(rc)) { in ena_com_prepare_tx() 504 if (unlikely(!desc)) in ena_com_prepare_tx() 530 if (unlikely(rc)) { in ena_com_prepare_tx() [all …]
|
/linux/include/linux/ |
A D | audit.h | 327 if (unlikely(task->audit_context)) in audit_free() 342 if (unlikely(!audit_dummy_context())) in audit_uring_exit() 349 if (unlikely(audit_context())) in audit_syscall_entry() 354 if (unlikely(audit_context())) { in audit_syscall_exit() 363 if (unlikely(!audit_dummy_context())) in audit_reusename() 369 if (unlikely(!audit_dummy_context())) in audit_getname() 375 if (unlikely(!audit_dummy_context())) in audit_inode() 380 if (unlikely(!audit_dummy_context())) in audit_file() 386 if (unlikely(!audit_dummy_context())) in audit_inode_parent_hidden() 393 if (unlikely(!audit_dummy_context())) in audit_inode_child() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | interrupt.c | 64 if (unlikely(lazy_irq_pending_nocheck())) { in prep_irq_for_enabled_exit() 150 unlikely(MSR_TM_TRANSACTIONAL(regs->msr))) in system_call_exception() 160 if (unlikely(MSR_TM_TRANSACTIONAL(regs->msr)) && in system_call_exception() 185 if (unlikely(trap_is_unsupported_scv(regs))) { in system_call_exception() 198 if (unlikely(r0 >= NR_syscalls)) in system_call_exception() 207 } else if (unlikely(r0 >= NR_syscalls)) { in system_call_exception() 208 if (unlikely(trap_is_unsupported_scv(regs))) { in system_call_exception() 219 if (unlikely(is_compat_task())) { in system_call_exception() 367 unlikely((ti_flags & _TIF_RESTORE_TM))) { in interrupt_exit_user_prepare_main() 596 if (unlikely(stack_store)) in interrupt_exit_kernel_prepare() [all …]
|
/linux/arch/powerpc/mm/ |
A D | fault.c | 268 if (unlikely(!(vma->vm_flags & VM_WRITE))) in access_error() 273 if (unlikely(!vma_is_accessible(vma))) in access_error() 401 if (unlikely(page_fault_is_bad(error_code))) { in ___do_page_fault() 428 if (unlikely(faulthandler_disabled() || !mm)) { in ___do_page_fault() 468 if (unlikely(!mmap_read_trylock(mm))) { in ___do_page_fault() 484 if (unlikely(!vma)) in ___do_page_fault() 487 if (unlikely(vma->vm_start > address)) { in ___do_page_fault() 491 if (unlikely(expand_stack(vma, address))) in ___do_page_fault() 518 if (unlikely(fault & VM_FAULT_RETRY)) { in ___do_page_fault() 527 if (unlikely(fault & VM_FAULT_ERROR)) in ___do_page_fault() [all …]
|
/linux/fs/ntfs/ |
A D | runlist.c | 71 if (unlikely(!new_rl)) in ntfs_rl_realloc() 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() 775 if (unlikely(!rl)) in ntfs_mapping_pairs_decompress() 794 if (unlikely(!rl2)) { in ntfs_mapping_pairs_decompress() 1000 if (unlikely(!rl)) in ntfs_rl_vcn_to_lcn() 1365 if (unlikely(len_len < 0)) in ntfs_mapping_pairs_build() 1502 if (unlikely(!rl)) { in ntfs_rl_truncate_nolock() 1508 if (unlikely(!rl)) { in ntfs_rl_truncate_nolock() [all …]
|
A D | aops.c | 468 if (unlikely(!ctx)) { in ntfs_readpage() 474 if (unlikely(err)) in ntfs_readpage() 732 if (unlikely(*bpos)) in ntfs_write_block() 824 } else if (unlikely(err)) { in ntfs_write_block() 834 if (unlikely(err)) { in ntfs_write_block() 978 if (unlikely(err2)) { in ntfs_write_mst_block() 1096 if (unlikely(rl)) in ntfs_write_mst_block() 1151 if (unlikely(err2)) { in ntfs_write_mst_block() 1451 if (unlikely(!ctx)) { in ntfs_writepage() 1457 if (unlikely(err)) in ntfs_writepage() [all …]
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
A D | trans.c | 25 if (unlikely(!response_skb)) { in qtnf_trans_send_cmd_with_resp() 40 if (unlikely(ret)) in qtnf_trans_send_cmd_with_resp() 54 if (unlikely(status <= 0)) { in qtnf_trans_send_cmd_with_resp() 64 if (unlikely(!resp_skb || resp_not_handled)) { in qtnf_trans_send_cmd_with_resp() 75 if (unlikely(resp_skb && resp_not_handled)) in qtnf_trans_send_cmd_with_resp() 89 if (unlikely(!ctl_node->waiting_for_resp)) { in qtnf_trans_signal_cmdresp() 94 if (unlikely(recvd_seq_num != ctl_node->seq_num)) { in qtnf_trans_signal_cmdresp() 173 if (unlikely(skb->len < sizeof(*header))) { in qtnf_trans_handle_rx_ctl_packet() 179 if (unlikely(skb->len != le16_to_cpu(header->len))) { in qtnf_trans_handle_rx_ctl_packet() 188 if (unlikely(skb->len < sizeof(struct qlink_cmd))) { in qtnf_trans_handle_rx_ctl_packet() [all …]
|
/linux/arch/mips/kernel/ |
A D | ftrace.c | 80 if (unlikely(faulted)) in ftrace_modify_code() 95 if (unlikely(faulted)) in ftrace_modify_code_2() 100 if (unlikely(faulted)) in ftrace_modify_code_2() 116 if (unlikely(faulted)) in ftrace_modify_code_2r() 121 if (unlikely(faulted)) in ftrace_modify_code_2r() 273 if (unlikely(faulted)) in ftrace_get_parent_ra_addr() 291 if (unlikely(faulted)) in ftrace_get_parent_ra_addr() 313 if (unlikely(ftrace_graph_is_dead())) in prepare_ftrace_return() 316 if (unlikely(atomic_read(¤t->tracing_graph_pause))) in prepare_ftrace_return() 339 if (unlikely(faulted)) in prepare_ftrace_return() [all …]
|