Lines Matching defs:lkb
234 * new lkb's and need to receive new corresponding lkid's.
404 struct dlm_lkb *lkb;
406 list_for_each_entry(lkb, queue, lkb_statequeue) {
407 if (!test_bit(DLM_IFL_MSTCPY_BIT, &lkb->lkb_iflags)) {
408 lkb->lkb_nodeid = nodeid;
409 lkb->lkb_remid = 0;
614 * keep a count of the number of lkb's we send to the new master; when we get
621 struct dlm_lkb *lkb;
624 list_for_each_entry(lkb, head, lkb_statequeue) {
625 error = dlm_send_rcom_lock(r, lkb, seq);
730 * of the rsb (NEW_MASTER2). Then, the rsb's lvb is taken from any lkb with
731 * mode > CR. If no lkb's exist with mode above CR, the lvb contents are taken
732 * from the lkb with the largest lvb sequence number.
753 be set, and set the rsb lvb from the best lkb available. */
823 struct dlm_lkb *lkb;
826 list_for_each_entry(lkb, &r->res_grantqueue, lkb_statequeue) {
827 if (lkb->lkb_grmode == DLM_LOCK_PR ||
828 lkb->lkb_grmode == DLM_LOCK_CW) {
829 grmode = lkb->lkb_grmode;
834 list_for_each_entry(lkb, &r->res_convertqueue, lkb_statequeue) {
835 if (lkb->lkb_grmode != DLM_LOCK_IV)
839 lkb->lkb_id, lkb->lkb_rqmode);
840 lkb->lkb_grmode = lkb->lkb_rqmode;
843 lkb->lkb_id, grmode);
844 lkb->lkb_grmode = grmode;