Home
last modified time | relevance | path

Searched refs:n_sg (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/block/
Dskd_main.c173 u32 n_sg; member
515 skreq->n_sg = 0; in skd_mq_queue_rq()
530 skreq->n_sg * in skd_mq_queue_rq()
624 int n_sg; in skd_preop_sg_list() local
632 n_sg = blk_rq_map_sg(skdev->queue, req, sgl); in skd_preop_sg_list()
633 if (n_sg <= 0) in skd_preop_sg_list()
640 n_sg = dma_map_sg(&skdev->pdev->dev, sgl, n_sg, skreq->data_dir); in skd_preop_sg_list()
641 if (n_sg <= 0) in skd_preop_sg_list()
644 SKD_ASSERT(n_sg <= skdev->sgs_per_request); in skd_preop_sg_list()
646 skreq->n_sg = n_sg; in skd_preop_sg_list()
[all …]
Dsx8.c328 u8 n_sg; member
611 ab->n_sg = 1; in carm_fill_alloc_buf()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-rsa.c83 rctx->cmd.u.rsa.mod = &ctx->u.rsa.n_sg; in ccp_rsa_crypt()
148 sg_init_one(&ctx->u.rsa.n_sg, ctx->u.rsa.n_buf, ctx->u.rsa.n_len); in ccp_rsa_setkey()
Dccp-crypto.h242 struct scatterlist n_sg; member
/Linux-v5.4/drivers/dma/
Dstm32-dma.c1080 u32 n_sg = next_sg; in stm32_dma_desc_residue() local
1112 n_sg++; in stm32_dma_desc_residue()
1113 if (n_sg == chan->desc->num_sgs) in stm32_dma_desc_residue()
1114 n_sg = 0; in stm32_dma_desc_residue()
1125 if (!chan->desc->cyclic || n_sg != 0) in stm32_dma_desc_residue()
1126 for (i = n_sg; i < desc->num_sgs; i++) in stm32_dma_desc_residue()
/Linux-v5.4/drivers/xen/
Dxen-scsiback.c122 uint16_t n_sg; /* real length of SG list */ member
279 req->n_sg = 0; in scsiback_fast_flush_area()
408 pending_req->sgl, pending_req->n_sg, in scsiback_cmd_exec()
485 pending_req->n_sg = 0; in scsiback_gnttab_data_map()
530 pending_req->n_sg = nr_segments; in scsiback_gnttab_data_map()
/Linux-v5.4/drivers/mmc/host/
Dmmc_spi.c873 unsigned n_sg; in mmc_spi_data_do() local
894 for_each_sg(data->sg, sg, data->sg_len, n_sg) { in mmc_spi_data_do()
/Linux-v5.4/drivers/crypto/
Dtalitos.c1102 int n_sg = elen ? sg_count + 1 : sg_count; in sg_to_link_tbl_offset() local
1106 while (cryptlen && sg && n_sg--) { in sg_to_link_tbl_offset()