Lines Matching refs:rc_in

224 				const struct dlm_rcom *rc_in,  in receive_rcom_status()  argument
230 int nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_status()
236 if (!dlm_slots_version(&rc_in->rc_header)) { in receive_rcom_status()
241 rs = (struct rcom_status *)rc_in->rc_buf; in receive_rcom_status()
260 rc->rc_id = rc_in->rc_id; in receive_rcom_status()
261 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_status()
286 static void receive_sync_reply(struct dlm_ls *ls, const struct dlm_rcom *rc_in) in receive_sync_reply() argument
290 le64_to_cpu(rc_in->rc_id) != ls->ls_rcom_seq) { in receive_sync_reply()
292 le32_to_cpu(rc_in->rc_type), in receive_sync_reply()
293 le32_to_cpu(rc_in->rc_header.h_nodeid), in receive_sync_reply()
294 (unsigned long long)le64_to_cpu(rc_in->rc_id), in receive_sync_reply()
298 memcpy(ls->ls_recover_buf, rc_in, in receive_sync_reply()
299 le16_to_cpu(rc_in->rc_header.h_length)); in receive_sync_reply()
336 static void receive_rcom_names(struct dlm_ls *ls, const struct dlm_rcom *rc_in, in receive_rcom_names() argument
343 nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_names()
344 inlen = le16_to_cpu(rc_in->rc_header.h_length) - in receive_rcom_names()
352 rc->rc_id = rc_in->rc_id; in receive_rcom_names()
353 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_names()
355 dlm_copy_master_names(ls, rc_in->rc_buf, inlen, rc->rc_buf, outlen, in receive_rcom_names()
380 const struct dlm_rcom *rc_in, uint64_t seq) in receive_rcom_lookup() argument
384 int error, ret_nodeid, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_lookup()
385 int len = le16_to_cpu(rc_in->rc_header.h_length) - in receive_rcom_lookup()
389 if (rc_in->rc_id == cpu_to_le64(0xFFFFFFFF)) { in receive_rcom_lookup()
391 dlm_dump_rsb_name(ls, rc_in->rc_buf, len); in receive_rcom_lookup()
400 error = dlm_master_lookup(ls, nodeid, rc_in->rc_buf, len, in receive_rcom_lookup()
405 rc->rc_id = rc_in->rc_id; in receive_rcom_lookup()
406 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_lookup()
412 const struct dlm_rcom *rc_in) in receive_rcom_lookup_reply() argument
414 dlm_recover_master_reply(ls, rc_in); in receive_rcom_lookup_reply()
473 static void receive_rcom_lock(struct dlm_ls *ls, const struct dlm_rcom *rc_in, in receive_rcom_lock() argument
480 int error, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_lock()
482 dlm_recover_master_copy(ls, rc_in, &rl_remid, &rl_result); in receive_rcom_lock()
489 memcpy(rc->rc_buf, rc_in->rc_buf, sizeof(struct rcom_lock)); in receive_rcom_lock()
495 rc->rc_id = rc_in->rc_id; in receive_rcom_lock()
496 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_lock()
504 int dlm_send_ls_not_ready(int nodeid, const struct dlm_rcom *rc_in) in dlm_send_ls_not_ready() argument
519 rc->rc_header.u.h_lockspace = rc_in->rc_header.u.h_lockspace; in dlm_send_ls_not_ready()
525 rc->rc_id = rc_in->rc_id; in dlm_send_ls_not_ready()
526 rc->rc_seq_reply = rc_in->rc_seq; in dlm_send_ls_not_ready()