ksmbd_init_rdma_sg(9)
π ksmbd_init_rdma_sg(9) β Kernel API Manual, bestie edition π
okay so welcome to the <pink>Kernel API Manual</pink> page for ksmbd_init_rdma_sg(9), and no cap this one is literally about building an AEAD scatterlist for an RDMA payload πΈ.
πΈ NAME πΈ
ksmbd_init_rdma_sg β build an AEAD scatterlist for an RDMA payload, periodt π
.
β¨ SYNOPSIS β¨
struct scatterlist * ksmbd_init_rdma_sg (void *buf , unsigned int buflen
, u8 *tag , unsigned int taglen );
π«Ά ARGUMENTS π«Ά
bufβ the payload buffer, like the main character of your data πbuflenβ payload length, aka how much payload we're serving πtagβ authentication tag buffer, the lil tag bestie πtaglenβ authentication tag length, fr fr π
π DESCRIPTION π
So the way this works: it splits <cyan>vmalloc-backed payloads</cyan> at page boundaries, then appends the detached authentication tag as the final scatterlist entry. That's the whole vibe, and it's giving exactly what it needs to give β¨.
π RETURN π
It returns the allocated scatterlist π
, or NULL on allocation failure π. No cap, that's the whole return situation.
π¦ SEE ALSO π¦
- Kernel file:
./fs/smb/server/auth.c ksmbd_auth_ntlmv2(9)ksmbd_decode_ntlmssp_auth_blob(9)ksmbd_decode_ntlmssp_neg_blob(9)ksmbd_build_ntlmssp_challenge_blob(9)ksmbd_sign_smb2_pdu(9)ksmbd_sign_smb3_pdu(9)ksmbd_crypt_rdma(9)
xoxo, your girlie from ./fs/smb/server π β <yellow>October 2026</yellow>, all about ksmbd_init_rdma_sg(9) πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms