/linux/include/linux/sunrpc/xdrgen/ |
H A D | _builtins.h | 32 if (unlikely(!p)) in xdrgen_decode_bool() 43 if (unlikely(!p)) in xdrgen_encode_bool() 54 if (unlikely(!p)) in xdrgen_decode_int() 65 if (unlikely(!p)) in xdrgen_encode_int() 76 if (unlikely(!p)) in xdrgen_decode_unsigned_int() 87 if (unlikely(!p)) in xdrgen_encode_unsigned_int() 98 if (unlikely(!p)) in xdrgen_decode_long() 109 if (unlikely(!p)) in xdrgen_encode_long() 120 if (unlikely(!p)) in xdrgen_decode_unsigned_long() 131 if (unlikely(!p)) in xdrgen_encode_unsigned_long() [all …]
|
/linux/fs/btrfs/ |
H A D | tree-checker.c | 111 if (unlikely(!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), \ 217 if (unlikely(!IS_ALIGNED(key->offset, sectorsize))) { in check_extent_data_item() 230 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key))) in check_extent_data_item() 239 if (unlikely(item_size < BTRFS_FILE_EXTENT_INLINE_DATA_START)) { in check_extent_data_item() 246 if (unlikely(btrfs_file_extent_type(leaf, fi) >= in check_extent_data_item() 259 if (unlikely(btrfs_file_extent_compression(leaf, fi) >= in check_extent_data_item() 267 if (unlikely(btrfs_file_extent_encryption(leaf, fi))) { in check_extent_data_item() 275 if (unlikely(key->offset)) { in check_extent_data_item() 288 if (unlikely(item_size != BTRFS_FILE_EXTENT_INLINE_DATA_START + in check_extent_data_item() 300 if (unlikely(item_size != sizeof(*fi))) { in check_extent_data_item() [all …]
|
/linux/drivers/net/wireguard/ |
H A 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 …]
|
H A D | send.c | 68 unlikely(READ_ONCE(peer->is_dead))) in wg_packet_send_queued_handshake_initiation() 137 if (unlikely(send)) in keep_key_fresh() 145 if (unlikely(!PACKET_CB(skb)->mtu)) in calculate_skb_padding() 154 if (unlikely(last_unit > PACKET_CB(skb)->mtu)) in calculate_skb_padding() 182 if (unlikely(num_frags < 0 || num_frags > ARRAY_SIZE(sg))) in encrypt_packet() 193 if (unlikely(skb_cow_head(skb, DATA_PACKET_HEAD_ROOM) < 0)) in encrypt_packet() 197 if (unlikely(skb->ip_summed == CHECKSUM_PARTIAL && in encrypt_packet() 228 if (unlikely(!skb)) in wg_packet_send_keepalive() 317 if (unlikely(READ_ONCE(peer->is_dead))) in wg_packet_create_data() 322 if (unlikely(ret == -EPIPE)) in wg_packet_create_data() [all …]
|
/linux/net/caif/ |
H A D | cfpkt_skbuff.c | 77 if (unlikely(skb == NULL)) in cfpkt_create_pfx() 116 if (unlikely(is_erronous(pkt))) in cfpkt_extr_head() 119 if (unlikely(len > skb->len)) { in cfpkt_extr_head() 124 if (unlikely(len > skb_headlen(skb))) { in cfpkt_extr_head() 125 if (unlikely(skb_linearize(skb) != 0)) { in cfpkt_extr_head() 143 if (unlikely(is_erronous(pkt))) in cfpkt_extr_trail() 146 if (unlikely(skb_linearize(skb) != 0)) { in cfpkt_extr_trail() 150 if (unlikely(skb->data + len > skb_tail_pointer(skb))) { in cfpkt_extr_trail() 173 if (unlikely(is_erronous(pkt))) in cfpkt_add_body() 179 if (unlikely(skb_tailroom(skb) < len)) { in cfpkt_add_body() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | enh_desc.c | 22 if (unlikely(tdes0 & ETDES0_OWN)) in enh_desc_get_tx_status() 29 if (unlikely(tdes0 & ETDES0_ERROR_SUMMARY)) { in enh_desc_get_tx_status() 30 if (unlikely(tdes0 & ETDES0_JABBER_TIMEOUT)) in enh_desc_get_tx_status() 33 if (unlikely(tdes0 & ETDES0_FRAME_FLUSHED)) { in enh_desc_get_tx_status() 38 if (unlikely(tdes0 & ETDES0_LOSS_CARRIER)) { in enh_desc_get_tx_status() 41 if (unlikely(tdes0 & ETDES0_NO_CARRIER)) { in enh_desc_get_tx_status() 44 if (unlikely((tdes0 & ETDES0_LATE_COLLISION) || in enh_desc_get_tx_status() 49 if (unlikely(tdes0 & ETDES0_EXCESSIVE_DEFERRAL)) in enh_desc_get_tx_status() 52 if (unlikely(tdes0 & ETDES0_UNDERFLOW_ERROR)) { in enh_desc_get_tx_status() 57 if (unlikely(tdes0 & ETDES0_IP_HEADER_ERROR)) in enh_desc_get_tx_status() [all …]
|
H A D | norm_desc.c | 23 if (unlikely(tdes0 & TDES0_OWN)) in ndesc_get_tx_status() 30 if (unlikely(tdes0 & TDES0_ERROR_SUMMARY)) { in ndesc_get_tx_status() 31 if (unlikely(tdes0 & TDES0_UNDERFLOW_ERROR)) { in ndesc_get_tx_status() 34 if (unlikely(tdes0 & TDES0_NO_CARRIER)) { in ndesc_get_tx_status() 37 if (unlikely(tdes0 & TDES0_LOSS_CARRIER)) { in ndesc_get_tx_status() 40 if (unlikely((tdes0 & TDES0_EXCESSIVE_DEFERRAL) || in ndesc_get_tx_status() 54 if (unlikely(tdes0 & TDES0_DEFERRED)) in ndesc_get_tx_status() 75 if (unlikely(rdes0 & RDES0_OWN)) in ndesc_get_rx_status() 78 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) { in ndesc_get_rx_status() 83 if (unlikely(rdes0 & RDES0_ERROR_SUMMARY)) { in ndesc_get_rx_status() [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_recv.c | 19 if (unlikely(!qp->valid)) in check_type_state() 26 if (unlikely(pkt_type != IB_OPCODE_RC)) in check_type_state() 30 if (unlikely(pkt_type != IB_OPCODE_UC)) in check_type_state() 35 if (unlikely(pkt_type != IB_OPCODE_UD)) in check_type_state() 44 if (unlikely(qp_state(qp) < IB_QPS_RTR)) { in check_type_state() 49 if (unlikely(qp_state(qp) < IB_QPS_RTS)) { in check_type_state() 91 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys() 108 if (unlikely(pkt->port_num != qp->attr.port_num)) in check_addr() 144 if (unlikely(bth_tver(pkt) != BTH_TVER)) in hdr_check() 147 if (unlikely(qpn == 0)) in hdr_check() [all …]
|
H A D | rxe_mw.c | 54 if (unlikely(mw->state != RXE_MW_STATE_VALID)) { in rxe_check_bind_mw() 61 if (unlikely((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((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/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 …]
|
/linux/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); \
|
/linux/fs/nfs/ |
H A D | nfs3xdr.c | 143 if (unlikely(!p)) in decode_uint32() 154 if (unlikely(!p)) in decode_uint64() 197 if (unlikely(!p)) in decode_inline_filename3() 203 if (unlikely(!p)) in decode_inline_filename3() 232 if (unlikely(!p)) in decode_nfspath3() 235 if (unlikely(count >= xdr->buf->page_len || count > NFS3_MAXPATHLEN)) in decode_nfspath3() 238 if (unlikely(count > recvd)) in decode_nfspath3() 283 if (unlikely(!p)) in decode_cookieverf3() 307 if (unlikely(!p)) in decode_writeverf3() 338 if (unlikely(!p)) in decode_nfsstat3() [all …]
|
/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_eth_com.c | 59 if (unlikely(!io_sq->entries_in_tx_burst_left)) { in ena_com_write_bounce_buffer_to_dev() 83 if (unlikely((io_sq->tail & (io_sq->q_depth - 1)) == 0)) in ena_com_write_bounce_buffer_to_dev() 98 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)) in ena_com_write_header_to_bounce() 104 if (unlikely((header_offset + header_len) > llq_info->desc_list_entry_size)) { in ena_com_write_header_to_bounce() 110 if (unlikely(!bounce_buffer)) { in ena_com_write_header_to_bounce() 128 if (unlikely(!bounce_buffer)) { in get_sq_desc_llq() 146 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)) in ena_com_close_bounce_buffer() 153 if (unlikely(rc)) { in ena_com_close_bounce_buffer() 187 if (unlikely(rc)) { in ena_com_sq_update_llq_tail() 199 if (unlikely(llq_info->desc_stride_ctrl == ENA_ADMIN_SINGLE_DESC_PER_ENTRY)) in ena_com_sq_update_llq_tail() [all …]
|
/linux/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 …]
|
/linux/drivers/net/ovpn/ |
H A D | io.c | 114 if (unlikely(ret == -EINPROGRESS)) in ovpn_decrypt_post() 126 if (unlikely(ret < 0)) in ovpn_decrypt_post() 132 if (unlikely(ret < 0)) { in ovpn_decrypt_post() 157 if (unlikely(!proto)) { in ovpn_decrypt_post() 159 if (unlikely(!pskb_may_pull(skb, 1))) { in ovpn_decrypt_post() 182 if (unlikely(!ovpn_peer_check_by_src(peer->ovpn, skb, peer))) { in ovpn_decrypt_post() 198 if (unlikely(skb)) in ovpn_decrypt_post() 219 if (unlikely(!ks)) { in ovpn_recv() 244 if (unlikely(ret == -EINPROGRESS)) in ovpn_encrypt_post() 255 if (unlikely(ret == -ERANGE)) { in ovpn_encrypt_post() [all …]
|
/linux/include/linux/ |
H A D | audit.h | 349 if (unlikely(task->audit_context)) in audit_free() 359 if (unlikely(audit_context() && audit_enabled)) in audit_uring_entry() 364 if (unlikely(audit_context())) in audit_uring_exit() 371 if (unlikely(audit_context())) in audit_syscall_entry() 376 if (unlikely(audit_context())) { in audit_syscall_exit() 385 if (unlikely(!audit_dummy_context())) in audit_reusename() 391 if (unlikely(!audit_dummy_context())) in audit_getname() 397 if (unlikely(!audit_dummy_context())) in audit_inode() 402 if (unlikely(!audit_dummy_context())) in audit_file() 408 if (unlikely(!audit_dummy_context())) in audit_inode_parent_hidden() [all …]
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H 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/parisc/lib/ |
H A 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/drivers/net/ethernet/hisilicon/hibmcge/ |
H A D | hbg_txrx.c | 41 if (unlikely(dma_mapping_error(&priv->pdev->dev, buffer->skb_dma))) { in hbg_dma_map() 57 if (unlikely(!buffer->skb_dma)) in hbg_dma_unmap() 97 if (unlikely(!skb->len || in hbg_net_start_xmit() 112 if (unlikely(hbg_dma_map(buffer))) { in hbg_net_start_xmit() 131 if (unlikely(!buffer->skb)) in hbg_buffer_free_skb() 144 if (unlikely(!buffer->skb)) in hbg_buffer_alloc_skb() 176 if (unlikely(hbg_queue_is_empty(ntc, ntu, ring))) in hbg_napi_tx_recycle() 273 if (unlikely(!FIELD_GET(HBG_RX_DESC_W4_IP_TCP_UDP_M, desc->word4))) { in hbg_update_rx_ip_protocol_stats() 278 if (unlikely(FIELD_GET(HBG_RX_DESC_W4_IP_VERSION_ERR_B, desc->word4))) { in hbg_update_rx_ip_protocol_stats() 317 if (unlikely(!FIELD_GET(HBG_RX_DESC_W4_IDX_MATCH_B, desc->word4))) { in hbg_update_rx_protocol_stats() [all …]
|
/linux/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() 203 if (unlikely(is_write)) { in do_page_fault() 204 if (unlikely(!(vma->vm_flags & VM_WRITE))) in do_page_fault() 210 if (unlikely(error_code & 0x08000000)) in do_page_fault() [all …]
|
/linux/drivers/infiniband/sw/siw/ |
H A D | siw_qp_rx.c | 40 if (unlikely(!p)) { in siw_rx_umem() 60 if (unlikely(rv)) { in siw_rx_umem() 111 if (unlikely(rv)) { in siw_rx_kva() 190 if (unlikely(srx->ddp_stag != sink_stag)) { in siw_rresp_check_ntoh() 196 if (unlikely(srx->ddp_to != sink_to)) { in siw_rresp_check_ntoh() 203 if (unlikely(!frx->more_ddp_segs && in siw_rresp_check_ntoh() 243 if (unlikely(srx->ddp_stag != sink_stag)) { in siw_write_check_ntoh() 250 if (unlikely(srx->ddp_to != sink_to)) { in siw_write_check_ntoh() 288 if (unlikely(ddp_qn != RDMAP_UNTAGGED_QN_SEND)) { in siw_send_check_ntoh() 294 if (unlikely(ddp_msn != srx->ddp_msn[RDMAP_UNTAGGED_QN_SEND])) { in siw_send_check_ntoh() [all …]
|
/linux/drivers/md/ |
H A D | dm-integrity.c | 479 if (unlikely(*sec_ptr >= ic->journal_sections)) in wraparound_section() 517 if (unlikely(r < 0)) { in sb_mac() 525 if (unlikely(r < 0)) { in sb_mac() 559 if (unlikely(r)) in sync_rw_sb() 565 if (unlikely(r)) in sync_rw_sb() 571 if (unlikely(r)) in sync_rw_sb() 590 if (unlikely(((sector | n_sectors) & ((1 << ic->sb->log2_sectors_per_block) - 1)) != 0)) { in block_bitmap_op() 600 if (unlikely(!n_sectors)) in block_bitmap_op() 681 if (unlikely(page < end_page)) { in block_bitmap_op() 718 if (unlikely(section >= ic->journal_sections) || in access_journal_check() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | pool.c | 28 if (unlikely(!xsk->pools)) in mlx5e_xsk_get_pools() 51 if (unlikely(err)) in mlx5e_xsk_add_pool() 86 if (unlikely(mlx5e_xsk_get_pool(&priv->channels.params, &priv->xsk, ix))) in mlx5e_xsk_enable_locked() 89 if (unlikely(!mlx5e_xsk_is_pool_sane(pool))) in mlx5e_xsk_enable_locked() 93 if (unlikely(err)) in mlx5e_xsk_enable_locked() 97 if (unlikely(err)) in mlx5e_xsk_enable_locked() 126 if (unlikely(err)) in mlx5e_xsk_enable_locked() 169 if (unlikely(!pool)) in mlx5e_xsk_disable_locked() 225 if (unlikely(qid >= params->num_channels)) in mlx5e_xsk_setup_pool()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_fp.c | 44 if (unlikely(!data)) in qede_alloc_rx_buffer() 52 if (unlikely(dma_mapping_error(rxq->dev, mapping))) { in qede_alloc_rx_buffer() 87 if (unlikely(!skb)) { in qede_free_tx_pkt() 251 if (unlikely(dma_mapping_error(txq->dev, mapping))) in map_frag_to_bd() 311 if (unlikely(qed_chain_get_elem_used(&txq->tx_pbl) >= in qede_xdp_xmit() 350 if (unlikely(flags & ~XDP_XMIT_FLAGS_MASK)) in qede_xdp_transmit() 353 if (unlikely(!netif_running(dev))) in qede_xdp_transmit() 366 if (unlikely(dma_mapping_error(dmadev, mapping))) in qede_xdp_transmit() 369 if (unlikely(qede_xdp_xmit(xdp_tx, mapping, 0, xdpf->len, in qede_xdp_transmit() 474 if (unlikely(netif_tx_queue_stopped(netdev_txq))) { in qede_tx_int() [all …]
|
/linux/fs/gfs2/ |
H A D | util.h | 32 if (unlikely(!(assertion))) { \ 46 if (unlikely(!_bool)) \ 55 if (unlikely(!_bool)) \ 67 if (unlikely(!_bool)) \ 103 if (unlikely(magic != GFS2_MAGIC)) { in gfs2_meta_check() 125 if (unlikely(magic != GFS2_MAGIC)) { in gfs2_metatype_check_i() 130 if (unlikely(t != type)) { in gfs2_metatype_check_i() 211 return unlikely(test_bit(SDF_WITHDRAWN, &sdp->sd_flags) || in gfs2_withdrawing_or_withdrawn() 221 return unlikely(test_bit(SDF_WITHDRAWING, &sdp->sd_flags) && in gfs2_withdrawing() 227 return unlikely(test_bit(SDF_WITHDRAW_IN_PROG, &sdp->sd_flags)); in gfs2_withdraw_in_prog()
|