Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Dscatterlist.c1109 struct sg_table *sgtable, in extract_user_to_sg() argument
1113 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in extract_user_to_sg()
1120 pages = (void *)sgtable->sgl + in extract_user_to_sg()
1142 sgtable->nents++; in extract_user_to_sg()
1152 while (sgtable->nents > sgtable->orig_nents) in extract_user_to_sg()
1153 unpin_user_page(sg_page(&sgtable->sgl[--sgtable->nents])); in extract_user_to_sg()
1163 struct sg_table *sgtable, in extract_bvec_to_sg() argument
1168 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in extract_bvec_to_sg()
1186 sgtable->nents++; in extract_bvec_to_sg()
1209 struct sg_table *sgtable, in extract_kvec_to_sg() argument
[all …]
/linux-6.6.21/drivers/mmc/core/
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-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c432 mmc_dat.sg = sdiodev->sgtable.sgl; in brcmf_sdiod_sglist_rw()
447 sgl = sdiodev->sgtable.sgl; in brcmf_sdiod_sglist_rw()
472 sgl = sdiodev->sgtable.sgl; in brcmf_sdiod_sglist_rw()
512 sg_init_table(sdiodev->sgtable.sgl, sdiodev->sgtable.orig_nents); in brcmf_sdiod_sglist_rw()
778 err = sg_alloc_table(&sdiodev->sgtable, nents, GFP_KERNEL); in brcmf_sdiod_sgtable_alloc()
880 sg_free_table(&sdiodev->sgtable); in brcmf_sdiod_remove()
Dsdio.h186 struct sg_table sgtable; member
/linux-6.6.21/fs/smb/client/
Dcifsglob.h2238 static inline void cifs_sg_set_buf(struct sg_table *sgtable, in cifs_sg_set_buf() argument
2250 sg_set_page(&sgtable->sgl[sgtable->nents++], in cifs_sg_set_buf()
2258 sg_set_page(&sgtable->sgl[sgtable->nents++], in cifs_sg_set_buf()
Dsmb2ops.c4274 struct sg_table sgtable = {}; in smb2_get_aead_req() local
4279 p = smb2_aead_req_alloc(tfm, rqst, num_rqst, sig, iv, req, &sgtable, in smb2_get_aead_req()
4284 sg_init_marker(sgtable.sgl, num_sgs); in smb2_get_aead_req()
4297 cifs_sg_set_buf(&sgtable, in smb2_get_aead_req()
4304 sgtable.orig_nents = sgtable.nents; in smb2_get_aead_req()
4306 rc = extract_iter_to_sg(iter, count, &sgtable, in smb2_get_aead_req()
4307 num_sgs - sgtable.nents, 0); in smb2_get_aead_req()
4309 sgtable.orig_nents = sgtable.nents; in smb2_get_aead_req()
4312 cifs_sg_set_buf(&sgtable, sig, SMB2_SIGNATURE_SIZE); in smb2_get_aead_req()
4313 sg_mark_end(&sgtable.sgl[sgtable.nents - 1]); in smb2_get_aead_req()
[all …]
/linux-6.6.21/crypto/
Daf_alg.c1041 struct sg_table sgtable = { in af_alg_sendmsg() local
1047 plen = extract_iter_to_sg(&msg->msg_iter, len, &sgtable, in af_alg_sendmsg()
1054 for (; sgl->cur < sgtable.nents; sgl->cur++) in af_alg_sendmsg()
/linux-6.6.21/include/linux/
Duio.h425 struct sg_table *sgtable, unsigned int sg_max,