Lines Matching refs:r
263 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid) in dlm_send_rcom_lookup() argument
267 struct dlm_ls *ls = r->res_ls; in dlm_send_rcom_lookup()
270 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, in dlm_send_rcom_lookup()
274 memcpy(rc->rc_buf, r->res_name, r->res_length); in dlm_send_rcom_lookup()
275 rc->rc_id = (unsigned long) r; in dlm_send_rcom_lookup()
308 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, in pack_rcom_lock() argument
328 rl->rl_namelen = cpu_to_le16(r->res_length); in pack_rcom_lock()
329 memcpy(rl->rl_name, r->res_name, r->res_length); in pack_rcom_lock()
335 memcpy(rl->rl_lvb, lkb->lkb_lvbptr, r->res_ls->ls_lvblen); in pack_rcom_lock()
338 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in dlm_send_rcom_lock() argument
340 struct dlm_ls *ls = r->res_ls; in dlm_send_rcom_lock()
349 error = create_rcom(ls, r->res_nodeid, DLM_RCOM_LOCK, len, &rc, &mh); in dlm_send_rcom_lock()
354 pack_rcom_lock(r, lkb, rl); in dlm_send_rcom_lock()
355 rc->rc_id = (unsigned long) r; in dlm_send_rcom_lock()