Home
last modified time | relevance | path

Searched refs:sges (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_tx.c134 struct hinic_sge *sges) in tx_map_skb() argument
171 sges[j + 1].len, DMA_TO_DEVICE); in tx_map_skb()
173 dma_unmap_single(&pdev->dev, hinic_sge_to_dma(&sges[0]), sges[0].len, in tx_map_skb()
185 struct hinic_sge *sges) in tx_unmap_skb() argument
196 dma_unmap_single(&pdev->dev, hinic_sge_to_dma(&sges[0]), sges[0].len, in tx_unmap_skb()
635 tx_unmap_skb(nic_dev, skb, txq->sges); in hinic_xmit_frame()
655 struct hinic_sge *sges) in tx_free_skb() argument
657 tx_unmap_skb(nic_dev, skb, sges); in tx_free_skb()
876 if (!txq->sges) in hinic_init_txq()
916 devm_kfree(&netdev->dev, txq->sges); in hinic_init_txq()
[all …]
A Dhinic_hw_qp.c597 struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, in hinic_sq_prepare_wqe() argument
607 sq_wqe->buf_descs[i].sge = sges[i]; in hinic_sq_prepare_wqe()
780 void hinic_sq_get_sges(struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, in hinic_sq_get_sges() argument
786 sges[i] = sq_wqe->buf_descs[i].sge; in hinic_sq_get_sges()
787 hinic_be32_to_cpu(&sges[i], sizeof(sges[i])); in hinic_sq_get_sges()
A Dhinic_hw_qp.h179 struct hinic_sq_wqe *wqe, struct hinic_sge *sges,
204 void hinic_sq_get_sges(struct hinic_sq_wqe *wqe, struct hinic_sge *sges,
A Dhinic_tx.h36 struct hinic_sge *sges; member
/linux/include/rdma/
A Drw.h30 struct ib_sge *sges; member
/linux/drivers/infiniband/core/
A Drw.c205 ctx->map.sges = sge = kcalloc(sg_cnt, sizeof(*sge), GFP_KERNEL); in rdma_rw_init_map_wrs()
206 if (!ctx->map.sges) in rdma_rw_init_map_wrs()
245 kfree(ctx->map.sges); in rdma_rw_init_map_wrs()
614 kfree(ctx->map.sges); in rdma_rw_ctx_destroy()
/linux/net/sunrpc/xprtrdma/
A Dsvc_rdma_rw.c54 svc_rdma_get_rw_ctxt(struct svcxprt_rdma *rdma, unsigned int sges) in svc_rdma_get_rw_ctxt() argument
74 if (sg_alloc_table_chained(&ctxt->rw_sg_table, sges, in svc_rdma_get_rw_ctxt()
83 trace_svcrdma_no_rwctx_err(rdma, sges); in svc_rdma_get_rw_ctxt()
/linux/drivers/scsi/bfa/
A Dbfi_ms.h677 struct bfi_sge_s sges[BFI_SGE_INLINE_MAX]; member
A Dbfa_svc.h331 struct bfa_sge_s sges[BFI_SGE_INLINE_MAX]; member
A Dbfi.h143 struct bfi_sge_s sges[BFI_SGPG_SGES_MAX]; member
A Dbfa_fcpim.c2476 sge = &m->sges[0]; in bfa_ioim_send_ioreq()
2494 sgpge = sgpg->sgpg->sges; in bfa_ioim_send_ioreq()

Completed in 37 milliseconds