Home
last modified time | relevance | path

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

/Linux-v4.19/fs/gfs2/
Dlock_dlm.c191 return DLM_LOCK_NL; in make_mode()
641 control_lock(sdp, DLM_LOCK_NL, DLM_LKF_CONVERT); in gfs2_control_func()
710 error = control_lock(sdp, DLM_LOCK_NL, flags); in gfs2_control_func()
770 error = control_lock(sdp, DLM_LOCK_NL, DLM_LKF_VALBLK); in control_mount()
776 error = mounted_lock(sdp, DLM_LOCK_NL, 0); in control_mount()
782 mounted_mode = DLM_LOCK_NL; in control_mount()
795 if (mounted_mode != DLM_LOCK_NL) { in control_mount()
796 error = mounted_lock(sdp, DLM_LOCK_NL, DLM_LKF_CONVERT); in control_mount()
799 mounted_mode = DLM_LOCK_NL; in control_mount()
882 error = control_lock(sdp, DLM_LOCK_NL, DLM_LKF_CONVERT); in control_mount()
[all …]
Dtrace_gfs2.h76 return DLM_LOCK_NL; in glock_trace_state()
/Linux-v4.19/include/uapi/linux/
Ddlmconstants.h31 #define DLM_LOCK_NL 0 /* null */ macro
/Linux-v4.19/fs/ocfs2/
Ddlmglue.c865 new_level = DLM_LOCK_NL; in ocfs2_highest_compat_lock_level()
904 BUG_ON(lockres->l_blocking <= DLM_LOCK_NL); in ocfs2_generic_handle_downconvert_action()
909 lockres->l_blocking = DLM_LOCK_NL; in ocfs2_generic_handle_downconvert_action()
924 if (lockres->l_level == DLM_LOCK_NL && in ocfs2_generic_handle_convert_action()
950 if (lockres->l_requested > DLM_LOCK_NL && in ocfs2_generic_handle_attach_action()
1102 BUG_ON(level <= DLM_LOCK_NL); in ocfs2_blocking_ast()
1555 BUG_ON(level == DLM_LOCK_NL); in __ocfs2_cluster_lock()
1966 (lockres->l_level > DLM_LOCK_NL)) { in ocfs2_file_lock()
1983 ret = ocfs2_lock_create(osb, lockres, DLM_LOCK_NL, 0); in ocfs2_file_lock()
2064 if (lockres->l_level == DLM_LOCK_NL) in ocfs2_file_unlock()
[all …]
Dstack_o2cb.c45 #if (DLM_LOCK_NL != LKM_NLMODE)
/Linux-v4.19/fs/ocfs2/dlmfs/
Duserdlm.c121 new_level = DLM_LOCK_NL; in user_highest_compat_lock_level()
154 lockres->l_blocking = DLM_LOCK_NL; in user_ast()
486 BUG_ON(level == DLM_LOCK_NL); in user_dlm_cluster_lock()
/Linux-v4.19/drivers/md/
Dmd-cluster.c147 return dlm_lock_sync(res, DLM_LOCK_NL); in dlm_unlock_sync()
224 ret = dlm_lock_sync(res, DLM_LOCK_NL); in lockres_init()
/Linux-v4.19/fs/dlm/
Ddebug_fs.c34 case DLM_LOCK_NL: in print_lockmode()
Dlock.c2169 lkb->lkb_grmode = DLM_LOCK_NL; in munge_demoted()
2465 lkb->lkb_grmode = DLM_LOCK_NL; in can_be_granted()
2845 if (flags & DLM_LKF_EXPEDITE && mode != DLM_LOCK_NL) in set_lock_args()