Home
last modified time | relevance | path

Searched refs:DLM_LOCK_CW (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/include/uapi/linux/
H A Ddlmconstants.h33 #define DLM_LOCK_CW 2 /* concurrent write */ macro
/linux-6.15/fs/gfs2/
H A Dlock_dlm.c196 case DLM_LOCK_CW: in gdlm_bast()
218 return DLM_LOCK_CW; in make_mode()
231 return (cur == DLM_LOCK_PR && req == DLM_LOCK_CW) || in middle_conversion()
232 (cur == DLM_LOCK_CW && req == DLM_LOCK_PR); in middle_conversion()
259 else if (req == DLM_LOCK_CW) in make_flags()
H A Dtrace_gfs2.h79 return DLM_LOCK_CW; in glock_trace_state()
/linux-6.15/fs/dlm/
H A Drecover.c826 lkb->lkb_grmode == DLM_LOCK_CW) { in recover_conversion()
843 if (((lkb->lkb_grmode == DLM_LOCK_PR) && (other_grmode == DLM_LOCK_CW)) || in recover_conversion()
844 ((lkb->lkb_grmode == DLM_LOCK_CW) && (other_grmode == DLM_LOCK_PR))) { in recover_conversion()
H A 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()
2131 lkb->lkb_rqmode = DLM_LOCK_CW; in munge_altmode()
2433 else if (rqmode != DLM_LOCK_CW && (lkb->lkb_exflags & DLM_LKF_ALTCW)) in can_be_granted()
2434 alt = DLM_LOCK_CW; in can_be_granted()
2506 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert()
2532 if (lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_wait()
2587 queue_bast(r, lkb, DLM_LOCK_CW); in grant_pending_locks()
2597 if ((gr->lkb_grmode == DLM_LOCK_PR && rq->lkb_rqmode == DLM_LOCK_CW) || in modes_require_bast()
2598 (gr->lkb_grmode == DLM_LOCK_CW && rq->lkb_rqmode == DLM_LOCK_PR)) { in modes_require_bast()
H A Ddebug_fs.c39 case DLM_LOCK_CW: in print_lockmode()
/linux-6.15/fs/ocfs2/
H A Dstack_o2cb.c41 #if (DLM_LOCK_CW != LKM_CWMODE)
/linux-6.15/include/trace/events/
H A Ddlm.h40 { DLM_LOCK_CW, "CW"}, \
/linux-6.15/drivers/md/
H A Dmd-cluster.c775 error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_CW); in __sendmsg()