pcl_alloc_call(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pcl_alloc_call(9) πŸ’…

okay so bestie, you're reading the Kernel API Manual page for pcl_alloc_call(9), and we are gonna get you comfy with it. πŸ’–


✨ NAME ✨

pcl_alloc_call - Construct a parsed chunk list for the Call body

πŸ› οΈ SYNOPSIS πŸ› οΈ

bool pcl_alloc_call (struct svc_rdma_recv_ctxt *rctxt , __be32 *p );

🌸 ARGUMENTS 🌸

  • rctxt β€” Ingress receive context. That's the ingress receive context, periodt.
  • p β€” Start of an un-decoded Read list. Yep, literally the start of the un-decoded Read list.

🧚 DESCRIPTION 🧚

Assumptions, bestie:

  • The incoming Read list has already been sanity checked. Like, someone already gave it the vibe check.
  • cl_count is already set to the number of segments in the un-decoded list.
  • The list might not be in order by position. Not me expecting it to be sorted β€” because it might not be, fr fr.

Return values:

  • true: Parsed chunk list was successfully constructed, and cl_count is updated to be the number of chunks (ie. unique positions) in the Read list. It ate, honestly. πŸ‘‘
  • false: Memory allocation failed. 😭

πŸ“š SEE ALSO πŸ“š

Kernel file ./net/sunrpc/xprtrdma/svc_rdma_pcl.c, plus the whole friend group:


mwah πŸ’‹ β€” source/version ./net/sunrpc/xprtrdma, date October 2026, title pcl_alloc_call(9). Bye bestie! 🫢

πŸ“¦ where this page comes from