Searched refs:DLM_LOCK_EX (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/fs/ocfs2/dlmfs/ |
D | userdlm.c | 102 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()
|
D | dlmfs.c | 105 *level = DLM_LOCK_EX; in dlmfs_decode_open_flags()
|
/linux-6.1.9/fs/ocfs2/ |
D | dlmglue.c | 844 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 …]
|
D | stack_o2cb.c | 50 #if (DLM_LOCK_EX != LKM_EXMODE)
|
D | stack_user.c | 902 ret = version_lock(conn, DLM_LOCK_EX, in get_protocol_version()
|
/linux-6.1.9/include/uapi/linux/ |
D | dlmconstants.h | 36 #define DLM_LOCK_EX 5 /* exclusive */ macro
|
/linux-6.1.9/fs/gfs2/ |
D | lock_dlm.c | 175 case DLM_LOCK_EX: in gdlm_bast() 198 return DLM_LOCK_EX; in make_mode() 676 error = control_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_VALBLK); in gfs2_control_func() 865 error = control_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE|DLM_LKF_VALBLK); in control_mount() 880 error = mounted_lock(sdp, DLM_LOCK_EX, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE); in control_mount() 882 mounted_mode = DLM_LOCK_EX; in control_mount() 920 if (mounted_mode == DLM_LOCK_EX) { in control_mount()
|
D | trace_gfs2.h | 73 return DLM_LOCK_EX; in glock_trace_state()
|
/linux-6.1.9/drivers/md/ |
D | md-cluster.c | 424 if (mode == DLM_LOCK_EX) { in ack_bast() 670 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token() 714 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX); in unlock_comm() 740 error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_EX); in __sendmsg() 757 error = dlm_lock_sync(cinfo->ack_lockres, DLM_LOCK_EX); in __sendmsg() 907 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join() 1063 if (cinfo->token_lockres->mode == DLM_LOCK_EX) { in metadata_update_start() 1321 return dlm_lock_sync_interruptible(cinfo->resync_lockres, DLM_LOCK_EX, mddev); in resync_start() 1422 ret = dlm_lock_sync(cinfo->no_new_dev_lockres, DLM_LOCK_EX); in add_new_disk()
|
/linux-6.1.9/include/trace/events/ |
D | dlm.h | 42 { DLM_LOCK_EX, "EX"})
|
/linux-6.1.9/fs/dlm/ |
D | debug_fs.c | 44 case DLM_LOCK_EX: in print_lockmode()
|
D | lock.c | 2570 if (gr->lkb_highbast < DLM_LOCK_EX) in lock_requires_bast() 2621 if (gr->lkb_highbast < DLM_LOCK_EX) in modes_require_bast() 2795 if (mode < 0 || mode > DLM_LOCK_EX) in set_lock_args()
|