pcl_next_chunk(9)
β¨ 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 inpclπΈ 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 πβ¨
pcl_init(9)pcl_is_empty(9)pcl_first_chunk(9)pcl_for_each_chunk(9)pcl_for_each_segment(9)pcl_chunk_end_offset(9)
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
- 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