write_sequnlock_irqrestore(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– write_sequnlock_irqrestore(9) πŸ’–

hiii bestie, welcome to the Kernel API Manual page for write_sequnlock_irqrestore(9) β€” yes, the seqlock cleanup girlie is here to close things out properly. ✨


🌸 NAME 🌸

write_sequnlock_irqrestore β€” end a non-interruptible seqlock_t write section. That’s the whole vibe: it’s the closing move. πŸ’…


✨ SYNOPSIS ✨

void write_sequnlock_irqrestore (seqlock_t *sl , unsigned long flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • sl β€” Pointer to seqlock_t. That’s your seqlock bestie. 🫢
  • flags β€” Caller’s saved interrupt state, from write_seqlock_irqsave. Keep those flags safe, okay? 😭

πŸ’… DESCRIPTION πŸ’…

okay so write_sequnlock_irqrestore closes the serialized and non-interruptible seqlock_t write section that was previously opened with write_seqlock_irqsave. It’s literally the matching close-out step β€” section opened, section closed, no cap. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/seqlock.h, plus the whole seqlock extended family β€” no crumbs left, bestie: 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), 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), 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).


./include/linux Β· October 2026 Β· write_sequnlock_irqrestore(9) β€” byeee bestie, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from