Home
last modified time | relevance | path

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

/linux-6.12.1/lib/
Dscatterlist.c1110 struct sg_table *sgtable, in extract_user_to_sg() argument
1114 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in extract_user_to_sg()
1121 pages = (void *)sgtable->sgl + in extract_user_to_sg()
1143 sgtable->nents++; in extract_user_to_sg()
1153 while (sgtable->nents > sgtable->orig_nents) in extract_user_to_sg()
1154 unpin_user_page(sg_page(&sgtable->sgl[--sgtable->nents])); in extract_user_to_sg()
1164 struct sg_table *sgtable, in extract_bvec_to_sg() argument
1169 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in extract_bvec_to_sg()
1187 sgtable->nents++; in extract_bvec_to_sg()
1210 struct sg_table *sgtable, in extract_kvec_to_sg() argument
[all …]
/linux-6.12.1/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.12.1/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.12.1/fs/smb/client/
Dcifsglob.h2245 static inline void cifs_sg_set_buf(struct sg_table *sgtable, in cifs_sg_set_buf() argument
2257 sg_set_page(&sgtable->sgl[sgtable->nents++], in cifs_sg_set_buf()
2265 sg_set_page(&sgtable->sgl[sgtable->nents++], in cifs_sg_set_buf()
Dsmb2ops.c4237 struct sg_table sgtable = {}; in smb2_get_aead_req() local
4242 p = smb2_aead_req_alloc(tfm, rqst, num_rqst, sig, iv, req, &sgtable, in smb2_get_aead_req()
4247 sg_init_marker(sgtable.sgl, num_sgs); in smb2_get_aead_req()
4260 cifs_sg_set_buf(&sgtable, in smb2_get_aead_req()
4267 sgtable.orig_nents = sgtable.nents; in smb2_get_aead_req()
4269 rc = extract_iter_to_sg(iter, count, &sgtable, in smb2_get_aead_req()
4270 num_sgs - sgtable.nents, 0); in smb2_get_aead_req()
4272 sgtable.orig_nents = sgtable.nents; in smb2_get_aead_req()
4275 cifs_sg_set_buf(&sgtable, sig, SMB2_SIGNATURE_SIZE); in smb2_get_aead_req()
4276 sg_mark_end(&sgtable.sgl[sgtable.nents - 1]); in smb2_get_aead_req()
[all …]
/linux-6.12.1/crypto/
Daf_alg.c1042 struct sg_table sgtable = { in af_alg_sendmsg() local
1048 plen = extract_iter_to_sg(&msg->msg_iter, len, &sgtable, in af_alg_sendmsg()
1055 for (; sgl->cur < sgtable.nents; sgl->cur++) in af_alg_sendmsg()
/linux-6.12.1/include/linux/
Duio.h409 struct sg_table *sgtable, unsigned int sg_max,