Home
last modified time | relevance | path

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

/linux/fs/ocfs2/dlmfs/
A 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()
505 case DLM_LOCK_PR: in user_dlm_dec_holders()
518 level != DLM_LOCK_PR) { in user_dlm_cluster_unlock()
556 BUG_ON(lockres->l_level < DLM_LOCK_PR); in user_dlm_read_lvb()
A Ddlmfs.c107 *level = DLM_LOCK_PR; in dlmfs_decode_open_flags()
/linux/fs/ocfs2/
A 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()
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()
2127 case DLM_LOCK_PR: in ocfs2_downconvert_on_unlock()
2457 level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_lock_full_nested()
3836 if (lockres->l_blocking == DLM_LOCK_PR && in ocfs2_unblock_lock()
[all …]
A Dstack_o2cb.c44 #if (DLM_LOCK_PR != LKM_PRMODE)
A Dstack_user.c914 version_lock(conn, DLM_LOCK_PR, DLM_LKF_CONVERT|DLM_LKF_VALBLK); in get_protocol_version()
916 ret = version_lock(conn, DLM_LOCK_PR, DLM_LKF_VALBLK); in get_protocol_version()
/linux/include/uapi/linux/
A Ddlmconstants.h34 #define DLM_LOCK_PR 3 /* protected read */ macro
/linux/fs/gfs2/
A 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()
876 error = mounted_lock(sdp, DLM_LOCK_PR, DLM_LKF_CONVERT|DLM_LKF_NOQUEUE); in control_mount()
878 mounted_mode = DLM_LOCK_PR; in control_mount()
1035 error = mounted_lock(sdp, DLM_LOCK_PR, DLM_LKF_CONVERT); in control_first_done()
A Dtrace_gfs2.h69 return DLM_LOCK_PR; in glock_trace_state()
/linux/fs/dlm/
A Dast.c77 (prev_mode > mode && prev_mode > DLM_LOCK_PR)) { in dlm_add_lkb_callback()
A Dlock.c261 if ((lkb->lkb_grmode==DLM_LOCK_PR && lkb->lkb_rqmode==DLM_LOCK_CW) || in middle_conversion()
262 (lkb->lkb_rqmode==DLM_LOCK_PR && lkb->lkb_grmode==DLM_LOCK_CW)) in middle_conversion()
2181 lkb->lkb_rqmode = DLM_LOCK_PR; in munge_altmode()
2483 if (rqmode != DLM_LOCK_PR && (lkb->lkb_exflags & DLM_LKF_ALTPR)) in can_be_granted()
2484 alt = DLM_LOCK_PR; in can_be_granted()
2599 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast()
2637 if (cw && high == DLM_LOCK_PR && in grant_pending_locks()
2638 lkb->lkb_grmode == DLM_LOCK_PR) in grant_pending_locks()
2649 if ((gr->lkb_grmode == DLM_LOCK_PR && rq->lkb_rqmode == DLM_LOCK_CW) || in modes_require_bast()
2650 (gr->lkb_grmode == DLM_LOCK_CW && rq->lkb_rqmode == DLM_LOCK_PR)) { in modes_require_bast()
A Drecover.c826 if (lkb->lkb_grmode == DLM_LOCK_PR || in recover_conversion()
A Ddebug_fs.c40 case DLM_LOCK_PR: in print_lockmode()
/linux/drivers/md/
A Dmd-cluster.c647 ret = dlm_lock_sync(message_lockres, DLM_LOCK_PR); in recv_daemon()

Completed in 36 milliseconds