console_srcu_write_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… console_srcu_write_flags(9)

okay bestie, welcome to the Kernel API Manual page for console_srcu_write_flags β€” it's giving tiny-but-important console helper energy, and we're gonna get into it ✨

🌸 NAME 🌸

console_srcu_write_flags β€” write flags for a registered console πŸŽ€

✨ SYNOPSIS ✨

void console_srcu_write_flags (struct console *con , short flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • con β€” a struct console pointer for the console whose flags you're writing to 🫢
  • flags β€” the new flags value to write πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, this function writes flags for a registered console. That's the whole vibe. But bestie, there is a rule and we do not ignore it:

Only use this function to write flags for registered consoles. It requires holding the console_list_lock.

No cap β€” registered consoles only, and hold console_list_lock while you're at it. That lock requirement is literally not optional πŸ˜­πŸ”’

πŸ”₯ CONTEXT πŸ”₯

Any context. Yep, literally any context β€” that's the whole context section, periodt πŸ’…

🌈 SEE ALSO 🌈


that's the page, bestie 🫢 source/version vibes: ./include/linux, dated October 2026, and the page tag is console_srcu_write_flags(9). iconic, no notes βœ¨πŸ‘‘

πŸ“¦ where this page comes from