nlmsvc_proc_granted(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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