Home
last modified time | relevance | path

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

/linux-6.1.9/fs/dlm/
Drecover.c759 if (iter->lkb_grmode > DLM_LOCK_CR) { in recover_lvb()
776 if (iter->lkb_grmode > DLM_LOCK_CR) { in recover_lvb()
825 if (lkb->lkb_grmode == DLM_LOCK_PR || in recover_conversion()
826 lkb->lkb_grmode == DLM_LOCK_CW) { in recover_conversion()
827 grmode = lkb->lkb_grmode; in recover_conversion()
833 if (lkb->lkb_grmode != DLM_LOCK_IV) in recover_conversion()
838 lkb->lkb_grmode = lkb->lkb_rqmode; in recover_conversion()
842 lkb->lkb_grmode = grmode; in recover_conversion()
Dlock.c137 __dlm_compat_matrix[(gr)->lkb_grmode + 1][(rq)->lkb_rqmode + 1]
168 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()
313 dlm_add_cb(lkb, DLM_CB_CAST, lkb->lkb_grmode, rv, lkb->lkb_sbflags); in queue_cast()
1213 lkb->lkb_grmode = DLM_LOCK_IV; in _create_lkb()
1370 lkb->lkb_grmode); in add_lkb()
1923 b = dlm_lvb_operations[lkb->lkb_grmode + 1][lkb->lkb_rqmode + 1]; in set_lvb_lock()
1968 if (lkb->lkb_grmode < DLM_LOCK_PW) in set_lvb_unlock()
[all …]
Dnetlink.c104 data->grmode = lkb->lkb_grmode; in fill_data()
Ddebug_fs.c54 seq_printf(s, "%08x %s", lkb->lkb_id, print_lockmode(lkb->lkb_grmode)); in print_format1_lock()
193 lkb->lkb_grmode, in print_format2_lock()
247 lkb->lkb_grmode, in print_format3_lock()
Ddlm_internal.h253 int8_t lkb_grmode; /* granted lock mode */ member
Drcom.c421 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()
Dlockspace.c759 return lkb->lkb_nodeid == 0 && lkb->lkb_grmode != DLM_LOCK_IV; in lkb_idr_is_local()