Home
last modified time | relevance | path

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

/linux-4.19.296/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.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()
311 dlm_add_cb(lkb, DLM_CB_CAST, lkb->lkb_grmode, rv, lkb->lkb_sbflags); in queue_cast()
1193 lkb->lkb_grmode = DLM_LOCK_IV; in create_lkb()
1334 lkb->lkb_grmode); in add_lkb()
1958 b = dlm_lvb_operations[lkb->lkb_grmode + 1][lkb->lkb_rqmode + 1]; in set_lvb_lock()
2003 if (lkb->lkb_grmode < DLM_LOCK_PW) in set_lvb_unlock()
[all …]
Dnetlink.c105 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.h246 int8_t lkb_grmode; /* granted lock mode */ member
Drcom.c386 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()
Dlockspace.c729 return lkb->lkb_nodeid == 0 && lkb->lkb_grmode != DLM_LOCK_IV; in lkb_idr_is_local()