Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/netfs/
A Diterator.c111 struct sg_table *sgtable, in netfs_extract_user_to_sg() argument
115 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in netfs_extract_user_to_sg()
143 sgtable->nents++; in netfs_extract_user_to_sg()
153 while (sgtable->nents > sgtable->orig_nents) in netfs_extract_user_to_sg()
154 put_page(sg_page(&sgtable->sgl[--sgtable->nents])); in netfs_extract_user_to_sg()
169 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in netfs_extract_bvec_to_sg()
187 sgtable->nents++; in netfs_extract_bvec_to_sg()
215 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in netfs_extract_kvec_to_sg()
246 sgtable->nents++; in netfs_extract_kvec_to_sg()
275 struct scatterlist *sg = sgtable->sgl + sgtable->nents; in netfs_extract_xarray_to_sg()
[all …]
/linux-6.3-rc2/drivers/mmc/core/
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-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A 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()
A Dsdio.h186 struct sg_table sgtable; member
/linux-6.3-rc2/fs/cifs/
A Dcifsglob.h2195 static inline void cifs_sg_set_buf(struct sg_table *sgtable, in cifs_sg_set_buf() argument
2207 sg_set_page(&sgtable->sgl[sgtable->nents++], in cifs_sg_set_buf()
2215 sg_set_page(&sgtable->sgl[sgtable->nents++], in cifs_sg_set_buf()
A Dsmb2ops.c4281 struct sg_table sgtable = {}; in smb2_get_aead_req() local
4286 p = smb2_aead_req_alloc(tfm, rqst, num_rqst, sig, iv, req, &sgtable, in smb2_get_aead_req()
4291 sg_init_marker(sgtable.sgl, num_sgs); in smb2_get_aead_req()
4304 cifs_sg_set_buf(&sgtable, in smb2_get_aead_req()
4311 sgtable.orig_nents = sgtable.nents; in smb2_get_aead_req()
4313 rc = netfs_extract_iter_to_sg(iter, count, &sgtable, in smb2_get_aead_req()
4314 num_sgs - sgtable.nents, 0); in smb2_get_aead_req()
4316 sgtable.orig_nents = sgtable.nents; in smb2_get_aead_req()
4319 cifs_sg_set_buf(&sgtable, sig, SMB2_SIGNATURE_SIZE); in smb2_get_aead_req()
4320 sg_mark_end(&sgtable.sgl[sgtable.nents - 1]); in smb2_get_aead_req()
[all …]
/linux-6.3-rc2/include/linux/
A Dnetfs.h305 struct sg_table *sgtable, unsigned int sg_max,

Completed in 29 milliseconds