Home
last modified time | relevance | path

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

/fs/dlm/
Drecover.c592 if (lkb->lkb_grmode > DLM_LOCK_CR) { in recover_lvb()
609 if (lkb->lkb_grmode > DLM_LOCK_CR) { in recover_lvb()
660 if (lkb->lkb_grmode == DLM_LOCK_PR || in recover_conversion()
661 lkb->lkb_grmode == DLM_LOCK_CW) { in recover_conversion()
662 grmode = lkb->lkb_grmode; in recover_conversion()
668 if (lkb->lkb_grmode != DLM_LOCK_IV) in recover_conversion()
671 lkb->lkb_grmode = lkb->lkb_rqmode; in recover_conversion()
673 lkb->lkb_grmode = grmode; in recover_conversion()
Dlock.c134 __dlm_compat_matrix[(gr)->lkb_grmode + 1][(rq)->lkb_rqmode + 1]
165 lkb->lkb_grmode, lkb->lkb_wait_type, lkb->lkb_ast_type); in dlm_print_lkb()
259 if ((lkb->lkb_grmode==DLM_LOCK_PR && lkb->lkb_rqmode==DLM_LOCK_CW) || in middle_conversion()
260 (lkb->lkb_rqmode==DLM_LOCK_PR && lkb->lkb_grmode==DLM_LOCK_CW)) in middle_conversion()
267 return (!middle_conversion(lkb) && lkb->lkb_rqmode < lkb->lkb_grmode); in down_conversion()
595 lkb->lkb_grmode = DLM_LOCK_IV; in create_lkb()
761 lkb->lkb_grmode); in add_lkb()
1145 b = dlm_lvb_operations[lkb->lkb_grmode + 1][lkb->lkb_rqmode + 1]; in set_lvb_lock()
1190 if (lkb->lkb_grmode < DLM_LOCK_PW) in set_lvb_unlock()
1228 b = dlm_lvb_operations[lkb->lkb_grmode + 1][lkb->lkb_rqmode + 1]; in set_lvb_lock_pc()
[all …]
Ddebug_fs.c53 seq_printf(s, "%08x %s", lkb->lkb_id, print_lockmode(lkb->lkb_grmode)); in print_format1_lock()
199 lkb->lkb_grmode, in print_format2_lock()
257 lkb->lkb_grmode, in print_format3_lock()
Dnetlink.c116 data->grmode = lkb->lkb_grmode; in fill_data()
Duser.c164 if (lkb->lkb_grmode == DLM_LOCK_IV) in lkb_is_endoflife()
168 if (type == AST_COMP && lkb->lkb_grmode == DLM_LOCK_IV) in lkb_is_endoflife()
237 dlm_lvb_operations[ua->old_mode + 1][lkb->lkb_grmode + 1]) in dlm_user_add_ast()
Ddlm_internal.h234 int8_t lkb_grmode; /* granted lock mode */ member
Drcom.c319 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()