__nbcon_atom...lush_pending(9)
π
__nbcon_atom...lush_pending β Kernel API Manual β¨
okay bestie, welcome to the kernel API manual, and no β the title isn't a typo, it's just the manpage formatter doing that cursed little truncation thing with the ellipsis. The actual function is __nbcon_atomic_flush_pending, and we're gonna talk about it. π«Ά
πΈ NAME πΈ
__nbcon_atomic_flush_pending β flushes, like, all the nbcon consoles, and it does it using their write_atomic() callback. that's the whole vibe. main character energy only. π
β¨ SYNOPSIS β¨
void __nbcon_atomic_flush_pending (u64 stop_seq );
literally one arg. one. single. u64. we love a low-commitment signature. π
π ARGUMENTS π
stop_seqβ flush up until this record. that's it, that's the boundary. everything beforestop_seqgets flushed, and you better respect the cutoff fr fr. π¦
π SEE ALSO π
okay this is the part where the manpage just dumps the entire friend group at you π but honestly? iconic. they're all in the kernel file ./kernel/printk/nbcon.c and here's every single one, no gatekeeping:
nbcon_state_set(9)nbcon_state_read(9)nbcon_state_try_cmpxchg(9)nbcon_seq_read(9)nbcon_seq_force(9)nbcon_seq_try_update(9)nbcon_context_try_acquire_direct(9)nbcon_context_try_acquire_requested(9)nbcon_context_try_acquire_handover(9)nbcon_context_try_acquire_hostile(9)nbcon_context_try_acquire(9)nbcon_context_release(9)nbcon_context_can_proceed(9)nbcon_can_proceed(9)__nbcon_context_update_unsafe(9)nbcon_enter_unsafe(9)nbcon_exit_unsafe(9)nbcon_reacquire_nobuf(9)nbcon_emit_next_record(9)nbcon_kthread_should_wakeup(9)nbcon_kthread_func(9)nbcon_irq_work(9)nbcon_kthreads_wake(9)nbcon_kthread_create(9)nbcon_get_cpu_emergency_nesting(9)nbcon_get_default_prio(9)nbcon_allow_unsafe_takeover(9)nbcon_legacy_emit_next_record(9)__nbcon_atomic_flush_pending_con(9)nbcon_atomic_flush_pending_con(9)nbcon_atomic_flush_pending(9)nbcon_atomic_flush_unsafe(9)nbcon_cpu_emergency_enter(9)nbcon_cpu_emergency_exit(9)nbcon_alloc(9)nbcon_free(9)nbcon_device_try_acquire(9)nbcon_device_release(9)nbcon_kdb_try_acquire(9)nbcon_kdb_release(9)nbcon_write_context_is_braille(9)nbcon_braille_try_acquire(9)nbcon_braille_release(9)
ngl bestie, that's the whole page. short and sweet, just how we like it. no cap, no filler, just one function and its entire extended family. πβ¨
and that's a wrap! this lil gem comes from ./kernel/printk, dated October 2026 β so go forth, flush those pending records, and slay. π§π
π¦ 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