rfkill_switch_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rfkill_switch_all(9) πŸ’…

okay bestie, this is rfkill_switch_all(9) from the Kernel API Manual β€” welcome to the switcheroo chapter of the group chat 🫢✨

🌸 NAME 🌸

rfkill_switch_all β€” toggle the state of all switches of a given type. slay.

πŸ¦‹ SYNOPSIS πŸ¦‹

exact signature, no edits, periodt:

void rfkill_switch_all (enum rfkill_type type , bool blocked );

πŸŽ€ ARGUMENTS πŸŽ€

  • type β€” the type of interfaces that are gonna be affected 🎯
  • blocked β€” the new state πŸ’«

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea: this function acquires rfkill_global_mutex and then calls __rfkill_switch_all(type, state). Please refer to __rfkill_switch_all for the details β€” that's where the full lore lives πŸ‘‘.

If the EPO lock is active, it does nothing. literally nothing, zero effect, no cap πŸ’€.

🌈 SEE ALSO 🌈

Kernel file ./net/rfkill/core.c β€” go peek, iykyk πŸ“–

made with πŸ’– from ./net/rfkill, October 2026 β€” rfkill_switch_all(9), byeee πŸŽ€

πŸ“¦ where this page comes from