/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
D | dma.c | 29 void *data, u32 seg_len, u32 truesize, struct page *p) in mt7601u_rx_skb_from_seg() argument 34 skb = alloc_skb(p ? 128 : seg_len, GFP_ATOMIC); in mt7601u_rx_skb_from_seg() 39 if (!true_len || true_len > seg_len) in mt7601u_rx_skb_from_seg() 77 u32 seg_len, struct page *p) in mt7601u_rx_process_seg() argument 81 u32 fce_info, truesize = seg_len; in mt7601u_rx_process_seg() 86 fce_info = get_unaligned_le32(data + seg_len - MT_FCE_INFO_LEN); in mt7601u_rx_process_seg() 87 seg_len -= MT_FCE_INFO_LEN; in mt7601u_rx_process_seg() 90 seg_len -= MT_DMA_HDR_LEN; in mt7601u_rx_process_seg() 94 seg_len -= sizeof(struct mt7601u_rxwi); in mt7601u_rx_process_seg() 103 skb = mt7601u_rx_skb_from_seg(dev, rxwi, data, seg_len, truesize, p); in mt7601u_rx_process_seg() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mbox.c | 378 u8 seq_id, u8 seg_len) in check_mbox_seq_id_and_seg_len() argument 380 if (seq_id > SEQ_ID_MAX_VAL || seg_len > MBOX_SEG_LEN) in check_mbox_seq_id_and_seg_len() 438 u8 seq_id, seg_len; in recv_mbox_handler() local 443 seg_len = HINIC_MBOX_HEADER_GET(mbox_header, SEG_LEN); in recv_mbox_handler() 446 if (!check_mbox_seq_id_and_seg_len(recv_mbox, seq_id, seg_len)) { in recv_mbox_handler() 449 src_func_idx, recv_mbox->seq_id, seq_id, seg_len); in recv_mbox_handler() 683 u16 seg_len) in mbox_copy_send_data() argument 691 if (seg_len % chk_sz) { in mbox_copy_send_data() 692 memcpy(mbox_max_buf, seg, seg_len); in mbox_copy_send_data() 696 data_len = seg_len; in mbox_copy_send_data() [all …]
|
D | hinic_hw_mgmt.c | 496 int seq_id, seg_len; in recv_mgmt_msg_handler() local 500 seg_len = HINIC_MSG_HEADER_GET(*header, SEG_LEN); in recv_mgmt_msg_handler() 508 memcpy(recv_msg->msg + seq_id * SEGMENT_LEN, msg_body, seg_len); in recv_mgmt_msg_handler()
|
/kernel/linux/linux-5.10/lib/ |
D | scatterlist.c | 434 unsigned int chunks, cur_page, seg_len, i, prv_len = 0; in __sg_alloc_table_from_pages() local 473 seg_len = 0; in __sg_alloc_table_from_pages() 475 seg_len += PAGE_SIZE; in __sg_alloc_table_from_pages() 476 if (seg_len >= max_segment || in __sg_alloc_table_from_pages() 479 seg_len = 0; in __sg_alloc_table_from_pages() 489 seg_len = 0; in __sg_alloc_table_from_pages() 491 seg_len += PAGE_SIZE; in __sg_alloc_table_from_pages() 492 if (seg_len >= max_segment || in __sg_alloc_table_from_pages()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
D | gve_desc.h | 30 __be16 seg_len; /* Length of this descriptor's segment */ member 39 __be16 seg_len; member
|
D | gve_tx.c | 378 pkt_desc->pkt.seg_len = cpu_to_be16(hlen); in gve_tx_fill_pkt_desc() 393 seg_desc->seg.seg_len = cpu_to_be16(len); in gve_tx_fill_seg_desc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 710 int hdr_len, tcp_data, seg_len, pkt_len, offset; in otx2_sq_append_tso() local 732 seg_len = min_t(int, skb_shinfo(skb)->gso_size, tcp_data); in otx2_sq_append_tso() 733 tcp_data -= seg_len; in otx2_sq_append_tso() 743 tso_build_hdr(skb, hdr, &tso, seg_len, tcp_data == 0); in otx2_sq_append_tso() 751 while (seg_len > 0) { in otx2_sq_append_tso() 754 size = min_t(int, tso.size, seg_len); in otx2_sq_append_tso() 764 seg_len -= size; in otx2_sq_append_tso()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | svc_rdma_rw.c | 636 unsigned int sge_no, seg_len; in svc_rdma_build_read_segment() local 648 seg_len = min_t(unsigned int, len, in svc_rdma_build_read_segment() 657 seg_len, info->ri_pageoff); in svc_rdma_build_read_segment() 660 info->ri_pageoff += seg_len; in svc_rdma_build_read_segment() 665 len -= seg_len; in svc_rdma_build_read_segment()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 334 unsigned int seg_len; in ionic_rx_fill() local 364 seg_len = min_t(unsigned int, PAGE_SIZE, len); in ionic_rx_fill() 365 desc->len = cpu_to_le16(seg_len); in ionic_rx_fill() 366 remain_len -= seg_len; in ionic_rx_fill() 381 seg_len = min_t(unsigned int, PAGE_SIZE, remain_len); in ionic_rx_fill() 382 sg_elem->len = cpu_to_le16(seg_len); in ionic_rx_fill() 383 remain_len -= seg_len; in ionic_rx_fill()
|
/kernel/linux/linux-5.10/drivers/bus/mhi/core/ |
D | boot.c | 311 size_t seg_size = mhi_cntrl->seg_len; in mhi_alloc_bhie_table() 425 !mhi_cntrl->seg_len))) { in mhi_fw_load_handler()
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | eth_common.h | 267 __le16 seg_len; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | tid_rdma.h | 113 u32 seg_len; member
|
D | tid_rdma.c | 1086 u32 length = flow->req->seg_len; in kern_find_pages() 1110 flow->length = flow->req->seg_len - length; in kern_find_pages() 1742 req->cur_seg * req->seg_len + flow->sent); in hfi1_build_tid_rdma_read_packet() 1968 req->seg_len = qpriv->tid_rdma.local.max_len; in tid_rdma_rcv_read_request() 3098 rvt_skip_sge(&qpriv->tid_ss, (req->cur_seg * req->seg_len) + in hfi1_tid_rdma_restart_req() 3318 priv->tid_req.seg_len = in setup_tid_rdma_wqe() 3321 DIV_ROUND_UP(wqe->length, priv->tid_req.seg_len); in setup_tid_rdma_wqe() 3530 npkts = rvt_div_round_up_mtu(qp, req->seg_len); in hfi1_tid_write_alloc_resources() 3752 req->seg_len = qpriv->tid_rdma.local.max_len; in hfi1_rc_rcv_tid_rdma_write_req() 4107 flow->length = min_t(u32, req->seg_len, in hfi1_rc_rcv_tid_rdma_write_resp() [all …]
|
D | rc.c | 853 len = min_t(u32, req->seg_len, in hfi1_make_rc_req() 854 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() 1111 len = min_t(u32, req->seg_len, in hfi1_make_rc_req() 1112 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() 1157 len = min_t(u32, req->seg_len, in hfi1_make_rc_req() 1158 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mhi.h | 385 size_t seg_len; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | mhi.c | 244 mhi_ctrl->seg_len = SZ_512K; in ath11k_mhi_register()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 3569 u16 segment_id, u32 *seg_len, in bnxt_hwrm_dbg_coredump_retrieve() argument 3593 *seg_len = info.dest_buf_size; in bnxt_hwrm_dbg_coredump_retrieve() 3601 struct coredump_segment_record *seg_rec, u32 seg_len, in bnxt_fill_coredump_seg_hdr() argument 3619 seg_hdr->length = cpu_to_le32(seg_len); in bnxt_fill_coredump_seg_hdr() 3719 u32 duration = 0, seg_len = 0; in bnxt_get_coredump() local 3740 &seg_len, buf, buf_len, in bnxt_get_coredump() 3752 bnxt_fill_coredump_seg_hdr(bp, &seg_hdr, seg_record, seg_len, in bnxt_get_coredump() 3758 offset += seg_hdr_len + seg_len; in bnxt_get_coredump() 3761 *dump_len += seg_len; in bnxt_get_coredump()
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
D | dasd_eckd.c | 4043 unsigned int idaw_len, seg_len, part_len, len_to_track_end; in dasd_eckd_build_cp_cmd_track() local 4110 seg_len = bv.bv_len; in dasd_eckd_build_cp_cmd_track() 4111 while (seg_len) { in dasd_eckd_build_cp_cmd_track() 4148 part_len = min(seg_len, len_to_track_end); in dasd_eckd_build_cp_cmd_track() 4149 seg_len -= part_len; in dasd_eckd_build_cp_cmd_track() 4376 unsigned int seg_len, part_len, len_to_track_end; in dasd_eckd_build_cp_tpm_track() local 4453 seg_len = bv.bv_len; in dasd_eckd_build_cp_tpm_track() 4454 while (seg_len) { in dasd_eckd_build_cp_tpm_track() 4465 part_len = min(seg_len, len_to_track_end); in dasd_eckd_build_cp_tpm_track() 4466 seg_len -= part_len; in dasd_eckd_build_cp_tpm_track() [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | skbuff.c | 740 int i, len, seg_len; in skb_dump() local 782 seg_len = min_t(int, skb_headlen(skb), len); in skb_dump() 783 if (seg_len) in skb_dump() 785 16, 1, skb->data, seg_len, false); in skb_dump() 786 len -= seg_len; in skb_dump() 801 seg_len = min_t(int, p_len, len); in skb_dump() 805 16, 1, vaddr + p_off, seg_len, false); in skb_dump() 807 len -= seg_len; in skb_dump() 5382 unsigned int seg_len, in skb_gso_size_check() argument 5388 return seg_len <= max_len; in skb_gso_size_check() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 1490 int seg_len, total_len, data_left; in nicvf_sq_append_tso() local 1515 seg_len = hdr_len; in nicvf_sq_append_tso() 1527 seg_len += size; in nicvf_sq_append_tso() 1533 seg_subdescs - 1, skb, seg_len); in nicvf_sq_append_tso()
|
/kernel/linux/linux-5.10/drivers/net/hippi/ |
D | rrunner.h | 606 u32 seg_len; member
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_output.c | 273 int seg_len = skb->len; in ip6_xmit() local 296 seg_len += opt->opt_nflen + opt->opt_flen; in ip6_xmit() 321 hdr->payload_len = htons(seg_len); in ip6_xmit()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs4proc.c | 2600 u32 seg_len = 2 * (1 + 2 + 1); in nfsd4_read_plus_rsize() local 2602 return (op_encode_hdr_size + 2 + seg_len + XDR_QUADLEN(rlen)) * sizeof(__be32); in nfsd4_read_plus_rsize()
|