xdr_encode_read_segment(9)
π xdr_encode_read_segment(9) β Kernel API Manual π
okay so bestie, welcome to the xdr_encode_read_segment(9) page in the Kernel API Manual. it's short, it's sweet, and it's literally about encoding a Read segment. let's get into it π«Ά
β¨ NAME β¨
xdr_encode_read_segment β encode the contents of a Read segment π
πΈ SYNOPSIS πΈ
__be32 * xdr_encode_read_segment (__be32 *p , u32 position , u32 handle
, u32 length , u64 offset );
π ARGUMENTS π
pβ pointer into a send buffer. yes bestie, it's giving βpointer into a send bufferβ energy β¨positionβ the position to encode. that's the whole vibe.handleβ the RDMA handle to encode. iconic.lengthβ the RDMA length to encode. slay.offsetβ the RDMA offset to encode. periodt.
π¦ DESCRIPTION π¦
Return value: pointer to the XDR position that follows the encoded Read segment. that's it, that's the whole description, and honestly? we love a concise king π
π SEE ALSO π
- Kernel file
./include/linux/sunrpc/rpc_rdma.hβ go read the source, iykyk π xdr_encode_rdma_segment(9)xdr_decode_rdma_segment(9)xdr_decode_read_segment(9)
mwah π this has been the Kernel API Manual page for xdr_encode_read_segment(9), sourced from ./include/linux/sunrpc, dated October 2026. byeee bestie, go encode responsibly π«Άβ¨
π¦ 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