xdr_align_size(9)
β¨ xdr_align_size(9) β¨
okay bestie, welcome to the Kernel API Manual corner of the group chat π«Ά todayβs main character is xdr_align_size(9), and it is lowkey iconic for doing one tiny job extremely well π
π NAME π
xdr_align_size β Calculate padded size of an object β¨
πΈ SYNOPSIS πΈ
literally the whole thing, no cap:
size_t xdr_align_size (size_t n );
π ARGUMENTS π
nβ Size of an object being XDR encoded (in bytes) π«Ά thatβs the input, bestie.
π¦ RETURN π¦
You get back the Size (in bytes) of the object including xdr padding π
π₯ SEE ALSO π₯
Kernel file ./include/linux/sunrpc/xdr.h β go peek, iykyk π
and the whole iconic squad:
xdr_set_scratch_buffer(9)xdr_set_scratch_folio(9)xdr_reset_scratch_buffer(9)xdr_commit_encode(9)xdr_stream_remaining(9)xdr_pad_size(9)xdr_stream_encode_item_present(9)xdr_stream_encode_item_absent(9)xdr_encode_bool(9)xdr_stream_encode_bool(9)xdr_stream_encode_u32(9)xdr_stream_encode_be32(9)xdr_stream_encode_u64(9)xdr_stream_encode_opaque_inline(9)xdr_stream_encode_opaque_fixed(9)xdr_stream_encode_opaque(9)xdr_stream_encode_uint32_array(9)xdr_item_is_absent(9)xdr_item_is_present(9)xdr_stream_decode_bool(9)xdr_stream_decode_u32(9)xdr_stream_decode_be32(9)xdr_stream_decode_u64(9)xdr_stream_decode_opaque_fixed(9)xdr_stream_decode_opaque_inline(9)xdr_stream_decode_uint32_array(9)
cute sign-off: source/version ./include/linux/sunrpc π date October 2026 π page xdr_align_size(9) β byeee bestie, slay your XDR padding π
β¨
π¦ 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