seqlock_init(9)
π seqlock_init(9) β like, the dynamic initializer for seqlock_t, bestie
okay so this is a page from the Kernel API Manual and it's honestly so chill. it's smol. it's cute. it's giving "one job and she does it." let's get into it β¨
πΈ NAME πΈ
seqlock_init β the dynamic initializer for seqlock_t
like, you have a seqlock_t and it is not set up yet and you're like "omg what do i do" and then this function is right there. that's the whole vibe. π
β¨ SYNOPSIS β¨
seqlock_init (sl );
yes that's it. that's the whole call. she's lowkey minimal.
π«Ά ARGUMENTS π«Ά
slβ Pointer to theseqlock_tinstance. that's your lock, bestie. hand her over and she gets initialized. no cap. π
π₯ SEE ALSO π₯
okay so this is the part where the page just dumps the entire seqlock extended universe on you and honestly? iconic. the kernel file is ./include/linux/seqlock.h and here is literally everyone:
seqcount_init(9)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)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)
fr fr that's fifty-one entries. i counted. she did not come to play. π
so yeah. that's seqlock_init. short page, big friend group. go init your lock, bestie, you got this π
later babes β this one's from ./include/linux, dated October 2026, and it's been real ππ¦
π¦ 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