Searched refs:sg_head (Results 1 – 5 of 5) sorted by relevance
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_crypto.c | 265 struct scatterlist *sg_head, in gss_krb5_mic_build_sg() argument 280 sg_init_table(sg_head, nsg); in gss_krb5_mic_build_sg() 290 sg_init_table(sg_head, XDR_BUF_TO_SG_NENTS); in gss_krb5_mic_build_sg() 292 sg_chain(sg_head, XDR_BUF_TO_SG_NENTS, *sg_overflow); in gss_krb5_mic_build_sg() 295 sg_set_buf(&sg_head[0], cksum, cksum_len); in gss_krb5_mic_build_sg() 297 sg_next(&sg_head[0]), body_max); in gss_krb5_mic_build_sg() 306 entry = sg_last(sg_next(&sg_head[0]), body_nsg); in gss_krb5_mic_build_sg() 310 entry = sg_next(&sg_head[0]); in gss_krb5_mic_build_sg()
|
| H A D | gss_krb5_unseal.c | 80 struct scatterlist sg_head[XDR_BUF_TO_SG_NENTS]; in gss_krb5_verify_mic_v2() local 116 sg_head, &sg_overflow); in gss_krb5_verify_mic_v2() 122 ret = crypto_krb5_verify_mic(krb5, shash, NULL, sg_head, nsg, in gss_krb5_verify_mic_v2()
|
| /linux/drivers/vdpa/mlx5/core/ |
| H A D | mr.c | 44 for_each_sg(mr->sg_head.sgl, sg, mr->nent, i) { in populate_mtts() 393 err = sg_alloc_table(&mr->sg_head, nsg, GFP_KERNEL); in map_direct_mr() 397 sg = mr->sg_head.sgl; in map_direct_mr() 420 mr->nent = dma_map_sg_attrs(dma, mr->sg_head.sgl, mr->nsg, DMA_BIDIRECTIONAL, 0); in map_direct_mr() 429 sg_free_table(&mr->sg_head); in map_direct_mr() 438 dma_unmap_sg_attrs(dma, mr->sg_head.sgl, mr->nsg, DMA_BIDIRECTIONAL, 0); in unmap_direct_mr() 439 sg_free_table(&mr->sg_head); in unmap_direct_mr()
|
| H A D | mlx5_vdpa.h | 21 struct sg_table sg_head; member
|
| /linux/net/sunrpc/ |
| H A D | xdr.c | 352 unsigned int len, struct scatterlist *sg_head, in xdr_buf_to_sg_alloc() argument 368 sg_init_table(sg_head, nsg); in xdr_buf_to_sg_alloc() 378 sg_init_table(sg_head, sg_head_nents); in xdr_buf_to_sg_alloc() 380 sg_chain(sg_head, sg_head_nents, overflow); in xdr_buf_to_sg_alloc() 384 ret = xdr_buf_to_sg(buf, offset, len, sg_head, nsg); in xdr_buf_to_sg_alloc()
|