hwspin_lock_...est_specific(9)
hwspin_lock_...est_specific(9) π
okay bestie, you're in the Kernel API Manual and this page is all about hwspin_lock_...est_specific(9) β yes, the title is a little chopped, that's just how it's printed, no cap. It's giving βreserve me one very specific hwspinlockβ energy. π
NAME πΈ
hwspin_lock_request_specific β request for a specific hwspinlock
SYNOPSIS β¨
struct hwspinlock * hwspin_lock_request_specific (unsigned int id );
ARGUMENTS π¦
idβ index of the specific hwspinlock that is requested
DESCRIPTION π
This function should be called by users of the hwspinlock module, in order to assign them a specific hwspinlock. Usually early board code will be calling this function in order to reserve specific hwspinlock ids for predefined purposes.
Should be called from a process context (might sleep). So yeah, process context bestie β it might sleep π΄.
RETURN π₯
the address of the assigned hwspinlock, or NULL on error
SEE ALSO π
Kernel file ./drivers/hwspinlock/hwspinlock_core.c
__hwspin_trylock(9)__hwspin_lock_timeout(9)__hwspin_unlock(9)hwspin_lock_bust(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_free(9)devm_hwspin_lock_free(9)devm_hwspin_lock_request_specific(9)
okay that's the tea π« β from ./drivers/hwspinlock, Kernel API Manual, October 2026, hwspin_lock_...est_specific(9) out π
π¦ 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