prb_rec_init_wr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this is prb_rec_init_wr from the Kernel API Manual (section 9, kernel devs only, iykyk) β€” and what it does is literally initialize a buffer for writing records πŸ’…


🌸 SYNOPSIS 🌸

void prb_rec_init_wr (struct printk_record *r , unsigned int
text_buf_size );

that's the whole signature bestie, no cap 🫢


πŸ’– ARGUMENTS πŸ’–

  • r β€” the record you're initializing. yeah. that one. the record. it's getting initialized πŸŽ€
  • text_buf_size β€” the needed text buffer size. like, how big your text buffer needs to be. that's the vibe check on your buffer size fr fr ✨

πŸ¦‹ SEE ALSO πŸ¦‹

not me dropping the whole friend group of related symbols 😭 go check these out:

like they're all in the same ./kernel/printk friend group, main character energy honestly πŸ‘‘


πŸ’€ reminder bestie: prb_rec_init_wr is the write side. prb_rec_init_rd(9) is the read side. do not mix them up, that's the whole plot twist πŸ™ˆ

and that's the page!! 🌈 this iconic little moment lives in the ./kernel/printk source, dated October 2026, and it goes by prb_rec_init_wr(9) β€” slay, periodt, go initialize some records πŸ’œπŸ§šβ­

πŸ“¦ where this page comes from