Home
last modified time | relevance | path

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

/Linux-v5.4/fs/gfs2/
Dlock_dlm.c189 return DLM_LOCK_NL; in make_mode()
639 control_lock(sdp, DLM_LOCK_NL, DLM_LKF_CONVERT); in gfs2_control_func()
708 error = control_lock(sdp, DLM_LOCK_NL, flags); in gfs2_control_func()
768 error = control_lock(sdp, DLM_LOCK_NL, DLM_LKF_VALBLK); in control_mount()
774 error = mounted_lock(sdp, DLM_LOCK_NL, 0); in control_mount()
780 mounted_mode = DLM_LOCK_NL; in control_mount()
793 if (mounted_mode != DLM_LOCK_NL) { in control_mount()
794 error = mounted_lock(sdp, DLM_LOCK_NL, DLM_LKF_CONVERT); in control_mount()
797 mounted_mode = DLM_LOCK_NL; in control_mount()
880 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-v5.4/include/uapi/linux/
Ddlmconstants.h31 #define DLM_LOCK_NL 0 /* null */ macro
/Linux-v5.4/fs/ocfs2/
Ddlmglue.c877 new_level = DLM_LOCK_NL; in ocfs2_highest_compat_lock_level()
917 BUG_ON(lockres->l_blocking <= DLM_LOCK_NL); in ocfs2_generic_handle_downconvert_action()
922 lockres->l_blocking = DLM_LOCK_NL; in ocfs2_generic_handle_downconvert_action()
937 if (lockres->l_level == DLM_LOCK_NL && in ocfs2_generic_handle_convert_action()
963 if (lockres->l_requested > DLM_LOCK_NL && in ocfs2_generic_handle_attach_action()
1115 BUG_ON(level <= DLM_LOCK_NL); in ocfs2_blocking_ast()
1570 BUG_ON(level == DLM_LOCK_NL); in __ocfs2_cluster_lock()
1981 (lockres->l_level > DLM_LOCK_NL)) { in ocfs2_file_lock()
1998 ret = ocfs2_lock_create(osb, lockres, DLM_LOCK_NL, 0); in ocfs2_file_lock()
2079 if (lockres->l_level == DLM_LOCK_NL) in ocfs2_file_unlock()
[all …]
Dstack_o2cb.c37 #if (DLM_LOCK_NL != LKM_NLMODE)
/Linux-v5.4/fs/ocfs2/dlmfs/
Duserdlm.c107 new_level = DLM_LOCK_NL; in user_highest_compat_lock_level()
140 lockres->l_blocking = DLM_LOCK_NL; in user_ast()
472 BUG_ON(level == DLM_LOCK_NL); in user_dlm_cluster_lock()
/Linux-v5.4/drivers/md/
Dmd-cluster.c142 return dlm_lock_sync(res, DLM_LOCK_NL); in dlm_unlock_sync()
219 ret = dlm_lock_sync(res, DLM_LOCK_NL); in lockres_init()
/Linux-v5.4/fs/dlm/
Ddebug_fs.c32 case DLM_LOCK_NL: in print_lockmode()
Dlock.c2168 lkb->lkb_grmode = DLM_LOCK_NL; in munge_demoted()
2464 lkb->lkb_grmode = DLM_LOCK_NL; in can_be_granted()
2844 if (flags & DLM_LKF_EXPEDITE && mode != DLM_LOCK_NL) in set_lock_args()