hwspin_lock_bust(9)
π 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
__hwspin_trylock(9)__hwspin_lock_timeout(9)__hwspin_unlock(9)of_hwspin_lock_simple_xlate(9)of_hwspin_lock_get_id(9)of_hwspin_lock_get_id_byname(9)hwspin_lock_register(9)hwspin_lock_unregister(9)devm_hwspin_lock_unregister(9)devm_hwspin_lock_register(9)__hwspin_lock_request(9)hwspin_lock_request_specific(9)hwspin_lock_free(9)devm_hwspin_lock_free(9)devm_hwspin_lock_request_specific(9)
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
- 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