Lines Matching refs:rc_in

194 static void receive_rcom_status(struct dlm_ls *ls, struct dlm_rcom *rc_in)  in receive_rcom_status()  argument
200 int nodeid = rc_in->rc_header.h_nodeid; in receive_rcom_status()
205 if (!dlm_slots_version(&rc_in->rc_header)) { in receive_rcom_status()
210 rs = (struct rcom_status *)rc_in->rc_buf; in receive_rcom_status()
229 rc->rc_id = rc_in->rc_id; in receive_rcom_status()
230 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_status()
255 static void receive_sync_reply(struct dlm_ls *ls, struct dlm_rcom *rc_in) in receive_sync_reply() argument
259 rc_in->rc_id != ls->ls_rcom_seq) { in receive_sync_reply()
261 rc_in->rc_type, rc_in->rc_header.h_nodeid, in receive_sync_reply()
262 (unsigned long long)rc_in->rc_id, in receive_sync_reply()
266 memcpy(ls->ls_recover_buf, rc_in, rc_in->rc_header.h_length); in receive_sync_reply()
301 static void receive_rcom_names(struct dlm_ls *ls, struct dlm_rcom *rc_in) in receive_rcom_names() argument
307 nodeid = rc_in->rc_header.h_nodeid; in receive_rcom_names()
308 inlen = rc_in->rc_header.h_length - sizeof(struct dlm_rcom); in receive_rcom_names()
314 rc->rc_id = rc_in->rc_id; in receive_rcom_names()
315 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_names()
317 dlm_copy_master_names(ls, rc_in->rc_buf, inlen, rc->rc_buf, outlen, in receive_rcom_names()
341 static void receive_rcom_lookup(struct dlm_ls *ls, struct dlm_rcom *rc_in) in receive_rcom_lookup() argument
345 int error, ret_nodeid, nodeid = rc_in->rc_header.h_nodeid; in receive_rcom_lookup()
346 int len = rc_in->rc_header.h_length - sizeof(struct dlm_rcom); in receive_rcom_lookup()
353 if (rc_in->rc_id == 0xFFFFFFFF) { in receive_rcom_lookup()
355 dlm_dump_rsb_name(ls, rc_in->rc_buf, len); in receive_rcom_lookup()
359 error = dlm_master_lookup(ls, nodeid, rc_in->rc_buf, len, in receive_rcom_lookup()
364 rc->rc_id = rc_in->rc_id; in receive_rcom_lookup()
365 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_lookup()
370 static void receive_rcom_lookup_reply(struct dlm_ls *ls, struct dlm_rcom *rc_in) in receive_rcom_lookup_reply() argument
372 dlm_recover_master_reply(ls, rc_in); in receive_rcom_lookup_reply()
430 static void receive_rcom_lock(struct dlm_ls *ls, struct dlm_rcom *rc_in) in receive_rcom_lock() argument
434 int error, nodeid = rc_in->rc_header.h_nodeid; in receive_rcom_lock()
436 dlm_recover_master_copy(ls, rc_in); in receive_rcom_lock()
446 memcpy(rc->rc_buf, rc_in->rc_buf, sizeof(struct rcom_lock)); in receive_rcom_lock()
447 rc->rc_id = rc_in->rc_id; in receive_rcom_lock()
448 rc->rc_seq_reply = rc_in->rc_seq; in receive_rcom_lock()
456 int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in) in dlm_send_ls_not_ready() argument
472 rc->rc_header.h_lockspace = rc_in->rc_header.h_lockspace; in dlm_send_ls_not_ready()
478 rc->rc_id = rc_in->rc_id; in dlm_send_ls_not_ready()
479 rc->rc_seq_reply = rc_in->rc_seq; in dlm_send_ls_not_ready()