Searched refs:LKM_EXMODE (Results 1 – 12 of 12) sorted by relevance
116 int new_level = LKM_EXMODE; in user_highest_compat_lock_level()118 if (level == LKM_EXMODE) in user_highest_compat_lock_level()196 case LKM_EXMODE: in __user_dlm_cond_queue_lockres()338 if ((lockres->l_blocking == LKM_EXMODE) in user_dlm_unblock_lock()385 case LKM_EXMODE: in user_dlm_inc_holders()415 if (level != LKM_EXMODE && in user_dlm_cluster_lock()425 (level == LKM_EXMODE) ? "LKM_EXMODE" : "LKM_PRMODE", in user_dlm_cluster_lock()509 case LKM_EXMODE: in user_dlm_dec_holders()525 if (level != LKM_EXMODE && in user_dlm_cluster_unlock()549 BUG_ON(lockres->l_level < LKM_EXMODE); in user_dlm_write_lvb()
125 #define LKM_EXMODE 5 /* exclusive */ macro
80 if (lock->ml.type == LKM_EXMODE) in dlm_should_cancel_bast()86 else if (lock->ml.highest_blocked != LKM_EXMODE) in dlm_should_cancel_bast()
156 case LKM_EXMODE: in __dlmconvert_master()303 if (lock->ml.type == LKM_EXMODE) { in dlmconvert_remote()
485 lock->ml.type != LKM_EXMODE) in dlm_unlock_lock_handler()628 if (flags & LKM_VALBLK && lock->ml.type != LKM_EXMODE) in dlmunlock()
1186 if (ml->type == LKM_EXMODE || in dlm_add_lock_to_array()1191 (ml->type == LKM_EXMODE || in dlm_add_lock_to_array()1845 BUG_ON(ml->type != LKM_EXMODE && in dlm_process_recovery_data()1848 (ml->type == LKM_EXMODE || in dlm_process_recovery_data()2097 if (lock->ml.type != LKM_EXMODE && in dlm_lvb_needs_invalidation()2100 } else if (lock->ml.type == LKM_EXMODE) in dlm_lvb_needs_invalidation()2431 ret = dlmlock(dlm, LKM_EXMODE, &lksb, LKM_NOQUEUE|LKM_RECOVERY, in dlm_pick_recovery_master()
1033 case LKM_EXMODE: in dlm_lock_mode_name()1052 if (request == LKM_EXMODE) in dlm_lock_compatible()
98 *level = LKM_EXMODE; in dlmfs_decode_open_flags()
583 if (mode != LKM_EXMODE && mode != LKM_PRMODE && mode != LKM_NLMODE) { in dlmlock()
57 if (lockres->l_level == LKM_EXMODE) in ocfs2_do_flock()
57 #if (DLM_LOCK_EX != LKM_EXMODE)
421 } else if (level == LKM_EXMODE) { in ocfs2_update_lock_stats()