Home
last modified time | relevance | path

Searched refs:lkb_grmode (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/fs/dlm/
Drecover.c761 if (iter->lkb_grmode > DLM_LOCK_CR) { in recover_lvb()
778 if (iter->lkb_grmode > DLM_LOCK_CR) { in recover_lvb()
827 if (lkb->lkb_grmode == DLM_LOCK_PR || in recover_conversion()
828 lkb->lkb_grmode == DLM_LOCK_CW) { in recover_conversion()
829 grmode = lkb->lkb_grmode; in recover_conversion()
835 if (lkb->lkb_grmode != DLM_LOCK_IV) in recover_conversion()
840 lkb->lkb_grmode = lkb->lkb_rqmode; in recover_conversion()
844 lkb->lkb_grmode = grmode; in recover_conversion()
Dlock.c136 __dlm_compat_matrix[(gr)->lkb_grmode + 1][(rq)->lkb_rqmode + 1]
167 lkb->lkb_grmode, lkb->lkb_wait_type, lkb->lkb_wait_nodeid, in dlm_print_lkb()
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()
271 return (!middle_conversion(lkb) && lkb->lkb_rqmode < lkb->lkb_grmode); in down_conversion()
301 dlm_add_cb(lkb, DLM_CB_CAST, lkb->lkb_grmode, rv, dlm_sbflags_val(lkb)); in queue_cast()
1202 lkb->lkb_grmode = DLM_LOCK_IV; in _create_lkb()
1357 lkb->lkb_grmode); in add_lkb()
1730 b = dlm_lvb_operations[lkb->lkb_grmode + 1][lkb->lkb_rqmode + 1]; in set_lvb_lock()
1775 if (lkb->lkb_grmode < DLM_LOCK_PW) in set_lvb_unlock()
[all …]
Ddebug_fs.c55 seq_printf(s, "%08x %s", lkb->lkb_id, print_lockmode(lkb->lkb_grmode)); in print_format1_lock()
194 lkb->lkb_grmode, in print_format2_lock()
248 lkb->lkb_grmode, in print_format3_lock()
Ddlm_internal.h245 int8_t lkb_grmode; /* granted lock mode */ member
Drcom.c429 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()
Dlockspace.c732 return lkb->lkb_nodeid == 0 && lkb->lkb_grmode != DLM_LOCK_IV; in lkb_idr_is_local()