Lines Matching refs:lkb
418 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, in pack_rcom_lock() argument
423 rl->rl_ownpid = cpu_to_le32(lkb->lkb_ownpid); in pack_rcom_lock()
424 rl->rl_lkid = cpu_to_le32(lkb->lkb_id); in pack_rcom_lock()
425 rl->rl_exflags = cpu_to_le32(lkb->lkb_exflags); in pack_rcom_lock()
426 rl->rl_flags = cpu_to_le32(dlm_dflags_val(lkb)); in pack_rcom_lock()
427 rl->rl_lvbseq = cpu_to_le32(lkb->lkb_lvbseq); in pack_rcom_lock()
428 rl->rl_rqmode = lkb->lkb_rqmode; in pack_rcom_lock()
429 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()
430 rl->rl_status = lkb->lkb_status; in pack_rcom_lock()
431 rl->rl_wait_type = cpu_to_le16(lkb->lkb_wait_type); in pack_rcom_lock()
433 if (lkb->lkb_bastfn) in pack_rcom_lock()
435 if (lkb->lkb_astfn) in pack_rcom_lock()
444 if (lkb->lkb_lvbptr) in pack_rcom_lock()
445 memcpy(rl->rl_lvb, lkb->lkb_lvbptr, r->res_ls->ls_lvblen); in pack_rcom_lock()
448 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, uint64_t seq) in dlm_send_rcom_lock() argument
456 if (lkb->lkb_lvbptr) in dlm_send_rcom_lock()
465 pack_rcom_lock(r, lkb, rl); in dlm_send_rcom_lock()