STRUCT CRC32_WRITE_ARGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct crc32_write_args(9) πŸ’–

okay bestie, so this is a page from the Kernel API Manual, and it's all about struct crc32_write_args β€” literally the arguments you need in order to write the CRC at the end of the PSI tables. no cap, that's the whole job. πŸŽ€


✨ SYNOPSIS ✨

struct crc32_write_args {
    void *dest_buf;
    u32 dest_offset;
    __be32 crc;
    u16 pid;
    u8 *continuity_counter;
    u32 dest_buf_sz;
 };

like, that's the whole struct. six lil fields. she's compact, she's iconic. πŸ’…


🌸 Members 🌸

so here's the group chat roll call of every single member, no one gets left out:

  • dest_buf β€” the buffer you're writing into. the canvas. the moment. πŸ¦‹
  • dest_offset β€” where you start writing inside the dest_buffer. like, where the pen first touches the paper.
  • crc β€” the actual CRC value you're writing. the main character, honestly. ⭐
  • pid β€” TS packet ID. yes, that kind of ID.
  • continuity_counter β€” gets incremented on every new packet. she keeps the count going, every single time, fr fr. πŸ”₯
  • dest_buf_sz β€” the size of the dest_buffer. gotta know how much room you have, bestie. πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

lowkey a whole friend group here, so let's list every single one because we don't do half-finished recaps in this house:


πŸ’€ reminder that this one lives at ./drivers/media/test-drivers/v... β€” yes, the path is genuinely abbreviated like that in the page, don't come for me. 🫢

and that's the vibe check, bestie β€” this page came from ./drivers/media/test-drivers/v..., dated October 2026, and it's the struct crc32_write_args(9) entry. go forth and write those CRCs, slay. πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from