Home
last modified time | relevance | path

Searched refs:sgtable (Results 1 – 7 of 7) sorted by relevance

/linux/lib/
H A Dscatterlist.c1115 struct sg_table *sgtable, in extract_user_to_sg() argument
1119 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in extract_user_to_sg()
1126 pages = (void *)sgtable->sgl + in extract_user_to_sg()
1148 sgtable->nents++; in extract_user_to_sg()
1158 while (sgtable->nents > sgtable->orig_nents) in extract_user_to_sg()
1159 unpin_user_page(sg_page(&sgtable->sgl[--sgtable->nents])); in extract_user_to_sg()
1169 struct sg_table *sgtable, in extract_bvec_to_sg() argument
1174 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in extract_bvec_to_sg()
1192 sgtable->nents++; in extract_bvec_to_sg()
1215 struct sg_table *sgtable, in extract_kvec_to_sg() argument
[all …]
/linux/drivers/mmc/core/
H A Dsdio_ops.c121 struct sg_table sgtable; in mmc_io_rw_extended() local
154 if (sg_alloc_table(&sgtable, nents, GFP_KERNEL)) in mmc_io_rw_extended()
157 data.sg = sgtable.sgl; in mmc_io_rw_extended()
197 sg_free_table(&sgtable); in mmc_io_rw_extended()
/linux/fs/smb/client/
H A Dcifsproto.h576 static inline void cifs_sg_set_buf(struct sg_table *sgtable, in cifs_sg_set_buf() argument
588 sg_set_page(&sgtable->sgl[sgtable->nents++], in cifs_sg_set_buf()
596 sg_set_page(&sgtable->sgl[sgtable->nents++], in cifs_sg_set_buf()
H A Dsmb2ops.c4364 struct sg_table sgtable = {}; in smb2_get_aead_req() local
4369 p = smb2_aead_req_alloc(tfm, rqst, num_rqst, sig, iv, req, &sgtable, &num_sgs); in smb2_get_aead_req()
4373 sg_init_marker(sgtable.sgl, num_sgs); in smb2_get_aead_req()
4386 cifs_sg_set_buf(&sgtable, in smb2_get_aead_req()
4393 sgtable.orig_nents = sgtable.nents; in smb2_get_aead_req()
4395 rc = extract_iter_to_sg(iter, count, &sgtable, in smb2_get_aead_req()
4396 num_sgs - sgtable.nents, 0); in smb2_get_aead_req()
4398 sgtable.orig_nents = sgtable.nents; in smb2_get_aead_req()
4401 cifs_sg_set_buf(&sgtable, sig, SMB2_SIGNATURE_SIZE); in smb2_get_aead_req()
4402 sg_mark_end(&sgtable.sgl[sgtable.nents - 1]); in smb2_get_aead_req()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbcmsdh.c432 mmc_dat.sg = sdiodev->sgtable.sgl; in brcmf_sdiod_sglist_rw()
447 sgl = sdiodev->sgtable.sgl; in brcmf_sdiod_sglist_rw()
477 sgl = sdiodev->sgtable.sgl; in brcmf_sdiod_sglist_rw()
517 sg_init_table(sdiodev->sgtable.sgl, sdiodev->sgtable.orig_nents); in brcmf_sdiod_sglist_rw()
783 err = sg_alloc_table(&sdiodev->sgtable, nents, GFP_KERNEL); in brcmf_sdiod_sgtable_alloc()
885 sg_free_table(&sdiodev->sgtable); in brcmf_sdiod_remove()
H A Dsdio.h186 struct sg_table sgtable; member
/linux/crypto/
H A Daf_alg.c1050 struct sg_table sgtable = { in af_alg_sendmsg() local
1056 plen = extract_iter_to_sg(&msg->msg_iter, len, &sgtable, in af_alg_sendmsg()
1063 for (; sgl->cur < sgtable.nents; sgl->cur++) in af_alg_sendmsg()