Home
last modified time | relevance | path

Searched refs:reply_msg (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_door.c183 struct rpc_msg reply_msg; in clnt_door_call() local
240 reply_msg.acpted_rply.ar_verf = _null_auth; in clnt_door_call()
241 reply_msg.acpted_rply.ar_results.where = resultsp; in clnt_door_call()
242 reply_msg.acpted_rply.ar_results.proc = xresults; in clnt_door_call()
244 if (xdr_replymsg(&xdrs, &reply_msg)) { in clnt_door_call()
245 if (reply_msg.rm_reply.rp_stat == MSG_ACCEPTED && in clnt_door_call()
246 reply_msg.acpted_rply.ar_stat == SUCCESS) in clnt_door_call()
249 __seterr_reply(&reply_msg, &rpc_callerr); in clnt_door_call()
253 &reply_msg.acpted_rply.ar_verf)) { in clnt_door_call()
260 &(reply_msg.acpted_rply.ar_verf)); in clnt_door_call()
[all …]
H A Dclnt_dg.c269 struct rpc_msg reply_msg; in clnt_dg_call() local
357 reply_msg.acpted_rply.ar_verf = _null_auth; in clnt_dg_call()
358 reply_msg.acpted_rply.ar_results.where = NULL; in clnt_dg_call()
359 reply_msg.acpted_rply.ar_results.proc = xdr_void; in clnt_dg_call()
556 ok = xdr_replymsg(&reply_xdrs, &reply_msg); in clnt_dg_call()
560 (reply_msg.acpted_rply.ar_stat == SUCCESS)) in clnt_dg_call()
563 __seterr_reply(&reply_msg, &(rpc_callerr)); in clnt_dg_call()
567 &reply_msg.acpted_rply.ar_verf)) { in clnt_dg_call()
592 AUTH_REFRESH(cl->cl_auth, &reply_msg)) in clnt_dg_call()
606 if (reply_msg.rm_reply.rp_stat == MSG_ACCEPTED && in clnt_dg_call()
[all …]
H A Dclnt_vc.c643 struct rpc_msg reply_msg; in clnt_vc_call() local
730 reply_msg.acpted_rply.ar_verf = _null_auth; in clnt_vc_call()
731 reply_msg.acpted_rply.ar_results.where = NULL; in clnt_vc_call()
738 if (!xdr_replymsg(xdrs, &reply_msg)) { in clnt_vc_call()
744 if (reply_msg.rm_xid == x_id) in clnt_vc_call()
751 if ((reply_msg.rm_reply.rp_stat == MSG_ACCEPTED) && in clnt_vc_call()
752 (reply_msg.acpted_rply.ar_stat == SUCCESS)) in clnt_vc_call()
755 __seterr_reply(&reply_msg, &(rpc_callerr)); in clnt_vc_call()
759 &reply_msg.acpted_rply.ar_verf)) { in clnt_vc_call()
792 if (reply_msg.rm_reply.rp_stat == MSG_ACCEPTED && in clnt_vc_call()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dump.c360 static struct rpc_msg reply_msg; in nd_get_reply() local
402 reply_msg.acpted_rply.ar_verf = _null_auth; in nd_get_reply()
405 reply_msg.acpted_rply.ar_results.where = (caddr_t)&na; in nd_get_reply()
406 reply_msg.acpted_rply.ar_results.proc = xdr_attrstat; in nd_get_reply()
409 reply_msg.acpted_rply.ar_results.where = (caddr_t)&wres; in nd_get_reply()
410 reply_msg.acpted_rply.ar_results.proc = xdr_WRITE3res; in nd_get_reply()
417 if (!xdr_replymsg(xdrp, &reply_msg)) { in nd_get_reply()
423 if (reply_msg.rm_xid != call_xid) { in nd_get_reply()
429 _seterr_reply(&reply_msg, &rpc_err); in nd_get_reply()
458 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in nd_get_reply()
[all …]
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_tcp.c222 struct rpc_msg reply_msg; in clnttcp_call() local
271 reply_msg.acpted_rply.ar_verf = _null_auth; in clnttcp_call()
272 reply_msg.acpted_rply.ar_results.where = NULL; in clnttcp_call()
273 reply_msg.acpted_rply.ar_results.proc = xdr_void; in clnttcp_call()
277 if (! xdr_replymsg(xdrs, &reply_msg)) { in clnttcp_call()
282 if (reply_msg.rm_xid == x_id) in clnttcp_call()
289 __seterr_reply(&reply_msg, &(ct->ct_error)); in clnttcp_call()
292 &reply_msg.acpted_rply.ar_verf)) { in clnttcp_call()
300 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clnttcp_call()
303 &(reply_msg.acpted_rply.ar_verf)); in clnttcp_call()
[all …]
H A Dclnt_udp.c232 struct rpc_msg reply_msg; local
285 reply_msg.acpted_rply.ar_verf = _null_auth;
286 reply_msg.acpted_rply.ar_results.where = resultsp;
287 reply_msg.acpted_rply.ar_results.proc = xresults;
401 ok = xdr_replymsg(&reply_xdrs, &reply_msg);
404 __seterr_reply(&reply_msg, &(cu->cu_error));
407 &reply_msg.acpted_rply.ar_verf)) {
411 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) {
414 &(reply_msg.acpted_rply.ar_verf));
420 AUTH_REFRESH(cl->cl_auth, &reply_msg)) {
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dclnt_btcp.c288 struct rpc_msg reply_msg; in clntbtcp_call() local
349 reply_msg.acpted_rply.ar_verf = _null_auth; in clntbtcp_call()
350 reply_msg.acpted_rply.ar_results.where = NULL; in clntbtcp_call()
351 reply_msg.acpted_rply.ar_results.proc = xdr_void; in clntbtcp_call()
356 if (!xdr_replymsg(xdrs, &reply_msg)) { in clntbtcp_call()
361 if (reply_msg.rm_xid == x_id) { in clntbtcp_call()
369 _seterr_reply(&reply_msg, &(ct->ct_error)); in clntbtcp_call()
372 &reply_msg.acpted_rply.ar_verf)) { in clntbtcp_call()
380 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clntbtcp_call()
383 &(reply_msg.acpted_rply.ar_verf)); in clntbtcp_call()
[all …]
H A Dclnt_budp.c225 struct rpc_msg reply_msg; in clntbudp_call() local
299 reply_msg.acpted_rply.ar_verf = _null_auth; in clntbudp_call()
300 reply_msg.acpted_rply.ar_results.where = resultsp; in clntbudp_call()
301 reply_msg.acpted_rply.ar_results.proc = xresults; in clntbudp_call()
360 ok = xdr_replymsg(&reply_xdrs, &reply_msg); in clntbudp_call()
367 _seterr_reply(&reply_msg, &(cu->cu_error)); in clntbudp_call()
370 &reply_msg.acpted_rply.ar_verf)) { in clntbudp_call()
376 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clntbudp_call()
379 &(reply_msg.acpted_rply.ar_verf)); in clntbudp_call()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_xs.c263 err = read_reply(msg, &reply_msg); in xenbus_dev_request_and_reply()
272 *reply = reply_msg->un.reply.body; in xenbus_dev_request_and_reply()
273 *msg = reply_msg->hdr; in xenbus_dev_request_and_reply()
279 if (reply_msg != NULL) in xenbus_dev_request_and_reply()
280 kmem_free(reply_msg, sizeof (*reply_msg)); in xenbus_dev_request_and_reply()
299 struct xs_stored_msg *reply_msg; in xs_talkv() local
328 err = read_reply(&msg, &reply_msg); in xs_talkv()
335 reply = reply_msg->un.reply.body; in xs_talkv()
344 *len = reply_msg->hdr.len + 1; in xs_talkv()
346 ASSERT(reply_msg->hdr.type == type); in xs_talkv()
[all …]
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_clts.c481 struct rpc_msg reply_msg; in clnt_clts_kcallit_addr() local
777 reply_msg.rm_direction = REPLY; in clnt_clts_kcallit_addr()
778 reply_msg.rm_reply.rp_stat = MSG_ACCEPTED; in clnt_clts_kcallit_addr()
779 reply_msg.acpted_rply.ar_stat = SUCCESS; in clnt_clts_kcallit_addr()
780 reply_msg.acpted_rply.ar_verf = _null_auth; in clnt_clts_kcallit_addr()
784 reply_msg.acpted_rply.ar_results.where = NULL; in clnt_clts_kcallit_addr()
790 if (!xdr_replymsg(xdrs, &reply_msg)) { in clnt_clts_kcallit_addr()
793 (void) xdr_rpc_free_verifier(xdrs, &reply_msg); in clnt_clts_kcallit_addr()
798 _seterr_reply(&reply_msg, &(p->cku_err)); in clnt_clts_kcallit_addr()
806 &reply_msg.acpted_rply.ar_verf)) { in clnt_clts_kcallit_addr()
[all …]
H A Dclnt_rdma.c578 struct rpc_msg reply_msg; in clnt_rdma_kcallit() local
1055 reply_msg.rm_direction = REPLY; in clnt_rdma_kcallit()
1056 reply_msg.rm_reply.rp_stat = MSG_ACCEPTED; in clnt_rdma_kcallit()
1057 reply_msg.acpted_rply.ar_stat = SUCCESS; in clnt_rdma_kcallit()
1058 reply_msg.acpted_rply.ar_verf = _null_auth; in clnt_rdma_kcallit()
1063 reply_msg.acpted_rply.ar_results.where = NULL; in clnt_rdma_kcallit()
1064 reply_msg.acpted_rply.ar_results.proc = xdr_void; in clnt_rdma_kcallit()
1069 if (xdr_replymsg(reply_xdrp, &reply_msg)) { in clnt_rdma_kcallit()
1072 _seterr_reply(&reply_msg, &(p->cku_err)); in clnt_rdma_kcallit()
1080 &reply_msg.acpted_rply.ar_verf)) { in clnt_rdma_kcallit()
[all …]
H A Dclnt_cots.c786 struct rpc_msg reply_msg; in clnt_cots_kcallit() local
1351 reply_msg.rm_direction = REPLY; in clnt_cots_kcallit()
1352 reply_msg.rm_reply.rp_stat = MSG_ACCEPTED; in clnt_cots_kcallit()
1353 reply_msg.acpted_rply.ar_stat = SUCCESS; in clnt_cots_kcallit()
1355 reply_msg.acpted_rply.ar_verf = _null_auth; in clnt_cots_kcallit()
1359 reply_msg.acpted_rply.ar_results.where = NULL; in clnt_cots_kcallit()
1362 if (xdr_replymsg(xdrs, &reply_msg)) { in clnt_cots_kcallit()
1365 _seterr_reply(&reply_msg, &p->cku_err); in clnt_cots_kcallit()
1373 &reply_msg.acpted_rply.ar_verf)) { in clnt_cots_kcallit()
1416 &reply_msg); in clnt_cots_kcallit()
[all …]
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_com.c1394 struct rpc_msg reply_msg; in handle_reply() local
1441 reply_msg.acpted_rply.ar_verf = _null_auth; in handle_reply()
1442 reply_msg.acpted_rply.ar_results.where = 0; in handle_reply()
1443 reply_msg.acpted_rply.ar_results.proc = (xdrproc_t)xdr_void; in handle_reply()
1445 if (!xdr_replymsg(&reply_xdrs, &reply_msg)) { in handle_reply()
1469 fi = forward_find(reply_msg.rm_xid, uaddr); in handle_reply()
1478 __seterr_reply(&reply_msg, &fi->reply_error); in handle_reply()
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_kapi.c1408 struct rpc_msg reply_msg; in kidmap_rpc_call() local
1488 reply_msg.acpted_rply.ar_verf = _null_auth; in kidmap_rpc_call()
1489 reply_msg.acpted_rply.ar_results.where = res; in kidmap_rpc_call()
1490 reply_msg.acpted_rply.ar_results.proc = xdr_res; in kidmap_rpc_call()
1492 if (xdr_replymsg(&xdr_ctx, &reply_msg)) { in kidmap_rpc_call()
1493 if (reply_msg.rm_reply.rp_stat != MSG_ACCEPTED || in kidmap_rpc_call()
1494 reply_msg.rm_reply.rp_acpt.ar_stat != SUCCESS) { in kidmap_rpc_call()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_impl.c1108 pMPI2DefaultReply_t reply_msg; in mptsas_ioc_task_management() local
1179 reply_msg = (pMPI2DefaultReply_t) in mptsas_ioc_task_management()
1187 if (ddi_copyout((uint8_t *)reply_msg + i, reply + i, 1, in mptsas_ioc_task_management()
H A Dmptsas.c11116 pMPI2DefaultReply_t reply_msg; in mptsas_do_passthru() local
11124 reply_msg = (pMPI2DefaultReply_t)(&rep_msg); in mptsas_do_passthru()
11125 bzero(reply_msg, sizeof (MPI2_DEFAULT_REPLY)); in mptsas_do_passthru()
11325 reply_msg = (pMPI2DefaultReply_t) in mptsas_do_passthru()
11363 if (ddi_copyout((uint8_t *)reply_msg + i, reply + i, 1, in mptsas_do_passthru()