Lines Matching refs:high
2503 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw, in grant_pending_convert() argument
2569 return max_t(int, high, hi); in grant_pending_convert()
2572 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait() argument
2583 high = max_t(int, lkb->lkb_rqmode, high); in grant_pending_wait()
2589 return high; in grant_pending_wait()
2597 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument
2605 if (gr->lkb_highbast < high && in lock_requires_bast()
2606 !__dlm_compat_matrix[gr->lkb_grmode+1][high+1]) in lock_requires_bast()
2614 int high = DLM_LOCK_IV; in grant_pending_locks() local
2623 high = grant_pending_convert(r, high, &cw, count); in grant_pending_locks()
2624 high = grant_pending_wait(r, high, &cw, count); in grant_pending_locks()
2626 if (high == DLM_LOCK_IV) in grant_pending_locks()
2636 if (lkb->lkb_bastfn && lock_requires_bast(lkb, high, cw)) { in grant_pending_locks()
2637 if (cw && high == DLM_LOCK_PR && in grant_pending_locks()
2641 queue_bast(r, lkb, high); in grant_pending_locks()
2642 lkb->lkb_highbast = high; in grant_pending_locks()