/linux-6.1.9/fs/btrfs/ |
D | tree-checker.c | 104 if (unlikely(!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), \ 208 if (unlikely(!IS_ALIGNED(key->offset, sectorsize))) { in check_extent_data_item() 221 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key))) in check_extent_data_item() 230 if (unlikely(item_size < BTRFS_FILE_EXTENT_INLINE_DATA_START)) { in check_extent_data_item() 237 if (unlikely(btrfs_file_extent_type(leaf, fi) >= in check_extent_data_item() 250 if (unlikely(btrfs_file_extent_compression(leaf, fi) >= in check_extent_data_item() 258 if (unlikely(btrfs_file_extent_encryption(leaf, fi))) { in check_extent_data_item() 266 if (unlikely(key->offset)) { in check_extent_data_item() 279 if (unlikely(item_size != BTRFS_FILE_EXTENT_INLINE_DATA_START + in check_extent_data_item() 291 if (unlikely(item_size != sizeof(*fi))) { in check_extent_data_item() [all …]
|
/linux-6.1.9/lib/ |
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 …]
|
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 …]
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
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 …]
|
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 …]
|
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() 37 if (unlikely(tdes3 & TDES3_JABBER_TIMEOUT)) in dwmac4_wrback_get_tx_status() 39 if (unlikely(tdes3 & TDES3_PACKET_FLUSHED)) in dwmac4_wrback_get_tx_status() 41 if (unlikely(tdes3 & TDES3_LOSS_CARRIER)) { in dwmac4_wrback_get_tx_status() 45 if (unlikely(tdes3 & TDES3_NO_CARRIER)) { in dwmac4_wrback_get_tx_status() 49 if (unlikely((tdes3 & TDES3_LATE_COLLISION) || in dwmac4_wrback_get_tx_status() 55 if (unlikely(tdes3 & TDES3_EXCESSIVE_DEFERRAL)) in dwmac4_wrback_get_tx_status() 58 if (unlikely(tdes3 & TDES3_UNDERFLOW_ERROR)) { in dwmac4_wrback_get_tx_status() 63 if (unlikely(tdes3 & TDES3_IP_HDR_ERROR)) in dwmac4_wrback_get_tx_status() [all …]
|
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() 200 if (unlikely(intr_status & DMA_STATUS_FBI)) { in dwmac_dma_interrupt() [all …]
|
/linux-6.1.9/tools/include/asm/ |
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-6.1.9/fs/nfs/ |
D | callback_xdr.c | 92 if (unlikely(p == NULL)) in decode_fh() 98 if (unlikely(p == NULL)) in decode_fh() 111 if (unlikely(p == NULL)) in decode_bitmap() 115 if (unlikely(p == NULL)) in decode_bitmap() 129 if (unlikely(p == NULL)) in decode_stateid() 147 if (unlikely(status != 0)) in decode_compound_hdr_arg() 150 if (unlikely(p == NULL)) in decode_compound_hdr_arg() 170 if (unlikely(p == NULL)) in decode_op_hdr() 183 if (unlikely(status != 0)) in decode_getattr_args() 196 if (unlikely(status != 0)) in decode_recall_args() [all …]
|
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() 238 if (unlikely(count >= xdr->buf->page_len || count > NFS3_MAXPATHLEN)) in decode_nfspath3() 241 if (unlikely(count > recvd)) in decode_nfspath3() 286 if (unlikely(!p)) in decode_cookieverf3() 310 if (unlikely(!p)) in decode_writeverf3() 341 if (unlikely(!p)) in decode_nfsstat3() [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
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() 29 if (unlikely(pkt_type != IB_OPCODE_UC)) in check_type_state() 34 if (unlikely(pkt_type != IB_OPCODE_UD)) in check_type_state() 42 if (unlikely(qp->resp.state != QP_STATE_READY)) in check_type_state() 44 } else if (unlikely(qp->req.state < QP_STATE_READY || in check_type_state() 83 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys() 100 if (unlikely(pkt->port_num != qp->attr.port_num)) in check_addr() 136 if (unlikely(bth_tver(pkt) != BTH_TVER)) in hdr_check() 139 if (unlikely(qpn == 0)) in hdr_check() [all …]
|
D | rxe_mw.c | 54 if (unlikely(mw->state != RXE_MW_STATE_VALID)) { in rxe_check_bind_mw() 61 if (unlikely((mw->access & IB_ZERO_BASED))) { in rxe_check_bind_mw() 69 if (unlikely(mw->state != RXE_MW_STATE_FREE)) { in rxe_check_bind_mw() 76 if (unlikely(qp->pd != to_rpd(mw->ibmw.pd))) { in rxe_check_bind_mw() 83 if (unlikely(!mr || wqe->wr.wr.mw.length == 0)) { in rxe_check_bind_mw() 94 if (unlikely(mr->access & IB_ZERO_BASED)) { in rxe_check_bind_mw() 100 if (unlikely(!(mr->access & IB_ACCESS_MW_BIND))) { in rxe_check_bind_mw() 107 if (unlikely((mw->access & in rxe_check_bind_mw() 117 if (unlikely(wqe->wr.wr.mw.length > mr->ibmr.length)) { in rxe_check_bind_mw() 123 if (unlikely((wqe->wr.wr.mw.addr < mr->ibmr.iova) || in rxe_check_bind_mw() [all …]
|
/linux-6.1.9/drivers/net/wireguard/ |
D | receive.c | 30 if (unlikely(skb->len < sizeof(struct message_header))) in validate_header_len() 52 if (unlikely(!wg_check_packet_protocol(skb) || in prepare_skb_header() 59 if (unlikely(data_offset > U16_MAX || in prepare_skb_header() 66 if (unlikely(data_len < sizeof(struct udphdr) || in prepare_skb_header() 74 if (unlikely(!pskb_may_pull(skb, in prepare_skb_header() 79 if (unlikely(skb->len != data_len)) in prepare_skb_header() 83 if (unlikely(!header_len)) in prepare_skb_header() 86 if (unlikely(!pskb_may_pull(skb, data_offset + header_len))) in prepare_skb_header() 145 if (unlikely(!peer)) { in wg_receive_handshake_packet() 167 if (unlikely(!peer)) { in wg_receive_handshake_packet() [all …]
|
/linux-6.1.9/include/asm-generic/ |
D | bug.h | 71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 111 if (unlikely(__ret_warn_on)) \ 114 unlikely(__ret_warn_on); \ 123 if (unlikely(__ret_warn_on)) \ 125 unlikely(__ret_warn_on); \ 132 if (unlikely(__ret_warn_on)) \ 134 unlikely(__ret_warn_on); \ 140 if (unlikely(__ret_warn_on)) \ 142 unlikely(__ret_warn_on); \ 162 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) [all …]
|
/linux-6.1.9/net/caif/ |
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 …]
|
/linux-6.1.9/arch/microblaze/mm/ |
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 …]
|
/linux-6.1.9/include/linux/ |
D | mmdebug.h | 20 if (unlikely(cond)) { \ 27 if (unlikely(cond)) { \ 34 if (unlikely(cond)) { \ 41 if (unlikely(cond)) { \ 50 if (unlikely(__ret_warn_once && !__warned)) { \ 55 unlikely(__ret_warn_once); \ 60 if (unlikely(__ret_warn)) { \ 64 unlikely(__ret_warn); \ 70 if (unlikely(__ret_warn_once && !__warned)) { \ 75 unlikely(__ret_warn_once); \
|
D | audit.h | 324 if (unlikely(task->audit_context)) in audit_free() 334 if (unlikely(audit_context() && audit_enabled)) in audit_uring_entry() 339 if (unlikely(audit_context())) in audit_uring_exit() 346 if (unlikely(audit_context())) in audit_syscall_entry() 351 if (unlikely(audit_context())) { in audit_syscall_exit() 360 if (unlikely(!audit_dummy_context())) in audit_reusename() 366 if (unlikely(!audit_dummy_context())) in audit_getname() 372 if (unlikely(!audit_dummy_context())) in audit_inode() 377 if (unlikely(!audit_dummy_context())) in audit_file() 383 if (unlikely(!audit_dummy_context())) in audit_inode_parent_hidden() [all …]
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/macsec/ |
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 …]
|
/linux-6.1.9/drivers/net/ethernet/amazon/ena/ |
D | ena_eth_com.c | 60 if (unlikely(!io_sq->entries_in_tx_burst_left)) { in ena_com_write_bounce_buffer_to_dev() 84 if (unlikely((io_sq->tail & (io_sq->q_depth - 1)) == 0)) in ena_com_write_bounce_buffer_to_dev() 99 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)) in ena_com_write_header_to_bounce() 105 if (unlikely((header_offset + header_len) > in ena_com_write_header_to_bounce() 112 if (unlikely(!bounce_buffer)) { in ena_com_write_header_to_bounce() 131 if (unlikely(!bounce_buffer)) { in get_sq_desc_llq() 150 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)) in ena_com_close_bounce_buffer() 157 if (unlikely(rc)) { in ena_com_close_bounce_buffer() 191 if (unlikely(rc)) { in ena_com_sq_update_llq_tail() 203 if (unlikely(llq_info->desc_stride_ctrl == ENA_ADMIN_SINGLE_DESC_PER_ENTRY)) in ena_com_sq_update_llq_tail() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 70 if (unlikely(!xdpf)) in mlx5e_xmit_xdp_buff() 102 if (unlikely(!INDIRECT_CALL_2(sq->xmit_xdp_frame, mlx5e_xmit_xdp_frame_mpwqe, in mlx5e_xmit_xdp_buff() 122 if (unlikely(xdp_frame_has_frags(xdpf))) { in mlx5e_xmit_xdp_buff() 140 if (unlikely(!INDIRECT_CALL_2(sq->xmit_xdp_frame, mlx5e_xmit_xdp_frame_mpwqe, in mlx5e_xmit_xdp_buff() 147 if (unlikely(xdp_frame_has_frags(xdpf))) { in mlx5e_xmit_xdp_buff() 171 if (unlikely(!mlx5e_xmit_xdp_buff(rq->xdpsq, rq, page, xdp))) in mlx5e_xdp_handle() 178 if (unlikely(err)) in mlx5e_xdp_handle() 206 if (unlikely(contig_wqebbs < size)) { in mlx5e_xdpsq_get_next_pi() 280 if (unlikely(!sq->mpwqe.wqe)) { in mlx5e_xmit_xdp_frame_check_mpwqe() 281 if (unlikely(!mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, in mlx5e_xmit_xdp_frame_check_mpwqe() [all …]
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
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-6.1.9/arch/mips/kernel/ |
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 …]
|
/linux-6.1.9/arch/parisc/lib/ |
D | iomap.c | 314 if (unlikely(INDIRECT_ADDR(addr))) in ioread8() 321 if (unlikely(INDIRECT_ADDR(addr))) in ioread16() 328 if (unlikely(INDIRECT_ADDR(addr))) in ioread16be() 335 if (unlikely(INDIRECT_ADDR(addr))) in ioread32() 342 if (unlikely(INDIRECT_ADDR(addr))) in ioread32be() 350 if (unlikely(INDIRECT_ADDR(addr))) in ioread64() 357 if (unlikely(INDIRECT_ADDR(addr))) in ioread64be() 365 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite8() 374 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite16() 383 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite16be() [all …]
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | syscall.c | 87 unlikely(MSR_TM_TRANSACTIONAL(regs->msr))) in system_call_exception() 97 if (unlikely(MSR_TM_TRANSACTIONAL(regs->msr)) && in system_call_exception() 121 if (unlikely(read_thread_flags() & _TIF_SYSCALL_DOTRACE)) { in system_call_exception() 122 if (unlikely(trap_is_unsupported_scv(regs))) { in system_call_exception() 135 if (unlikely(r0 >= NR_syscalls)) in system_call_exception() 138 } else if (unlikely(r0 >= NR_syscalls)) { in system_call_exception() 139 if (unlikely(trap_is_unsupported_scv(regs))) { in system_call_exception() 155 if (unlikely(is_compat_task())) { in system_call_exception()
|