mux_state_deselect(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

mux_state_deselect(9)

okay so welcome to the Kernel API Manual, bestie πŸ’– this is the page for mux_state_deselect(9), aka the β€œokay we’re done with that mux state now” icon. Grab a lil snack πŸ“ and let’s go.


πŸ’– NAME πŸ’–

mux_state_deselect β€” Deselect the previously selected multiplexer state.

✨ SYNOPSIS ✨

int mux_state_deselect (struct mux_state *mstate );

πŸŽ€ ARGUMENTS πŸŽ€

  • mstate β€” The mux-state to deselect. That’s the one, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the rule is literally: a single call to mux_state_deselect is required for each and every successful call made to either mux_state_select or mux_state_try_select. No cap. If a select succeeds, its matching deselect has to show up exactly once. It’s giving β€œpair your socks” energy 🧦✨

bestie the pairing is not optional β€” one successful select/try-select = one mux_state_deselect call.

πŸ”₯ RETURN πŸ”₯

0 on success, and a negative errno on error. An error can only occur if the mux has an idle state. And even if an error occurs, the mux-control is unlocked and is thus free for the next access β€” so it’s not gonna ghost the next caller, periodt. πŸ’…

🌈 SEE ALSO 🌈


okay bye bestie 🫢 this lil page comes from source/version ./drivers/mux and is dated October 2026 β€” mux_state_deselect(9), signing off βœ¨πŸ‘‘

πŸ“¦ where this page comes from