nlmsvc_proc_granted(9)
β¨ nlmsvc_proc_granted(9) β¨
okay so like, welcome to the Kernel API Manual bestie π this one's a real one β it's the nlmsvc_proc_granted(9) page and honestly? it's giving "tiny function, big responsibilities" energy. buckle up π
πΈ NAME πΈ
nlmsvc_proc_granted β GRANTED: Blocked lock has been granted πβ¨
π¦ SYNOPSIS π¦
__be32 nlmsvc_proc_granted (struct svc_rqst *rqstp );
π ARGUMENTS π
rqstpβ the RPC transaction context, aka the whole vibe of the call, no cap π«
π RETURN π
rpc_successβ RPC executed successfully, and we love that for it π like literally, it worked, slay.
π DESCRIPTION π
so first things first, the RPC synopsis, bestie β here it is in all its glory:
nlm_res NLM_GRANTED(nlm_testargs) = 5;
now onto the permissible procedure status codes π these are the only moods this procedure is allowed to be in:
LCK_GRANTEDβ the granted lock was accepted π iconic, no notes, everybody's happy.LCK_DENIEDβ the procedure failed π and like, possibly because of internal resource constraints. not necessarily anyone's fault, it just wasn't its moment.LCK_DENIED_GRACE_PERIODβ okay so the client host recently restarted π and its NLM is out here re-establishing existing locks, so it's literally not yet ready to accept callbacks. it's in its healing era, give it a sec π§
β SEE ALSO β
Kernel file ./fs/lockd/svcproc.c and the whole friend group π«Ά:
nlmsvc_proc_null(9), nlmsvc_proc_test(9), nlmsvc_proc_lock(9), nlmsvc_proc_cancel(9), nlmsvc_proc_unlock(9), nlmsvc_proc_test_msg(9), nlmsvc_proc_lock_msg(9), nlmsvc_proc_cancel_msg(9), nlmsvc_proc_unlock_msg(9), nlmsvc_proc_granted_msg(9), nlmsvc_proc_granted_res(9), nlmsvc_proc_sm_notify(9), nlmsvc_proc_unused(9), nlmsvc_proc_share(9), nlmsvc_proc_unshare(9), nlmsvc_proc_nm_lock(9), nlmsvc_proc_free_all(9)
that's the whole page, mwah π this one lives in ./fs/lockd, dated October 2026, and it's filed under nlmsvc_proc_granted(9) in the Kernel API Manual β go off, kernel docs, 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