Home
last modified time | relevance | path

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

/Linux-v5.15/include/uapi/linux/
Ddlmconstants.h33 #define DLM_LOCK_CW 2 /* concurrent write */ macro
/Linux-v5.15/fs/gfs2/
Dlock_dlm.c178 case DLM_LOCK_CW: in gdlm_bast()
200 return DLM_LOCK_CW; in make_mode()
233 else if (req == DLM_LOCK_CW) in make_flags()
Dtrace_gfs2.h71 return DLM_LOCK_CW; in glock_trace_state()
/Linux-v5.15/fs/ocfs2/
Dstack_o2cb.c41 #if (DLM_LOCK_CW != LKM_CWMODE)
/Linux-v5.15/fs/dlm/
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()
2183 lkb->lkb_rqmode = DLM_LOCK_CW; in munge_altmode()
2485 else if (rqmode != DLM_LOCK_CW && (lkb->lkb_exflags & DLM_LKF_ALTCW)) in can_be_granted()
2486 alt = DLM_LOCK_CW; in can_be_granted()
2558 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert()
2584 if (lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_wait()
2639 queue_bast(r, lkb, DLM_LOCK_CW); 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()
Drecover.c827 lkb->lkb_grmode == DLM_LOCK_CW) { in recover_conversion()
Ddebug_fs.c38 case DLM_LOCK_CW: in print_lockmode()
/Linux-v5.15/drivers/md/
Dmd-cluster.c749 error = dlm_lock_sync(cinfo->message_lockres, DLM_LOCK_CW); in __sendmsg()