hwspin_lock_bust(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

hwspin_lock_bust β€” bust a specific hwspinlock. Okay bestie, this one is straight out of the Kernel API Manual, and it’s giving β€œtargeted lock cleanup” energy. ✨

✨ SYNOPSIS ✨

int hwspin_lock_bust (struct hwspinlock *hwlock , unsigned int id );

πŸŽ€ ARGUMENTS πŸŽ€

  • hwlock β€” a previously-acquired hwspinlock which we want to bust.
  • id β€” identifier of the remote lock holder, if applicable.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function will bust a hwspinlock that was previously acquired as long as the current owner of the lock matches the id given by the caller. No cap, it’s literally that simple: matching owner? Bust. πŸ’₯

🌸 CONTEXT 🌸

Process context. That’s the vibe. ✨

πŸ”₯ RETURN πŸ”₯

  • 0 β€” on success, slay.
  • -EINVAL β€” if the hwspinlock does not exist, or the bust operation fails.
  • -EOPNOTSUPP β€” if the bust operation is not defined for the hwspinlock.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/hwspinlock/hwspinlock_core.c


mwah πŸ’‹ this page is sourced from ./drivers/hwspinlock, dated October 2026, and it’s all about hwspin_lock_bust(9). Periodt. 🫢

πŸ“¦ where this page comes from