Home
last modified time | relevance | path

Searched refs:DLM_LOCK_PR (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/fs/ocfs2/dlmfs/
Duserdlm.c106 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()
Ddlmfs.c107 *level = DLM_LOCK_PR; in dlmfs_decode_open_flags()
/linux-6.1.9/fs/ocfs2/
Ddlmglue.c847 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 …]
Dstack_o2cb.c44 #if (DLM_LOCK_PR != LKM_PRMODE)
Dstack_user.c908 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/
Ddlmconstants.h34 #define DLM_LOCK_PR 3 /* protected read */ macro
/linux-6.1.9/fs/gfs2/
Dlock_dlm.c181 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()
Dtrace_gfs2.h69 return DLM_LOCK_PR; in glock_trace_state()
/linux-6.1.9/fs/dlm/
Dast.c79 (prev_mode > mode && prev_mode > DLM_LOCK_PR)) { in dlm_add_lkb_callback()
Dlock.c263 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()
Drecover.c825 if (lkb->lkb_grmode == DLM_LOCK_PR || in recover_conversion()
Ddebug_fs.c40 case DLM_LOCK_PR: in print_lockmode()
/linux-6.1.9/include/trace/events/
Ddlm.h40 { DLM_LOCK_PR, "PR"}, \
/linux-6.1.9/drivers/md/
Dmd-cluster.c647 ret = dlm_lock_sync(message_lockres, DLM_LOCK_PR); in recv_daemon()