Lines Matching defs:high
2280 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw,
2346 return max_t(int, high, hi);
2349 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw,
2360 high = max_t(int, lkb->lkb_rqmode, high);
2366 return high;
2371 high is the largest rqmode of all locks blocked on the convert or
2374 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw)
2382 if (gr->lkb_highbast < high &&
2383 !__dlm_compat_matrix[gr->lkb_grmode+1][high+1])
2391 int high = DLM_LOCK_IV;
2400 high = grant_pending_convert(r, high, &cw, count);
2401 high = grant_pending_wait(r, high, &cw, count);
2403 if (high == DLM_LOCK_IV)
2408 * ASTs to granted locks based on the largest requested mode (high)
2413 if (lkb->lkb_bastfn && lock_requires_bast(lkb, high, cw)) {
2414 if (cw && high == DLM_LOCK_PR &&
2418 queue_bast(r, lkb, high);
2419 lkb->lkb_highbast = high;