ceph_start_encoding(9)
π ceph_start_encoding(9) β or, "how to open an encoding block, bestie"
okay so this is ceph_start_encoding, straight out of the Kernel API Manual (yes, the kernel has a manual, and yes it's iconic). Think of this function as the opening move β the "hey bestie, we're about to encode something" announcement β¨
πΈ NAME πΈ
ceph_start_encoding β start encoding block. that's it. that's the whole vibe. it kicks off an encoding block, periodt.
π SYNOPSIS π
void ceph_start_encoding (void **p , u8 struct_v , u8 struct_compat ,
u32 struct_len );
returns void, so likeβ¦ no return value, no drama, it just does the thing π«Ά
π ARGUMENTS π
pβ literally listed as-- undescribed --in the original, and ngl I'm not gonna invent lore for it. the docs said undescribed, so undescribed it stays π it's avoid **, make of that what you will πstruct_vβ the current (code) version of the encoding. this is the version of the code doing the encoding, iykyk πstruct_compatβ the oldest code version that can decode it. so like, the bottom line of backwards compatibility β the oldest reader that still gets it πstruct_lenβ length of struct encoding. the size. the amount. theu32of it all β¨
π¦ SEE ALSO π¦
- Kernel file
./include/linux/ceph/decode.hβ go read it, it's right there π ceph_start_decoding(9)β the matching counterpart, the decode-side bestie π
lowkey important: p genuinely has no description in the source material. don't come for me, I'm just the messenger π
and that's the page, bestie π source is ./include/linux/ceph, dated October 2026 β mwah, slay, see u in the next block πβ¨
π¦ 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