seqcount_init(9)
π seqcount_init(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual page for seqcount_init(9) β yes that's the manual name, yes it's giving "I live in man 9" energy, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
seqcount_init β the runtime initializer for seqcount_t. that's it. that's the whole vibe. she initializes at runtime, no cap π
πΈ SYNOPSIS πΈ
seqcount_init (s );
literally that's the call. short, iconic, done π
π ARGUMENTS π
sβ pointer to theseqcount_tinstance. like, you hand her the address of your lil seqcount and she does her thing. a pointer. to aseqcount_t. that's the whole argument, bestie π
π¦ SEE ALSO π¦
okay this is the part where the manpage goes feral and lists everything, and honestly? obsessed. she's citing the whole friend group π the whole thing lives in the kernel file ./include/linux/seqlock.h, and here's every single sibling:
SEQCNT_ZERO(9)__read_seqcount_begin(9)raw_read_seqcount_begin(9)read_seqcount_begin(9)raw_read_seqcount(9)raw_seqcount_try_begin(9)raw_seqcount_begin(9)__read_seqcount_retry(9)read_seqcount_retry(9)raw_write_seqcount_begin(9)raw_write_seqcount_end(9)write_seqcount_begin_nested(9)write_seqcount_begin(9)write_seqcount_end(9)raw_write_seqcount_barrier(9)write_seqcount_invalidate(9)SEQCNT_LATCH_ZERO(9)seqcount_latch_init(9)raw_read_seqcount_latch(9)read_seqcount_latch(9)raw_read_seqcount_latch_retry(9)read_seqcount_latch_retry(9)raw_write_seqcount_latch(9)write_seqcount_latch_begin(9)write_seqcount_latch(9)write_seqcount_latch_end(9)seqlock_init(9)DEFINE_SEQLOCK(9)read_seqbegin(9)read_seqretry(9)write_seqlock(9)write_sequnlock(9)write_seqlock_bh(9)write_sequnlock_bh(9)write_seqlock_irq(9)write_sequnlock_irq(9)write_seqlock_irqsave(9)write_sequnlock_irqrestore(9)read_seqlock_excl(9)read_sequnlock_excl(9)read_seqlock_excl_bh(9)read_sequnlock_excl_bh(9)read_seqlock_excl_irq(9)read_sequnlock_excl_irq(9)read_seqlock_excl_irqsave(9)read_sequnlock_excl_irqrestore(9)read_seqbegin_or_lock(9)need_seqretry(9)done_seqretry(9)read_seqbegin_or_lock_irqsave(9)done_seqretry_irqrestore(9)scoped_seqlock_read(9)
likeβ¦ 52 entries. she ate and left absolutely no crumbs π go click through them, iykyk π₯
ngl bestie, this page is short because the function is short β don't go inventing extra behavior for her, she's just the runtime initializer π
and that's the whole page, bestie!! π cute lil sign-off: this one comes from ./include/linux and it's dated October 2026 β so yes, she's from the future and she's still just initializing seqcounts π
β¨ periodt π¦
π¦ 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