Home
last modified time | relevance | path

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

/Linux-v6.6/fs/ocfs2/dlmfs/
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()
Ddlmfs.c105 *level = DLM_LOCK_EX; in dlmfs_decode_open_flags()
/Linux-v6.6/fs/ocfs2/
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()
1704 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_create_new_lock()
1778 level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_rw_lock()
1802 level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_try_rw_lock()
1810 int level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_rw_unlock()
1868 level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_try_open_lock()
1899 ocfs2_cluster_unlock(osb, lockres, DLM_LOCK_EX); in ocfs2_open_unlock()
[all …]
Dstack_o2cb.c50 #if (DLM_LOCK_EX != LKM_EXMODE)
Dstack_user.c896 ret = version_lock(conn, DLM_LOCK_EX, in get_protocol_version()
/Linux-v6.6/include/uapi/linux/
Ddlmconstants.h36 #define DLM_LOCK_EX 5 /* exclusive */ macro
/Linux-v6.6/fs/gfs2/
Dlock_dlm.c175 case DLM_LOCK_EX: in gdlm_bast()
198 return DLM_LOCK_EX; in make_mode()
668 error = control_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_VALBLK); in gfs2_control_func()
857 error = control_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE|DLM_LKF_VALBLK); in control_mount()
872 error = mounted_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE); in control_mount()
874 mounted_mode = DLM_LOCK_EX; in control_mount()
912 if (mounted_mode == DLM_LOCK_EX) { in control_mount()
Dtrace_gfs2.h73 return DLM_LOCK_EX; in glock_trace_state()
/Linux-v6.6/drivers/md/
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()
/Linux-v6.6/include/trace/events/
Ddlm.h43 { DLM_LOCK_EX, "EX"})
/Linux-v6.6/fs/dlm/
Ddebug_fs.c45 case DLM_LOCK_EX: in print_lockmode()
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()