Lines Matching defs:error
146 int error = 0;
157 error = create_rcom(ls, nodeid, DLM_RCOM_STATUS,
159 if (error)
169 error = dlm_wait_function(ls, &rcom_response);
171 if (error == -ETIMEDOUT)
173 if (error)
182 error = 0;
184 error = check_rcom_config(ls, rc, nodeid);
189 return error;
201 int error;
222 error = create_rcom(ls, nodeid, DLM_RCOM_STATUS_REPLY,
224 if (error)
276 int error = 0;
281 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES, last_len, &rc, &mh);
282 if (error)
291 error = dlm_wait_function(ls, &rcom_response);
293 if (error == -ETIMEDOUT)
296 return error;
303 int error, inlen, outlen, nodeid;
309 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen, &rc, &mh);
310 if (error)
325 int error;
327 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length,
329 if (error)
336 return error;
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);
347 if (error)
357 error = dlm_master_lookup(ls, nodeid, rc_in->rc_buf, len,
359 if (error)
360 ret_nodeid = error;
409 int error, len = sizeof(struct rcom_lock);
414 error = create_rcom(ls, r->res_nodeid, DLM_RCOM_LOCK, len, &rc, &mh);
415 if (error)
424 return error;
432 int error, nodeid = rc_in->rc_header.h_nodeid;
436 error = create_rcom(ls, nodeid, DLM_RCOM_LOCK_REPLY,
438 if (error)