Lines Matching refs:lkb
403 struct dlm_lkb *lkb; in set_lock_master() local
405 list_for_each_entry(lkb, queue, lkb_statequeue) { in set_lock_master()
406 if (!(lkb->lkb_flags & DLM_IFL_MSTCPY)) { in set_lock_master()
407 lkb->lkb_nodeid = nodeid; in set_lock_master()
408 lkb->lkb_remid = 0; in set_lock_master()
619 struct dlm_lkb *lkb; in recover_locks_queue() local
622 list_for_each_entry(lkb, head, lkb_statequeue) { in recover_locks_queue()
623 error = dlm_send_rcom_lock(r, lkb); in recover_locks_queue()
821 struct dlm_lkb *lkb; in recover_conversion() local
824 list_for_each_entry(lkb, &r->res_grantqueue, lkb_statequeue) { in recover_conversion()
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()
832 list_for_each_entry(lkb, &r->res_convertqueue, lkb_statequeue) { in recover_conversion()
833 if (lkb->lkb_grmode != DLM_LOCK_IV) in recover_conversion()
837 lkb->lkb_id, lkb->lkb_rqmode); in recover_conversion()
838 lkb->lkb_grmode = lkb->lkb_rqmode; in recover_conversion()
841 lkb->lkb_id, grmode); in recover_conversion()
842 lkb->lkb_grmode = grmode; in recover_conversion()