Searched refs:DLM_LOCK_PR (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/fs/ocfs2/dlmfs/ |
D | userdlm.c | 106 else if (level == DLM_LOCK_PR) in user_highest_compat_lock_level() 107 new_level = DLM_LOCK_PR; in user_highest_compat_lock_level() 187 case DLM_LOCK_PR: in __user_dlm_cond_queue_lockres() 352 if ((lockres->l_blocking == DLM_LOCK_PR) in user_dlm_unblock_lock() 390 case DLM_LOCK_PR: in user_dlm_inc_holders() 419 level != DLM_LOCK_PR) { in user_dlm_cluster_lock() 510 case DLM_LOCK_PR: in user_dlm_dec_holders() 523 level != DLM_LOCK_PR) { in user_dlm_cluster_unlock() 561 BUG_ON(lockres->l_level < DLM_LOCK_PR); in user_dlm_read_lvb()
|
D | dlmfs.c | 107 *level = DLM_LOCK_PR; in dlmfs_decode_open_flags()
|
/linux-6.1.9/fs/ocfs2/ |
D | dlmglue.c | 847 case DLM_LOCK_PR: in ocfs2_inc_holders() 865 case DLM_LOCK_PR: in ocfs2_dec_holders() 883 else if (level == DLM_LOCK_PR) in ocfs2_highest_compat_lock_level() 884 new_level = DLM_LOCK_PR; in ocfs2_highest_compat_lock_level() 1658 if (level == DLM_LOCK_PR) in __ocfs2_cluster_lock() 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() 1839 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_PR, 0, 0); in ocfs2_open_lock() [all …]
|
D | stack_o2cb.c | 44 #if (DLM_LOCK_PR != LKM_PRMODE)
|
D | stack_user.c | 908 version_lock(conn, DLM_LOCK_PR, DLM_LKF_CONVERT|DLM_LKF_VALBLK); in get_protocol_version() 910 ret = version_lock(conn, DLM_LOCK_PR, DLM_LKF_VALBLK); in get_protocol_version()
|
/linux-6.1.9/include/uapi/linux/ |
D | dlmconstants.h | 34 #define DLM_LOCK_PR 3 /* protected read */ macro
|
/linux-6.1.9/fs/gfs2/ |
D | lock_dlm.c | 181 case DLM_LOCK_PR: in gdlm_bast() 202 return DLM_LOCK_PR; in make_mode() 231 if (req == DLM_LOCK_PR) in make_flags() 889 error = mounted_lock(sdp, DLM_LOCK_PR, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE); in control_mount() 891 mounted_mode = DLM_LOCK_PR; in control_mount() 1048 error = mounted_lock(sdp, DLM_LOCK_PR, DLM_LKF_CONVERT); in control_first_done()
|
D | trace_gfs2.h | 69 return DLM_LOCK_PR; in glock_trace_state()
|
/linux-6.1.9/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() 2151 lkb->lkb_rqmode = DLM_LOCK_PR; in munge_altmode() 2453 if (rqmode != DLM_LOCK_PR && (lkb->lkb_exflags & DLM_LKF_ALTPR)) in can_be_granted() 2454 alt = DLM_LOCK_PR; in can_be_granted() 2569 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast() 2607 if (cw && high == DLM_LOCK_PR && in grant_pending_locks() 2608 lkb->lkb_grmode == DLM_LOCK_PR) in grant_pending_locks() 2619 if ((gr->lkb_grmode == DLM_LOCK_PR && rq->lkb_rqmode == DLM_LOCK_CW) || in modes_require_bast() 2620 (gr->lkb_grmode == DLM_LOCK_CW && rq->lkb_rqmode == DLM_LOCK_PR)) { in modes_require_bast()
|
D | recover.c | 825 if (lkb->lkb_grmode == DLM_LOCK_PR || in recover_conversion()
|
D | debug_fs.c | 40 case DLM_LOCK_PR: in print_lockmode()
|
/linux-6.1.9/include/trace/events/ |
D | dlm.h | 40 { DLM_LOCK_PR, "PR"}, \
|
/linux-6.1.9/drivers/md/ |
D | md-cluster.c | 647 ret = dlm_lock_sync(message_lockres, DLM_LOCK_PR); in recv_daemon()
|