Lines Matching defs:nodeid

93 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid)
98 log_error(ls, "version mismatch: %x nodeid %d: %x",
99 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid,
106 log_error(ls, "config mismatch: %d,%x nodeid %d: %d,%x",
107 ls->ls_lvblen, ls->ls_exflags, nodeid,
132 * low nodeid gathers one slot value at a time from each node.
136 * other nodes gather all slot values at once from the low nodeid.
142 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags)
148 ls->ls_recover_nodeid = nodeid;
150 if (nodeid == dlm_our_nodeid()) {
157 error = create_rcom(ls, nodeid, DLM_RCOM_STATUS,
180 log_debug(ls, "remote node %d not ready", nodeid);
184 error = check_rcom_config(ls, rc, nodeid);
198 int nodeid = rc_in->rc_header.h_nodeid;
222 error = create_rcom(ls, nodeid, DLM_RCOM_STATUS_REPLY,
272 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, int last_len)
278 ls->ls_recover_nodeid = nodeid;
281 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES, last_len, &rc, &mh);
303 int error, inlen, outlen, nodeid;
305 nodeid = rc_in->rc_header.h_nodeid;
309 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen, &rc, &mh);
316 nodeid);
343 int error, ret_nodeid, nodeid = rc_in->rc_header.h_nodeid;
346 error = create_rcom(ls, nodeid, DLM_RCOM_LOOKUP_REPLY, 0, &rc, &mh);
352 log_error(ls, "receive_rcom_lookup dump from %d", nodeid);
357 error = dlm_master_lookup(ls, nodeid, rc_in->rc_buf, len,
432 int error, nodeid = rc_in->rc_header.h_nodeid;
436 error = create_rcom(ls, nodeid, DLM_RCOM_LOCK_REPLY,
454 int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in)
462 mh = dlm_lowcomms_get_buffer(nodeid, mb_len, GFP_NOFS, &mb);
534 void dlm_receive_rcom(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid)
632 nodeid,
640 rc->rc_type, nodeid);