Home
last modified time | relevance | path

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

/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.c135 __dlm_compat_matrix[(gr)->lkb_grmode + 1][(rq)->lkb_rqmode + 1]
166 lkb->lkb_grmode, lkb->lkb_wait_type, lkb->lkb_wait_nodeid, in dlm_print_lkb()
261 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()
269 return (!middle_conversion(lkb) && lkb->lkb_rqmode < lkb->lkb_grmode); in down_conversion()
309 dlm_add_cb(lkb, DLM_CB_CAST, lkb->lkb_grmode, rv, lkb->lkb_sbflags); in queue_cast()
1191 lkb->lkb_grmode = DLM_LOCK_IV; in create_lkb()
1332 lkb->lkb_grmode); in add_lkb()
1956 b = dlm_lvb_operations[lkb->lkb_grmode + 1][lkb->lkb_rqmode + 1]; in set_lvb_lock()
2001 if (lkb->lkb_grmode < DLM_LOCK_PW) in set_lvb_unlock()
[all …]
Dnetlink.c103 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.h247 int8_t lkb_grmode; /* granted lock mode */ member
Drcom.c419 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()
Dlockspace.c718 return lkb->lkb_nodeid == 0 && lkb->lkb_grmode != DLM_LOCK_IV; in lkb_idr_is_local()