Lines Matching defs:lock

177  * A lock to protect the host list and waiting lock list.
191 * A pending client-side lock request, stored on the nlm_waiting_locks
206 * A pending server-side asynchronous lock request, stored on the
212 void *af_cookie; /* (l) lock manager cancel token */
213 struct vnode *af_vp; /* (l) vnode to lock */
214 struct flock af_fl; /* (c) lock details */
557 * This async callback after when an async lock request has been
566 NLM_DEBUG(2, "NLM: async lock %p for %s (sysid %d) granted,"
576 * thing nlm_host_notify does is to cancel pending async lock
616 * Free an async lock request. The request must have been removed from
623 * Free an async lock.
637 * lock, it must already have been granted - we make sure our async
664 NLM_DEBUG(2, "NLM: async lock %p for %s (sysid %d) "
689 NLM_DEBUG(2, "NLM: async lock %p for %s (sysid %d) expired,"
729 * Thread start callback for client lock recovery
736 NLM_DEBUG(1, "NLM: client lock recovery for %s started\n",
741 NLM_DEBUG(1, "NLM: client lock recovery for %s completed\n",
800 "NFS lock recovery for %s", host->nh_caller_name);
1325 nlm_register_wait_lock(struct nlm4_lock *lock, struct vnode *vp)
1330 nw->nw_lock = *lock;
1376 * interrupt/timeout but before we manage to lock the
1674 * cancel any pending async locks and purge remote lock state
1675 * from the local lock manager. We release the reference from
1679 * client lock requests.
1922 * the value of oh used in the original lock
2028 * existing blocked lock that matches. This could be a
2078 * VOP_ADVLOCKASYNC. We do this in case the lock
2092 * If the lock completed synchronously, just free the
2104 NLM_DEBUG(2, "NLM: pending async lock %p for %s "
2109 * happens or the lock is cancelled.
2193 * First we need to try and find the async lock request - if
2383 NLM_DEBUG(5, "NLM: async lock %p rejected by host %s (sysid %d)",
2386 NLM_DEBUG(5, "NLM: async lock %p accepted by host %s (sysid %d)",