Home
last modified time | relevance | path

Searched refs:gr (Results 1 – 1 of 1) sorted by relevance

/fs/dlm/
Dlock.c134 #define modes_compat(gr, rq) \ argument
135 __dlm_compat_matrix[(gr)->lkb_grmode + 1][(rq)->lkb_rqmode + 1]
2600 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument
2602 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast()
2603 if (gr->lkb_highbast < DLM_LOCK_EX) in lock_requires_bast()
2608 if (gr->lkb_highbast < high && in lock_requires_bast()
2609 !__dlm_compat_matrix[gr->lkb_grmode+1][high+1]) in lock_requires_bast()
2650 static int modes_require_bast(struct dlm_lkb *gr, struct dlm_lkb *rq) in modes_require_bast() argument
2652 if ((gr->lkb_grmode == DLM_LOCK_PR && rq->lkb_rqmode == DLM_LOCK_CW) || in modes_require_bast()
2653 (gr->lkb_grmode == DLM_LOCK_CW && rq->lkb_rqmode == DLM_LOCK_PR)) { in modes_require_bast()
[all …]