Lines Matching refs:rh

204 #define CLNT_ACQUIRE(rh)			\
205 refcount_acquire(&(rh)->cl_refs)
206 #define CLNT_RELEASE(rh) \
207 if (refcount_release(&(rh)->cl_refs)) \
208 CLNT_DESTROY(rh)
212 * CLNT_CLOSE(rh);
213 * CLIENT *rh;
215 #define CLNT_CLOSE(rh) ((*(rh)->cl_ops->cl_close)(rh))
222 * CLNT_CALL_MBUF(rh, ext, proc, mreq, mrepp, timeout)
223 * CLIENT *rh;
233 #define CLNT_CALL_MBUF(rh, ext, proc, mreq, mrepp, secs) \
234 ((*(rh)->cl_ops->cl_call)(rh, ext, proc, mreq, mrepp, secs))
238 * CLNT_CALL_EXT(rh, ext, proc, xargs, argsp, xres, resp, timeout)
239 * CLIENT *rh;
248 #define CLNT_CALL_EXT(rh, ext, proc, xargs, argsp, xres, resp, secs) \
249 clnt_call_private(rh, ext, proc, xargs, \
255 * CLNT_CALL(rh, proc, xargs, argsp, xres, resp, timeout)
256 * CLIENT *rh;
265 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \
266 clnt_call_private(rh, NULL, proc, xargs, \
268 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \
269 clnt_call_private(rh, NULL, proc, xargs, \
272 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \
273 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \
275 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \
276 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \
282 * CLNT_ABORT(rh);
283 * CLIENT *rh;
285 #define CLNT_ABORT(rh) ((*(rh)->cl_ops->cl_abort)(rh))
286 #define clnt_abort(rh) ((*(rh)->cl_ops->cl_abort)(rh))
290 * CLNT_GETERR(rh);
291 * CLIENT *rh;
293 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
294 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
299 * CLNT_FREERES(rh, xres, resp);
300 * CLIENT *rh;
304 #define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp))
305 #define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp))
363 * CLNT_DESTROY(rh);
364 * CLIENT *rh;
366 #define CLNT_DESTROY(rh) ((*(rh)->cl_ops->cl_destroy)(rh))
367 #define clnt_destroy(rh) ((*(rh)->cl_ops->cl_destroy)(rh))