Lines Matching refs:rl
374 struct rcom_lock *rl) in pack_rcom_lock() argument
376 memset(rl, 0, sizeof(*rl)); in pack_rcom_lock()
378 rl->rl_ownpid = cpu_to_le32(lkb->lkb_ownpid); in pack_rcom_lock()
379 rl->rl_lkid = cpu_to_le32(lkb->lkb_id); in pack_rcom_lock()
380 rl->rl_exflags = cpu_to_le32(lkb->lkb_exflags); in pack_rcom_lock()
381 rl->rl_flags = cpu_to_le32(lkb->lkb_flags); in pack_rcom_lock()
382 rl->rl_lvbseq = cpu_to_le32(lkb->lkb_lvbseq); in pack_rcom_lock()
383 rl->rl_rqmode = lkb->lkb_rqmode; in pack_rcom_lock()
384 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()
385 rl->rl_status = lkb->lkb_status; in pack_rcom_lock()
386 rl->rl_wait_type = cpu_to_le16(lkb->lkb_wait_type); in pack_rcom_lock()
389 rl->rl_asts |= DLM_CB_BAST; in pack_rcom_lock()
391 rl->rl_asts |= DLM_CB_CAST; in pack_rcom_lock()
393 rl->rl_namelen = cpu_to_le16(r->res_length); in pack_rcom_lock()
394 memcpy(rl->rl_name, r->res_name, r->res_length); in pack_rcom_lock()
400 memcpy(rl->rl_lvb, lkb->lkb_lvbptr, r->res_ls->ls_lvblen); in pack_rcom_lock()
408 struct rcom_lock *rl; in dlm_send_rcom_lock() local
418 rl = (struct rcom_lock *) rc->rc_buf; in dlm_send_rcom_lock()
419 pack_rcom_lock(r, lkb, rl); in dlm_send_rcom_lock()