Lines Matching refs:mh
34 struct dlm_mhandle *mh; in create_rcom() local
38 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in create_rcom()
39 if (!mh) { in create_rcom()
60 *mh_ret = mh; in create_rcom()
65 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom() argument
69 dlm_lowcomms_commit_buffer(mh); in send_rcom()
145 struct dlm_mhandle *mh; in dlm_rcom_status() local
158 sizeof(struct rcom_status), &rc, &mh); in dlm_rcom_status()
167 send_rcom(ls, mh, rc); in dlm_rcom_status()
195 struct dlm_mhandle *mh; in receive_rcom_status() local
223 len, &rc, &mh); in receive_rcom_status()
250 send_rcom(ls, mh, rc); in receive_rcom_status()
275 struct dlm_mhandle *mh; in dlm_rcom_names() local
281 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES, last_len, &rc, &mh); in dlm_rcom_names()
289 send_rcom(ls, mh, rc); in dlm_rcom_names()
302 struct dlm_mhandle *mh; in receive_rcom_names() local
309 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen, &rc, &mh); in receive_rcom_names()
317 send_rcom(ls, mh, rc); in receive_rcom_names()
323 struct dlm_mhandle *mh; in dlm_send_rcom_lookup() local
328 &rc, &mh); in dlm_send_rcom_lookup()
334 send_rcom(ls, mh, rc); in dlm_send_rcom_lookup()
342 struct dlm_mhandle *mh; in receive_rcom_lookup() local
346 error = create_rcom(ls, nodeid, DLM_RCOM_LOOKUP_REPLY, 0, &rc, &mh); in receive_rcom_lookup()
365 send_rcom(ls, mh, rc); in receive_rcom_lookup()
407 struct dlm_mhandle *mh; in dlm_send_rcom_lock() local
414 error = create_rcom(ls, r->res_nodeid, DLM_RCOM_LOCK, len, &rc, &mh); in dlm_send_rcom_lock()
422 send_rcom(ls, mh, rc); in dlm_send_rcom_lock()
431 struct dlm_mhandle *mh; in receive_rcom_lock() local
437 sizeof(struct rcom_lock), &rc, &mh); in receive_rcom_lock()
448 send_rcom(ls, mh, rc); in receive_rcom_lock()
458 struct dlm_mhandle *mh; in dlm_send_ls_not_ready() local
462 mh = dlm_lowcomms_get_buffer(nodeid, mb_len, GFP_NOFS, &mb); in dlm_send_ls_not_ready()
463 if (!mh) in dlm_send_ls_not_ready()
484 dlm_lowcomms_commit_buffer(mh); in dlm_send_ls_not_ready()