Lines Matching refs:rl
418 struct rcom_lock *rl) in pack_rcom_lock() argument
420 memset(rl, 0, sizeof(*rl)); in pack_rcom_lock()
422 rl->rl_ownpid = cpu_to_le32(lkb->lkb_ownpid); in pack_rcom_lock()
423 rl->rl_lkid = cpu_to_le32(lkb->lkb_id); in pack_rcom_lock()
424 rl->rl_exflags = cpu_to_le32(lkb->lkb_exflags); in pack_rcom_lock()
425 rl->rl_flags = cpu_to_le32(dlm_dflags_val(lkb)); in pack_rcom_lock()
426 rl->rl_lvbseq = cpu_to_le32(lkb->lkb_lvbseq); in pack_rcom_lock()
427 rl->rl_rqmode = lkb->lkb_rqmode; in pack_rcom_lock()
428 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock()
429 rl->rl_status = lkb->lkb_status; in pack_rcom_lock()
430 rl->rl_wait_type = cpu_to_le16(lkb->lkb_wait_type); in pack_rcom_lock()
433 rl->rl_asts |= DLM_CB_BAST; in pack_rcom_lock()
435 rl->rl_asts |= DLM_CB_CAST; in pack_rcom_lock()
437 rl->rl_namelen = cpu_to_le16(r->res_length); in pack_rcom_lock()
438 memcpy(rl->rl_name, r->res_name, r->res_length); in pack_rcom_lock()
444 memcpy(rl->rl_lvb, lkb->lkb_lvbptr, r->res_ls->ls_lvblen); in pack_rcom_lock()
452 struct rcom_lock *rl; in dlm_send_rcom_lock() local
463 rl = (struct rcom_lock *) rc->rc_buf; in dlm_send_rcom_lock()
464 pack_rcom_lock(r, lkb, rl); in dlm_send_rcom_lock()
477 struct rcom_lock *rl; in receive_rcom_lock() local
490 rl = (struct rcom_lock *)rc->rc_buf; in receive_rcom_lock()
492 rl->rl_remid = rl_remid; in receive_rcom_lock()
493 rl->rl_result = rl_result; in receive_rcom_lock()