Searched refs:DLM_LOCK_PR (Results 1 – 12 of 12) sorted by relevance
/linux-4.19.296/fs/ocfs2/dlmfs/ |
D | userdlm.c | 122 else if (level == DLM_LOCK_PR) in user_highest_compat_lock_level() 123 new_level = DLM_LOCK_PR; in user_highest_compat_lock_level() 203 case DLM_LOCK_PR: in __user_dlm_cond_queue_lockres() 368 if ((lockres->l_blocking == DLM_LOCK_PR) in user_dlm_unblock_lock() 406 case DLM_LOCK_PR: in user_dlm_inc_holders() 435 level != DLM_LOCK_PR) { in user_dlm_cluster_lock() 526 case DLM_LOCK_PR: in user_dlm_dec_holders() 539 level != DLM_LOCK_PR) { in user_dlm_cluster_unlock() 581 BUG_ON(lockres->l_level < DLM_LOCK_PR); in user_dlm_read_lvb()
|
D | dlmfs.c | 123 *level = DLM_LOCK_PR; in dlmfs_decode_open_flags()
|
/linux-4.19.296/include/uapi/linux/ |
D | dlmconstants.h | 34 #define DLM_LOCK_PR 3 /* protected read */ macro
|
/linux-4.19.296/fs/ocfs2/ |
D | dlmglue.c | 836 case DLM_LOCK_PR: in ocfs2_inc_holders() 854 case DLM_LOCK_PR: in ocfs2_dec_holders() 872 else if (level == DLM_LOCK_PR) in ocfs2_highest_compat_lock_level() 873 new_level = DLM_LOCK_PR; in ocfs2_highest_compat_lock_level() 1644 if (level == DLM_LOCK_PR) in __ocfs2_cluster_lock() 1690 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_create_new_lock() 1764 level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_rw_lock() 1788 level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_try_rw_lock() 1796 int level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_rw_unlock() 1825 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_PR, 0, 0); in ocfs2_open_lock() [all …]
|
D | stack_o2cb.c | 54 #if (DLM_LOCK_PR != LKM_PRMODE)
|
D | stack_user.c | 924 version_lock(conn, DLM_LOCK_PR, DLM_LKF_CONVERT|DLM_LKF_VALBLK); in get_protocol_version() 926 ret = version_lock(conn, DLM_LOCK_PR, DLM_LKF_VALBLK); in get_protocol_version()
|
/linux-4.19.296/fs/gfs2/ |
D | lock_dlm.c | 177 case DLM_LOCK_PR: in gdlm_bast() 198 return DLM_LOCK_PR; in make_mode() 227 if (req == DLM_LOCK_PR) in make_flags() 842 error = mounted_lock(sdp, DLM_LOCK_PR, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE); in control_mount() 844 mounted_mode = DLM_LOCK_PR; in control_mount() 1001 error = mounted_lock(sdp, DLM_LOCK_PR, DLM_LKF_CONVERT); in control_first_done()
|
D | trace_gfs2.h | 70 return DLM_LOCK_PR; in glock_trace_state()
|
/linux-4.19.296/fs/dlm/ |
D | ast.c | 79 (prev_mode > mode && prev_mode > DLM_LOCK_PR)) { in dlm_add_lkb_callback()
|
D | lock.c | 263 if ((lkb->lkb_grmode==DLM_LOCK_PR && lkb->lkb_rqmode==DLM_LOCK_CW) || in middle_conversion() 264 (lkb->lkb_rqmode==DLM_LOCK_PR && lkb->lkb_grmode==DLM_LOCK_CW)) in middle_conversion() 2186 lkb->lkb_rqmode = DLM_LOCK_PR; in munge_altmode() 2488 if (rqmode != DLM_LOCK_PR && (lkb->lkb_exflags & DLM_LKF_ALTPR)) in can_be_granted() 2489 alt = DLM_LOCK_PR; in can_be_granted() 2604 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast() 2642 if (cw && high == DLM_LOCK_PR && in grant_pending_locks() 2643 lkb->lkb_grmode == DLM_LOCK_PR) in grant_pending_locks() 2654 if ((gr->lkb_grmode == DLM_LOCK_PR && rq->lkb_rqmode == DLM_LOCK_CW) || in modes_require_bast() 2655 (gr->lkb_grmode == DLM_LOCK_CW && rq->lkb_rqmode == DLM_LOCK_PR)) { in modes_require_bast()
|
D | recover.c | 827 if (lkb->lkb_grmode == DLM_LOCK_PR || in recover_conversion()
|
D | debug_fs.c | 40 case DLM_LOCK_PR: in print_lockmode()
|