pcl_next_chunk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pcl_next_chunk(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this little cutie lives over in the kernel and she's here to hand you the next thing in a list. that's literally it. she's iconic, she's simple, she's pcl_next_chunk.


🌸 NAME 🌸

pcl_next_chunk β€” gimme the next chunk in a parsed chunk list, please and thank you 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct svc_rdma_chunk * pcl_next_chunk (const struct svc_rdma_pcl *pcl,
                                        struct svc_rdma_chunk *chunk);

like, that's the whole signature. no cap. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • pcl β€” a parsed chunk list πŸ’– this is the main character, the list you're walking through.
  • chunk β€” a chunk in pcl 🌸 the one you're standing on right now, so she knows where to go next.

⭐ DESCRIPTION ⭐

Returns the next chunk in the list. and if chunk is already the last one? she gives you NULL 😭 that's it, that's the whole vibe. no drama, no surprises, just "here's the next one or nope, you're at the end bestie."

lowkey the sweetest function in the whole header, fr fr β€” she does one thing and she does it flawlessly πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./include/linux/sunrpc/svc_rdma_pcl.h β€” go read the source, iykyk πŸ“–βœ¨

the whole friend group honestly 🫢 go say hi to all of them.


mwah πŸ’‹ this page ships from ./include/linux/sunrpc and it's dated October 2026 β€” yes she's from the future, we don't question it πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from