Lines Matching refs:lkb
233 * new lkb's and need to receive new corresponding lkid's.
403 struct dlm_lkb *lkb;
405 list_for_each_entry(lkb, queue, lkb_statequeue) {
406 if (!(lkb->lkb_flags & DLM_IFL_MSTCPY)) {
407 lkb->lkb_nodeid = nodeid;
408 lkb->lkb_remid = 0;
613 * keep a count of the number of lkb's we send to the new master; when we get
619 struct dlm_lkb *lkb;
622 list_for_each_entry(lkb, head, lkb_statequeue) {
623 error = dlm_send_rcom_lock(r, lkb);
728 * of the rsb (NEW_MASTER2). Then, the rsb's lvb is taken from any lkb with
729 * mode > CR. If no lkb's exist with mode above CR, the lvb contents are taken
730 * from the lkb with the largest lvb sequence number.
751 be set, and set the rsb lvb from the best lkb available. */
821 struct dlm_lkb *lkb;
824 list_for_each_entry(lkb, &r->res_grantqueue, lkb_statequeue) {
825 if (lkb->lkb_grmode == DLM_LOCK_PR ||
826 lkb->lkb_grmode == DLM_LOCK_CW) {
827 grmode = lkb->lkb_grmode;
832 list_for_each_entry(lkb, &r->res_convertqueue, lkb_statequeue) {
833 if (lkb->lkb_grmode != DLM_LOCK_IV)
837 lkb->lkb_id, lkb->lkb_rqmode);
838 lkb->lkb_grmode = lkb->lkb_rqmode;
841 lkb->lkb_id, grmode);
842 lkb->lkb_grmode = grmode;