/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_door.c | 183 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() 257 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_door_call() [all …]
|
H A D | clnt_dg.c | 269 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() 559 if ((reply_msg.rm_reply.rp_stat == MSG_ACCEPTED) && 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() [all …]
|
H A D | clnt_vc.c | 643 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() 732 reply_msg.acpted_rply.ar_results.proc = (xdrproc_t)xdr_void; 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() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_dump.c | 360 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/stand/lib/fs/nfs/ |
H A D | clnt_btcp.c | 288 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 D | clnt_budp.c | 225 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/ucblib/librpcsoc/ |
H A D | clnt_tcp.c | 222 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 D | clnt_udp.c | 232 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/uts/common/xen/io/ |
H A D | xenbus_xs.c | 244 struct xs_stored_msg *reply_msg = NULL; in xenbus_dev_request_and_reply() local 263 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() 275 if (reply_msg->hdr.type == XS_TRANSACTION_END) 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() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_clts.c | 481 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() 785 reply_msg.acpted_rply.ar_results.proc = xdr_void; 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() [all …]
|
H A D | clnt_rdma.c | 578 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 D | clnt_cots.c | 786 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() 1360 reply_msg.acpted_rply.ar_results.proc = xdr_void; 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() [all …]
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_svc_com.c | 1394 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 D | idmap_kapi.c | 1408 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 D | mptsas_impl.c | 1126 pMPI2DefaultReply_t reply_msg; in mptsas_ioc_task_management() local 1197 reply_msg = (pMPI2DefaultReply_t) in mptsas_ioc_task_management() 1205 if (ddi_copyout((uint8_t *)reply_msg + i, reply + i, 1, in mptsas_ioc_task_management()
|
H A D | mptsas.c | 11173 pMPI2DefaultReply_t reply_msg; in mptsas_do_passthru() local 11181 reply_msg = (pMPI2DefaultReply_t)(&rep_msg); in mptsas_do_passthru() 11182 bzero(reply_msg, sizeof (MPI2_DEFAULT_REPLY)); in mptsas_do_passthru() 11382 reply_msg = (pMPI2DefaultReply_t) in mptsas_do_passthru() 11420 if (ddi_copyout((uint8_t *)reply_msg + i, reply + i, 1, in mptsas_do_passthru()
|