LKM_EXMODE
if (lock->ml.type == LKM_EXMODE)
else if (lock->ml.highest_blocked != LKM_EXMODE)
case LKM_EXMODE:
if (request == LKM_EXMODE)
case LKM_EXMODE:
if (lock->ml.type == LKM_EXMODE) {
if (mode != LKM_EXMODE && mode != LKM_PRMODE && mode != LKM_NLMODE) {
if (lock->ml.type != LKM_EXMODE && lock->ml.type != LKM_PRMODE)
BUG_ON(ml->type != LKM_EXMODE &&
(ml->type == LKM_EXMODE ||
if (lock->ml.type != LKM_EXMODE &&
} else if (lock->ml.type == LKM_EXMODE)
ret = dlmlock(dlm, LKM_EXMODE, &lksb, LKM_NOQUEUE|LKM_RECOVERY,
lock->ml.type != LKM_EXMODE)
if (flags & LKM_VALBLK && lock->ml.type != LKM_EXMODE)
status = ocfs2_cluster_lock(osb, lockres, ex ? LKM_EXMODE : LKM_PRMODE,
ex ? LKM_EXMODE : LKM_PRMODE);
else if (level == LKM_EXMODE)
if (lockres->l_level == LKM_EXMODE)
#if (DLM_LOCK_EX != LKM_EXMODE)