ksmbd_init_rdma_sg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ¦‹


xoxo, your girlie from ./fs/smb/server πŸ’œ β€” <yellow>October 2026</yellow>, all about ksmbd_init_rdma_sg(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from