Home
last modified time | relevance | path

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

/openbmc/linux/fs/ocfs2/dlmfs/
H A Duserdlm.c102 int new_level = DLM_LOCK_EX; in user_highest_compat_lock_level()
104 if (level == DLM_LOCK_EX) in user_highest_compat_lock_level()
183 case DLM_LOCK_EX: in __user_dlm_cond_queue_lockres()
343 if ((lockres->l_blocking == DLM_LOCK_EX) in user_dlm_unblock_lock()
387 case DLM_LOCK_EX: in user_dlm_inc_holders()
418 if (level != DLM_LOCK_EX && in user_dlm_cluster_lock()
506 case DLM_LOCK_EX: in user_dlm_dec_holders()
522 if (level != DLM_LOCK_EX && in user_dlm_cluster_unlock()
546 BUG_ON(lockres->l_level < DLM_LOCK_EX); in user_dlm_write_lvb()
H A Ddlmfs.c105 *level = DLM_LOCK_EX; in dlmfs_decode_open_flags()
/openbmc/linux/fs/ocfs2/
H A Ddlmglue.c844 case DLM_LOCK_EX: in ocfs2_inc_holders()
861 case DLM_LOCK_EX: in ocfs2_dec_holders()
879 int new_level = DLM_LOCK_EX; in ocfs2_highest_compat_lock_level()
881 if (level == DLM_LOCK_EX) in ocfs2_highest_compat_lock_level()
2096 lockres->l_blocking = DLM_LOCK_EX; in ocfs2_file_unlock()
2123 case DLM_LOCK_EX: in ocfs2_downconvert_on_unlock()
2459 level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_lock_full_nested()
3454 lockres->l_level == DLM_LOCK_EX && in ocfs2_drop_lock()
3830 if ((lockres->l_blocking == DLM_LOCK_EX) in ocfs2_unblock_lock()
3903 if (lockres->l_level == DLM_LOCK_EX) in ocfs2_unblock_lock()
[all …]
H A Dstack_o2cb.c50 #if (DLM_LOCK_EX != LKM_EXMODE)
H A Dstack_user.c896 ret = version_lock(conn, DLM_LOCK_EX, in get_protocol_version()
/openbmc/linux/include/uapi/linux/
H A Ddlmconstants.h36 #define DLM_LOCK_EX 5 /* exclusive */ macro
/openbmc/linux/fs/gfs2/
H A Dlock_dlm.c183 case DLM_LOCK_EX: in gdlm_bast()
206 return DLM_LOCK_EX; in make_mode()
680 error = control_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_VALBLK); in gfs2_control_func()
869 error = control_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE|DLM_LKF_VALBLK); in control_mount()
884 error = mounted_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE); in control_mount()
886 mounted_mode = DLM_LOCK_EX; in control_mount()
924 if (mounted_mode == DLM_LOCK_EX) { in control_mount()
H A Dtrace_gfs2.h73 return DLM_LOCK_EX; in glock_trace_state()
/openbmc/linux/drivers/md/
H A Dmd-cluster.c424 if (mode == DLM_LOCK_EX) { in ack_bast()
674 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token()
718 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX); in unlock_comm()
744 error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_EX); in __sendmsg()
761 error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_EX); in __sendmsg()
912 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join()
1068 if (cinfo->token_lockres->mode == DLM_LOCK_EX) { in metadata_update_start()
1326 return dlm_lock_sync_interruptible(cinfo->resync_lockres, DLM_LOCK_EX, mddev); in resync_start()
1427 ret = dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_EX); in add_new_disk()
/openbmc/linux/include/trace/events/
H A Ddlm.h43 { DLM_LOCK_EX, "EX"})
/openbmc/linux/fs/dlm/
H A Ddebug_fs.c45 case DLM_LOCK_EX: in print_lockmode()
H A Dlock.c2377 if (gr->lkb_highbast < DLM_LOCK_EX) in lock_requires_bast()
2428 if (gr->lkb_highbast < DLM_LOCK_EX) in modes_require_bast()
2591 if (mode < 0 || mode > DLM_LOCK_EX) in set_lock_args()