Lines Matching refs:rl
411 struct rcom_lock *rl) in pack_rcom_lock() argument
413 memset(rl, 0, sizeof(*rl)); in pack_rcom_lock()
415 rl->rl_ownpid = cpu_to_le32(lkb->lkb_ownpid); in pack_rcom_lock()
416 rl->rl_lkid = cpu_to_le32(lkb->lkb_id); in pack_rcom_lock()
417 rl->rl_exflags = cpu_to_le32(lkb->lkb_exflags); in pack_rcom_lock()
418 rl->rl_flags = cpu_to_le32(lkb->lkb_flags); in pack_rcom_lock()
419 rl->rl_lvbseq = cpu_to_le32(lkb->lkb_lvbseq); in pack_rcom_lock()
420 rl->rl_rqmode = lkb->lkb_rqmode; in pack_rcom_lock()
421 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()
422 rl->rl_status = lkb->lkb_status; in pack_rcom_lock()
423 rl->rl_wait_type = cpu_to_le16(lkb->lkb_wait_type); in pack_rcom_lock()
426 rl->rl_asts |= DLM_CB_BAST; in pack_rcom_lock()
428 rl->rl_asts |= DLM_CB_CAST; in pack_rcom_lock()
430 rl->rl_namelen = cpu_to_le16(r->res_length); in pack_rcom_lock()
431 memcpy(rl->rl_name, r->res_name, r->res_length); in pack_rcom_lock()
437 memcpy(rl->rl_lvb, lkb->lkb_lvbptr, r->res_ls->ls_lvblen); in pack_rcom_lock()
445 struct rcom_lock *rl; in dlm_send_rcom_lock() local
455 rl = (struct rcom_lock *) rc->rc_buf; in dlm_send_rcom_lock()
456 pack_rcom_lock(r, lkb, rl); in dlm_send_rcom_lock()