Lines Matching refs:rc_in
225 const struct dlm_rcom *rc_in, in receive_rcom_status() argument
231 int nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_status()
237 if (!dlm_slots_version(&rc_in->rc_header)) { in receive_rcom_status()
242 rs = (struct rcom_status *)rc_in->rc_buf; in receive_rcom_status()
261 rc->rc_id = rc_in->rc_id; in receive_rcom_status()
262 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_status()
287 static void receive_sync_reply(struct dlm_ls *ls, const struct dlm_rcom *rc_in) in receive_sync_reply() argument
291 le64_to_cpu(rc_in->rc_id) != ls->ls_rcom_seq) { in receive_sync_reply()
293 le32_to_cpu(rc_in->rc_type), in receive_sync_reply()
294 le32_to_cpu(rc_in->rc_header.h_nodeid), in receive_sync_reply()
295 (unsigned long long)le64_to_cpu(rc_in->rc_id), in receive_sync_reply()
299 memcpy(ls->ls_recover_buf, rc_in, in receive_sync_reply()
300 le16_to_cpu(rc_in->rc_header.h_length)); in receive_sync_reply()
337 static void receive_rcom_names(struct dlm_ls *ls, const struct dlm_rcom *rc_in, in receive_rcom_names() argument
344 nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_names()
345 inlen = le16_to_cpu(rc_in->rc_header.h_length) - in receive_rcom_names()
353 rc->rc_id = rc_in->rc_id; in receive_rcom_names()
354 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_names()
356 dlm_copy_master_names(ls, rc_in->rc_buf, inlen, rc->rc_buf, outlen, in receive_rcom_names()
381 const struct dlm_rcom *rc_in, uint64_t seq) in receive_rcom_lookup() argument
385 int error, ret_nodeid, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_lookup()
386 int len = le16_to_cpu(rc_in->rc_header.h_length) - in receive_rcom_lookup()
390 if (rc_in->rc_id == cpu_to_le64(0xFFFFFFFF)) { in receive_rcom_lookup()
392 dlm_dump_rsb_name(ls, rc_in->rc_buf, len); in receive_rcom_lookup()
401 error = dlm_master_lookup(ls, nodeid, rc_in->rc_buf, len, in receive_rcom_lookup()
406 rc->rc_id = rc_in->rc_id; in receive_rcom_lookup()
407 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_lookup()
413 const struct dlm_rcom *rc_in) in receive_rcom_lookup_reply() argument
415 dlm_recover_master_reply(ls, rc_in); in receive_rcom_lookup_reply()
474 static void receive_rcom_lock(struct dlm_ls *ls, const struct dlm_rcom *rc_in, in receive_rcom_lock() argument
481 int error, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_lock()
483 dlm_recover_master_copy(ls, rc_in, &rl_remid, &rl_result); in receive_rcom_lock()
490 memcpy(rc->rc_buf, rc_in->rc_buf, sizeof(struct rcom_lock)); in receive_rcom_lock()
496 rc->rc_id = rc_in->rc_id; in receive_rcom_lock()
497 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_lock()
505 int dlm_send_ls_not_ready(int nodeid, const struct dlm_rcom *rc_in) in dlm_send_ls_not_ready() argument
520 rc->rc_header.u.h_lockspace = rc_in->rc_header.u.h_lockspace; in dlm_send_ls_not_ready()
526 rc->rc_id = rc_in->rc_id; in dlm_send_ls_not_ready()
527 rc->rc_seq_reply = rc_in->rc_seq; in dlm_send_ls_not_ready()