Lines Matching refs:nodeid

123 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid)  in check_rcom_config()  argument
129 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid, in check_rcom_config()
137 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config()
172 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, in dlm_rcom_status() argument
179 ls->ls_recover_nodeid = nodeid; in dlm_rcom_status()
181 if (nodeid == dlm_our_nodeid()) { in dlm_rcom_status()
188 error = create_rcom_stateless(ls, nodeid, DLM_RCOM_STATUS, in dlm_rcom_status()
212 log_debug(ls, "remote node %d not ready", nodeid); in dlm_rcom_status()
216 error = check_rcom_config(ls, rc, nodeid); in dlm_rcom_status()
231 int nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_status() local
256 error = create_rcom_stateless(ls, nodeid, DLM_RCOM_STATUS_REPLY, in receive_rcom_status()
308 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, in dlm_rcom_names() argument
315 ls->ls_recover_nodeid = nodeid; in dlm_rcom_names()
318 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES, last_len, in dlm_rcom_names()
342 int error, inlen, outlen, nodeid; in receive_rcom_names() local
344 nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_names()
349 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen, in receive_rcom_names()
357 nodeid); in receive_rcom_names()
385 int error, ret_nodeid, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_lookup() local
391 log_error(ls, "receive_rcom_lookup dump from %d", nodeid); in receive_rcom_lookup()
396 error = create_rcom(ls, nodeid, DLM_RCOM_LOOKUP_REPLY, 0, &rc, &mh, in receive_rcom_lookup()
401 error = dlm_master_lookup(ls, nodeid, rc_in->rc_buf, len, in receive_rcom_lookup()
481 int error, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_lock() local
485 error = create_rcom(ls, nodeid, DLM_RCOM_LOCK_REPLY, 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
513 mh = dlm_midcomms_get_mhandle(nodeid, mb_len, GFP_NOFS, &mb); in dlm_send_ls_not_ready()
583 void dlm_receive_rcom(struct dlm_ls *ls, const struct dlm_rcom *rc, int nodeid) in dlm_receive_rcom() argument
682 nodeid, in dlm_receive_rcom()
690 le32_to_cpu(rc->rc_type), nodeid); in dlm_receive_rcom()