nlmsvc_proc_granted_msg(9)
β¨ nlmsvc_proc_granted_msg(9) β¨
okay so we're in the Kernel API Manual bestie, and today's main character is nlmsvc_proc_granted_msg(9) π like yes we're reading kernel lockd internals for fun, that's just who we are now π
π NAME π
nlmsvc_proc_granted_msg β GRANTED_MSG: the blocked lock has been granted π iykyk, somebody was waiting and now they're not, slay
π¦ SYNOPSIS π¦
__be32 nlmsvc_proc_granted_msg (struct svc_rqst *rqstp );
πΈ ARGUMENTS πΈ
rqstpβ the RPC transaction context π«Ά literally the whole vibe of this call, it's the request's little passport
β RETURN β
so here's the vibe check on what comes back π
rpc_successβ RPC executed successfully. ate, no crumbs β¨rpc_garbage_argsβ the request arguments are malformed π like the args showed up in pajamas, we cannot work with thisrpc_system_errβ RPC execution failed π rough one ngl
π DESCRIPTION π
RPC synopsis incoming, copy it exactly bestie:
void NLMPROC_GRANTED_MSG(nlm_testargs) = 10;
and the important bit π the response to this request is delivered via the GRANTED_RES procedure. so like, you don't get your answer right here in this call β it comes back to you through GRANTED_RES, no cap π§
π SEE ALSO π
Kernel file ./fs/lockd/svcproc.c β that's the home base π and the whole friend group of functions, all of them, in order:
nlmsvc_proc_null(9)nlmsvc_proc_test(9)nlmsvc_proc_lock(9)nlmsvc_proc_cancel(9)nlmsvc_proc_unlock(9)nlmsvc_proc_granted(9)nlmsvc_proc_test_msg(9)nlmsvc_proc_lock_msg(9)nlmsvc_proc_cancel_msg(9)nlmsvc_proc_unlock_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)
okay that's the whole page, go be iconic with your lock grants π¦π this little number lives in ./fs/lockd and it's stamped October 2026, so like, future-coded of it honestly β¨π mwah, study hard bestie π
π¦ 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