nlmsvc_proc_nm_lock(9)
π nlmsvc_proc_nm_lock(9) π
okay bestie, welcome to the nlmsvc_proc_nm_lock(9) page from the Kernel API Manual β¨ this one is literally all about NM_LOCK β establishing a non-monitored lock. no cap, the facts are right here π
πΈ NAME πΈ
nlmsvc_proc_nm_lock β NM_LOCK: Establish a non-monitored lock π¦
β¨ SYNOPSIS β¨
__be32 nlmsvc_proc_nm_lock (struct svc_rqst *rqstp );
π ARGUMENTS π
rqstpβ RPC transaction context. it's giving βthe context for this RPC transaction,β and yes, that is exactly what it is, bestie π«Ά
π₯ RETURN π₯
rpc_successβ RPC executed successfully. slay, it worked πrpc_drop_replyβ Do not send an RPC reply. literally do not send one π
π DESCRIPTION π
RPC synopsis: nlm_res NLM_NM_LOCK(nlm_lockargs) = 22; β iconic little signature, no notes π
Permissible procedure status codes:
LCK_GRANTEDβ The requested lock was granted. periodt πLCK_DENIEDβ The requested lock conflicted with existing lock reservations for the file. awkward πLCK_DENIED_NOLOCKSβ The server could not allocate the resources needed to process the request. the server is lowkey out of resources πLCK_BLOCKEDβ The blocking request cannot be granted immediately. The server will send anNLM_GRANTEDcallback to the client when the lock can be granted. not me waiting for the callback π«LCK_DENIED_GRACE_PERIODβ The server has recently restarted and is re-establishing existing locks, and is not yet ready to accept normal service requests. grace period era, pls respect it πΈ
π¦ SEE ALSO π¦
Kernel file ./fs/lockd/svcproc.c β go check out the whole lockd sibling squad, fr fr:
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_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_free_all(9)
xoxo, your Unix bestie π β this page comes from source/version ./fs/lockd and is dated October 2026 π
π¦ 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