Searched refs:rc_in (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/fs/dlm/
H A Drcom.c191 static void receive_rcom_status(struct dlm_ls *ls, struct dlm_rcom *rc_in) receive_rcom_status() argument
197 int nodeid = rc_in->rc_header.h_nodeid; receive_rcom_status()
202 if (!dlm_slots_version(&rc_in->rc_header)) { receive_rcom_status()
207 rs = (struct rcom_status *)rc_in->rc_buf; receive_rcom_status()
226 rc->rc_id = rc_in->rc_id; receive_rcom_status()
227 rc->rc_seq_reply = rc_in->rc_seq; receive_rcom_status()
252 static void receive_sync_reply(struct dlm_ls *ls, struct dlm_rcom *rc_in) receive_sync_reply() argument
256 rc_in->rc_id != ls->ls_rcom_seq) { receive_sync_reply()
258 rc_in->rc_type, rc_in->rc_header.h_nodeid, receive_sync_reply()
259 (unsigned long long)rc_in->rc_id, receive_sync_reply()
263 memcpy(ls->ls_recover_buf, rc_in, rc_in->rc_header.h_length); receive_sync_reply()
295 static void receive_rcom_names(struct dlm_ls *ls, struct dlm_rcom *rc_in) receive_rcom_names() argument
301 nodeid = rc_in->rc_header.h_nodeid; receive_rcom_names()
302 inlen = rc_in->rc_header.h_length - sizeof(struct dlm_rcom); receive_rcom_names()
308 rc->rc_id = rc_in->rc_id; receive_rcom_names()
309 rc->rc_seq_reply = rc_in->rc_seq; receive_rcom_names()
311 dlm_copy_master_names(ls, rc_in->rc_buf, inlen, rc->rc_buf, outlen, receive_rcom_names()
354 static void receive_rcom_lookup(struct dlm_ls *ls, struct dlm_rcom *rc_in) receive_rcom_lookup() argument
358 int error, ret_nodeid, nodeid = rc_in->rc_header.h_nodeid; receive_rcom_lookup()
359 int len = rc_in->rc_header.h_length - sizeof(struct dlm_rcom); receive_rcom_lookup()
365 if (rc_in->rc_id == 0xFFFFFFFF) { receive_rcom_lookup()
367 dlm_dump_rsb_name(ls, rc_in->rc_buf, len); receive_rcom_lookup()
371 error = dlm_master_lookup(ls, nodeid, rc_in->rc_buf, len, receive_rcom_lookup()
376 rc->rc_id = rc_in->rc_id; receive_rcom_lookup()
377 rc->rc_seq_reply = rc_in->rc_seq; receive_rcom_lookup()
382 static void receive_rcom_lookup_reply(struct dlm_ls *ls, struct dlm_rcom *rc_in) receive_rcom_lookup_reply() argument
384 dlm_recover_master_reply(ls, rc_in); receive_rcom_lookup_reply()
442 static void receive_rcom_lock(struct dlm_ls *ls, struct dlm_rcom *rc_in) receive_rcom_lock() argument
446 int error, nodeid = rc_in->rc_header.h_nodeid; receive_rcom_lock()
448 dlm_recover_master_copy(ls, rc_in); receive_rcom_lock()
458 memcpy(rc->rc_buf, rc_in->rc_buf, sizeof(struct rcom_lock)); receive_rcom_lock()
459 rc->rc_id = rc_in->rc_id; receive_rcom_lock()
460 rc->rc_seq_reply = rc_in->rc_seq; receive_rcom_lock()
468 int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in) dlm_send_ls_not_ready() argument
484 rc->rc_header.h_lockspace = rc_in->rc_header.h_lockspace; dlm_send_ls_not_ready()
490 rc->rc_id = rc_in->rc_id; dlm_send_ls_not_ready()
491 rc->rc_seq_reply = rc_in->rc_seq; dlm_send_ls_not_ready()
H A Drcom.h23 int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in);

Completed in 88 milliseconds