Lines Matching refs:lkb2
2238 * - if !modes_compat(lkb1, lkb2) && !modes_compat(lkb2, lkb1), or
2240 * blocked by the granted mode of lkb2, and there was nothing on the
2242 * lkb2 was the only thing preventing lkb1 from being granted.
2251 * lkb1 exists anywhere in the convert queue and lkb2 comes in with a granted
2253 * deadlk/demote on lkb2 right away and don't let it onto the convert queue.
2259 static int conversion_deadlock_detect(struct dlm_rsb *r, struct dlm_lkb *lkb2)
2265 if (lkb1 == lkb2) {
2271 if (!modes_compat(lkb2, lkb1))
2274 if (!modes_compat(lkb2, lkb1) &&
2275 !modes_compat(lkb1, lkb2))