Lines Matching refs:locks
41 Stage 2, xxxx_lock(), just finds and locks the relevant rsb which is
428 * NL locks on an rsb, but without the guarantee that the cached master value
430 * to keep NL locks on an rsb that they may lock again shortly; this can lead
759 /* convention says granted locks kept in order of grmode */
1371 compatible with other granted locks */
1463 * between locks on the convert queue while they couldn't be granted anyway.
1471 * be zero, i.e. there will never be conv-deadlk between two locks that are
1524 * mode locks. This flag is not valid for conversion requests.
1548 * locks
1563 * compatible with the granted modes of other locks on the same
1605 * restrictive mode of all granted locks on the resource.
1644 * cancels one of the locks.
1763 high is the largest rqmode of all locks blocked on the convert or
1795 * If there are locks left on the wait/convert queue then send blocking
1796 * ASTs to granted locks based on the largest requested mode (high)
2036 it cannot be done now because when converting locks, fields in
2129 locks; return same error as if the lkid had not been found at all */
2320 (due to CONVDEADLK) might mean other locks, and/or this lock, are
2321 now grantable. We have to try to grant other converting locks
2426 /* for remote locks the request_reply is sent
2445 /* for remote locks the convert_reply is sent
2464 /* for remote locks the unlock_reply is sent
2483 /* for remote locks the cancel_reply is sent
4019 /* Recovery for locks that are waiting for replies from nodes that are now
4139 operations. But, new ops may be coming in on the rsbs/locks here from
4279 /* Get rid of locks held by nodes that are gone. */
4405 The real granted mode of these converting locks cannot be determined
4406 until all locks have been rebuilt on the rsb (recover_conversion) */
4524 all the locks it sends to new masters */
4590 /* add this new lkb to the per-process list of locks */
4593 list_add_tail(&lkb->lkb_ownqueue, &ua->proc->locks);
4791 orphans list with the granted orphan locks, to be freed by purge */
4837 if (list_empty(&proc->locks))
4840 lkb = list_entry(proc->locks.next, struct dlm_lkb, lkb_ownqueue);
4873 /* this removes the reference for the proc->locks list
4906 if (!list_empty(&proc->locks)) {
4907 lkb = list_entry(proc->locks.next, struct dlm_lkb,
4918 dlm_put_lkb(lkb); /* ref from proc->locks list */