Lines Matching refs:high
2451 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw, in grant_pending_convert() argument
2517 return max_t(int, high, hi); in grant_pending_convert()
2520 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait() argument
2531 high = max_t(int, lkb->lkb_rqmode, high); in grant_pending_wait()
2537 return high; in grant_pending_wait()
2545 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument
2553 if (gr->lkb_highbast < high && in lock_requires_bast()
2554 !__dlm_compat_matrix[gr->lkb_grmode+1][high+1]) in lock_requires_bast()
2562 int high = DLM_LOCK_IV; in grant_pending_locks() local
2571 high = grant_pending_convert(r, high, &cw, count); in grant_pending_locks()
2572 high = grant_pending_wait(r, high, &cw, count); in grant_pending_locks()
2574 if (high == DLM_LOCK_IV) in grant_pending_locks()
2584 if (lkb->lkb_bastfn && lock_requires_bast(lkb, high, cw)) { in grant_pending_locks()
2585 if (cw && high == DLM_LOCK_PR && in grant_pending_locks()
2589 queue_bast(r, lkb, high); in grant_pending_locks()
2590 lkb->lkb_highbast = high; in grant_pending_locks()