Home
last modified time | relevance | path

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

/fs/ocfs2/dlm/
Duserdlm.c116 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()
Ddlmapi.h125 #define LKM_EXMODE 5 /* exclusive */ macro
Ddlmast.c80 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()
Ddlmconvert.c156 case LKM_EXMODE: in __dlmconvert_master()
303 if (lock->ml.type == LKM_EXMODE) { in dlmconvert_remote()
Ddlmunlock.c485 lock->ml.type != LKM_EXMODE) in dlm_unlock_lock_handler()
628 if (flags & LKM_VALBLK && lock->ml.type != LKM_EXMODE) in dlmunlock()
Ddlmrecovery.c1186 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()
Ddlmcommon.h1033 case LKM_EXMODE: in dlm_lock_mode_name()
1052 if (request == LKM_EXMODE) in dlm_lock_compatible()
Ddlmfs.c98 *level = LKM_EXMODE; in dlmfs_decode_open_flags()
Ddlmlock.c583 if (mode != LKM_EXMODE && mode != LKM_PRMODE && mode != LKM_NLMODE) { in dlmlock()
/fs/ocfs2/
Dlocks.c57 if (lockres->l_level == LKM_EXMODE) in ocfs2_do_flock()
Dstack_o2cb.c57 #if (DLM_LOCK_EX != LKM_EXMODE)
Ddlmglue.c421 } else if (level == LKM_EXMODE) { in ocfs2_update_lock_stats()