Lines Matching defs:lkb
307 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb,
312 rl->rl_ownpid = lkb->lkb_ownpid;
313 rl->rl_lkid = lkb->lkb_id;
314 rl->rl_exflags = lkb->lkb_exflags;
315 rl->rl_flags = lkb->lkb_flags;
316 rl->rl_lvbseq = lkb->lkb_lvbseq;
317 rl->rl_rqmode = lkb->lkb_rqmode;
318 rl->rl_grmode = lkb->lkb_grmode;
319 rl->rl_status = lkb->lkb_status;
320 rl->rl_wait_type = lkb->lkb_wait_type;
322 if (lkb->lkb_bastaddr)
324 if (lkb->lkb_astaddr)
331 if (lkb->lkb_lvbptr)
332 memcpy(rl->rl_lvb, lkb->lkb_lvbptr, r->res_ls->ls_lvblen);
335 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb)
343 if (lkb->lkb_lvbptr)
351 pack_rcom_lock(r, lkb, rl);