Lines Matching refs:lkb
404 struct dlm_lkb *lkb; in set_lock_master() local
406 list_for_each_entry(lkb, queue, lkb_statequeue) { in set_lock_master()
407 if (!test_bit(DLM_IFL_MSTCPY_BIT, &lkb->lkb_iflags)) { in set_lock_master()
408 lkb->lkb_nodeid = nodeid; in set_lock_master()
409 lkb->lkb_remid = 0; in set_lock_master()
621 struct dlm_lkb *lkb; in recover_locks_queue() local
624 list_for_each_entry(lkb, head, lkb_statequeue) { in recover_locks_queue()
625 error = dlm_send_rcom_lock(r, lkb, seq); in recover_locks_queue()
823 struct dlm_lkb *lkb; in recover_conversion() local
826 list_for_each_entry(lkb, &r->res_grantqueue, lkb_statequeue) { in recover_conversion()
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()
834 list_for_each_entry(lkb, &r->res_convertqueue, lkb_statequeue) { in recover_conversion()
835 if (lkb->lkb_grmode != DLM_LOCK_IV) in recover_conversion()
839 lkb->lkb_id, lkb->lkb_rqmode); in recover_conversion()
840 lkb->lkb_grmode = lkb->lkb_rqmode; in recover_conversion()
843 lkb->lkb_id, grmode); in recover_conversion()
844 lkb->lkb_grmode = grmode; in recover_conversion()