xdr_decode_read_segment(9)
π xdr_decode_read_segment(9) π
okay bestie, welcome to the Kernel API Manual page for xdr_decode_read_segment(9) β manual name folded in, header line not copied, we're being efficient π
. This one is literally about decoding the contents of a Read segment, and yes it's giving kernel-internals main character energy.
β¨ NAME β¨
xdr_decode_read_segment β Decode contents of a Read segment
πΈ SYNOPSIS πΈ
__be32 * xdr_decode_read_segment (__be32 *p , u32 *position , u32 *handle , u32 *length , u64 *offset );
π ARGUMENTS π
pβ Pointer to the undecoded Read segment π«Άpositionβ Upon return, the segment's positionhandleβ Upon return, the RDMA handlelengthβ Upon return, the RDMA lengthoffsetβ Upon return, the RDMA offset
no cap, every one of those "upon return" ones is an output situation β the call fills them in when it comes back β¨
π¦ DESCRIPTION π¦
Return value: Pointer to the XDR item that follows the Read segment. That's it, that's the vibe β the function hands you back the pointer to the next XDR item after the Read segment π
π SEE ALSO π
- Kernel file
./include/linux/sunrpc/rpc_rdma.h xdr_encode_rdma_segment(9)xdr_encode_read_segment(9)xdr_decode_rdma_segment(9)
mwah π signing off from the source/version spot ./include/linux/sunrpc, dated October 2026, still on the xdr_decode_read_segment(9) page π«Άβ¨
π¦ 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