Home
last modified time | relevance | path

Searched refs:sg_head (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/vdpa/mlx5/core/
Dmr.c44 for_each_sg(mr->sg_head.sgl, sg, mr->nent, i) { in populate_mtts()
251 err = sg_alloc_table(&mr->sg_head, nsg, GFP_KERNEL); in map_direct_mr()
255 sg = mr->sg_head.sgl; in map_direct_mr()
276 mr->nent = dma_map_sg_attrs(dma, mr->sg_head.sgl, mr->nsg, DMA_BIDIRECTIONAL, 0); in map_direct_mr()
289 dma_unmap_sg_attrs(dma, mr->sg_head.sgl, mr->nsg, DMA_BIDIRECTIONAL, 0); in map_direct_mr()
291 sg_free_table(&mr->sg_head); in map_direct_mr()
300 dma_unmap_sg_attrs(dma, mr->sg_head.sgl, mr->nsg, DMA_BIDIRECTIONAL, 0); in unmap_direct_mr()
301 sg_free_table(&mr->sg_head); in unmap_direct_mr()
Dmlx5_vdpa.h19 struct sg_table sg_head; member
/linux-6.6.21/drivers/crypto/nx/
Dnx.c78 struct nx_sg *nx_build_sg_list(struct nx_sg *sg_head, in nx_build_sg_list() argument
108 for (sg = sg_head; sg_len < *len; sg++) { in nx_build_sg_list()
126 if ((sg - sg_head) == sgmax) { in nx_build_sg_list()
/linux-6.6.21/drivers/scsi/
Dadvansys.c317 ASC_SG_HEAD *sg_head; member
326 ASC_SG_HEAD *sg_head; member
2505 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
2507 if (q->sg_head) { in asc_prt_asc_scsi_q()
2508 sgp = q->sg_head; in asc_prt_asc_scsi_q()
7498 asc_scsi_q->sg_head = asc_sg_head; in asc_build_req()
7918 ASC_SG_HEAD *sg_head; in AscPutReadySgListQueue() local
7930 sg_head = scsiq->sg_head; in AscPutReadySgListQueue()
7933 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscPutReadySgListQueue()
7934 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscPutReadySgListQueue()
[all …]