/drivers/crypto/ccp/ |
D | ccp-crypto-aes-cmac.c | 50 sg_free_table(&rctx->data_sg); in ccp_aes_cmac_complete() 110 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); in ccp_do_cmac_update() 117 sg = ccp_crypto_sg_table_add(&rctx->data_sg, &rctx->buf_sg); in ccp_do_cmac_update() 125 sg = ccp_crypto_sg_table_add(&rctx->data_sg, req->src); in ccp_do_cmac_update() 140 sg = ccp_crypto_sg_table_add(&rctx->data_sg, &rctx->pad_sg); in ccp_do_cmac_update() 148 sg = rctx->data_sg.sgl; in ccp_do_cmac_update() 178 sg_free_table(&rctx->data_sg); in ccp_do_cmac_update()
|
D | ccp-crypto-sha.c | 51 sg_free_table(&rctx->data_sg); in ccp_sha_complete() 103 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); in ccp_do_sha_update() 108 sg = ccp_crypto_sg_table_add(&rctx->data_sg, &rctx->buf_sg); in ccp_do_sha_update() 113 sg = ccp_crypto_sg_table_add(&rctx->data_sg, req->src); in ccp_do_sha_update() 120 sg = rctx->data_sg.sgl; in ccp_do_sha_update() 175 sg_free_table(&rctx->data_sg); in ccp_do_sha_update()
|
D | ccp-crypto.h | 135 struct sg_table data_sg; member 209 struct sg_table data_sg; member
|
/drivers/block/ |
D | virtio_blk.c | 89 struct scatterlist *data_sg, bool have_data) in virtblk_add_req_scsi() argument 101 sgs[num_out++] = data_sg; in virtblk_add_req_scsi() 103 sgs[num_out + num_in++] = data_sg; in virtblk_add_req_scsi() 144 struct virtblk_req *vbr, struct scatterlist *data_sg, in virtblk_add_req_scsi() argument 156 struct scatterlist *data_sg, bool have_data) in virtblk_add_req() argument 166 sgs[num_out++] = data_sg; in virtblk_add_req() 168 sgs[num_out + num_in++] = data_sg; in virtblk_add_req()
|
/drivers/nvme/target/ |
D | fcloop.c | 561 fcloop_fcp_copy_data(u8 op, struct scatterlist *data_sg, in fcloop_fcp_copy_data() argument 582 data_p = sg_virt(data_sg); in fcloop_fcp_copy_data() 583 data_len = data_sg->length; in fcloop_fcp_copy_data() 606 data_sg = sg_next(data_sg); in fcloop_fcp_copy_data() 607 data_p = sg_virt(data_sg); in fcloop_fcp_copy_data() 608 data_len = data_sg->length; in fcloop_fcp_copy_data()
|
D | fc.c | 66 struct scatterlist *data_sg; member 1727 fod->data_sg = sg; in nvmet_fc_alloc_tgt_pgs() 1733 fod->next_sg = fod->data_sg; in nvmet_fc_alloc_tgt_pgs() 1744 if (!fod->data_sg || !fod->data_sg_cnt) in nvmet_fc_free_tgt_pgs() 1747 fc_dma_unmap_sg(fod->tgtport->dev, fod->data_sg, fod->data_sg_cnt, in nvmet_fc_free_tgt_pgs() 1750 sgl_free(fod->data_sg); in nvmet_fc_free_tgt_pgs() 1751 fod->data_sg = NULL; in nvmet_fc_free_tgt_pgs() 2193 fod->data_sg = NULL; in nvmet_fc_handle_fcp_rqst() 2218 fod->req.sg = fod->data_sg; in nvmet_fc_handle_fcp_rqst()
|
/drivers/infiniband/hw/mlx5/ |
D | mr.c | 2028 mlx5_ib_map_pa_mr_sg_pi(struct ib_mr *ibmr, struct scatterlist *data_sg, in mlx5_ib_map_pa_mr_sg_pi() argument 2043 mr->data_length = sg_dma_len(data_sg) - sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2044 mr->data_iova = sg_dma_address(data_sg) + sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2151 mlx5_ib_map_mtt_mr_sg_pi(struct ib_mr *ibmr, struct scatterlist *data_sg, in mlx5_ib_map_mtt_mr_sg_pi() argument 2169 n = ib_sg_to_pages(&pi_mr->ibmr, data_sg, data_sg_nents, data_sg_offset, in mlx5_ib_map_mtt_mr_sg_pi() 2216 mlx5_ib_map_klm_mr_sg_pi(struct ib_mr *ibmr, struct scatterlist *data_sg, in mlx5_ib_map_klm_mr_sg_pi() argument 2233 n = mlx5_ib_sg_to_klms(pi_mr, data_sg, data_sg_nents, data_sg_offset, in mlx5_ib_map_klm_mr_sg_pi() 2249 int mlx5_ib_map_mr_sg_pi(struct ib_mr *ibmr, struct scatterlist *data_sg, in mlx5_ib_map_mr_sg_pi() argument 2271 n = mlx5_ib_map_pa_mr_sg_pi(ibmr, data_sg, data_sg_nents, in mlx5_ib_map_mr_sg_pi() 2285 n = mlx5_ib_map_mtt_mr_sg_pi(ibmr, data_sg, data_sg_nents, in mlx5_ib_map_mr_sg_pi() [all …]
|
D | mlx5_ib.h | 1176 int mlx5_ib_map_mr_sg_pi(struct ib_mr *ibmr, struct scatterlist *data_sg,
|
/drivers/scsi/lpfc/ |
D | lpfc_nvme.c | 1313 struct scatterlist *data_sg; in lpfc_nvme_prep_io_dma() local 1357 data_sg = nCmd->first_sgl; in lpfc_nvme_prep_io_dma() 1362 if (data_sg == NULL) { in lpfc_nvme_prep_io_dma() 1409 physaddr = data_sg->dma_address; in lpfc_nvme_prep_io_dma() 1410 dma_len = data_sg->length; in lpfc_nvme_prep_io_dma() 1421 data_sg = sg_next(data_sg); in lpfc_nvme_prep_io_dma()
|
/drivers/target/ |
D | target_core_user.c | 663 struct tcmu_cmd *tcmu_cmd, struct scatterlist *data_sg, in scatter_data_area() argument 674 for_each_sg(data_sg, sg, data_nents, i) { in scatter_data_area() 746 struct scatterlist *sg, *data_sg; in gather_data_area() local 752 data_sg = se_cmd->t_data_sg; in gather_data_area() 763 data_sg = se_cmd->t_bidi_data_sg; in gather_data_area() 769 for_each_sg(data_sg, sg, data_nents, i) { in gather_data_area()
|
/drivers/infiniband/core/ |
D | verbs.c | 2482 int ib_map_mr_sg_pi(struct ib_mr *mr, struct scatterlist *data_sg, in ib_map_mr_sg_pi() argument 2493 return mr->device->ops.map_mr_sg_pi(mr, data_sg, data_sg_nents, in ib_map_mr_sg_pi()
|