/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_generic.c | 138 rpc_createerr.cf_stat = rpc_stat; in clnt_create_vers_timed() 139 rpc_createerr.cf_error = rpcerr; in clnt_create_vers_timed() 190 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in clnt_create_timed() 207 if (rpc_createerr.cf_stat == RPC_SYSTEMERROR) in clnt_create_timed() 209 save_cf_stat = rpc_createerr.cf_stat; in clnt_create_timed() 210 save_cf_error = rpc_createerr.cf_error; in clnt_create_timed() 213 save_cf_stat = rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in clnt_create_timed() 220 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in clnt_create_timed() 223 rpc_createerr.cf_stat = RPC_SUCCESS; in clnt_create_timed() 226 if (rpc_createerr.cf_stat == RPC_SUCCESS) in clnt_create_timed() [all …]
|
H A D | rpcb_clnt.c | 335 rpc_createerr.cf_stat = in _getclnthandle_timed() 348 if (rpc_createerr.cf_stat == RPC_SYSTEMERROR) { in _getclnthandle_timed() 376 rpc_createerr.cf_stat = RPC_UNKNOWNHOST; in _getclnthandle_timed() 378 rpc_createerr.cf_stat = RPC_N2AXLATEFAILURE; in _getclnthandle_timed() 421 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in local_rpcb() 433 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in local_rpcb() 460 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in rpcb_set() 464 rpc_createerr.cf_stat = RPC_UNKNOWNADDR; in rpcb_set() 474 rpc_createerr.cf_stat = RPC_N2AXLATEFAILURE; in rpcb_set() 650 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in __rpcb_findaddr_timed() [all …]
|
H A D | clnt_door.c | 95 rpc_createerr.cf_stat = RPC_PROGNOTREGISTERED; in clnt_door_create() 96 rpc_createerr.cf_error.re_errno = errno; in clnt_door_create() 97 rpc_createerr.cf_error.re_terrno = 0; in clnt_door_create() 103 rpc_createerr.cf_stat = RPC_PROGNOTREGISTERED; in clnt_door_create() 104 rpc_createerr.cf_error.re_errno = errno; in clnt_door_create() 105 rpc_createerr.cf_error.re_terrno = 0; in clnt_door_create() 119 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clnt_door_create() 120 rpc_createerr.cf_error.re_errno = errno; in clnt_door_create() 133 rpc_createerr.cf_stat = RPC_CANTENCODEARGS; in clnt_door_create() 134 rpc_createerr.cf_error.re_errno = 0; in clnt_door_create() [all …]
|
H A D | clnt_perror.c | 243 (void) strlcat(str, clnt_sperrno(rpc_createerr.cf_stat), ERRBUFSZ); in clnt_spcreateerror() 245 switch (rpc_createerr.cf_stat) { in clnt_spcreateerror() 254 clnt_sperrno(rpc_createerr.cf_error.re_status), in clnt_spcreateerror() 260 errstr = strerror(rpc_createerr.cf_error.re_errno); in clnt_spcreateerror() 266 rpc_createerr.cf_error.re_errno); in clnt_spcreateerror() 271 if ((rpc_createerr.cf_error.re_terrno > 0) && in clnt_spcreateerror() 272 (rpc_createerr.cf_error.re_terrno < t_nerr)) { in clnt_spcreateerror() 274 t_errlist[rpc_createerr.cf_error.re_terrno], in clnt_spcreateerror() 276 if (rpc_createerr.cf_error.re_terrno == TSYSERR) { in clnt_spcreateerror() 278 err = strerror(rpc_createerr.cf_error.re_errno); in clnt_spcreateerror() [all …]
|
H A D | mt_misc.c | 153 #undef rpc_createerr 155 struct rpc_createerr rpc_createerr; variable 157 struct rpc_createerr * 161 struct rpc_createerr *rce_addr; in __rpc_createerr() 164 return (&rpc_createerr); in __rpc_createerr() 168 return (&rpc_createerr); in __rpc_createerr()
|
H A D | clnt_simple.c | 103 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in rpc_call() 104 return (rpc_createerr.cf_stat); in rpc_call() 111 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in rpc_call() 112 rpc_createerr.cf_error.re_errno = errno; in rpc_call() 113 return (rpc_createerr.cf_stat); in rpc_call() 135 return (rpc_createerr.cf_stat); in rpc_call()
|
H A D | clnt_vc.c | 254 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in _clnt_vc_create_timed() 255 rpc_createerr.cf_error.re_errno = errno; in _clnt_vc_create_timed() 256 rpc_createerr.cf_error.re_terrno = 0; in _clnt_vc_create_timed() 269 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in _clnt_vc_create_timed() 270 rpc_createerr.cf_error.re_errno = errno; in _clnt_vc_create_timed() 271 rpc_createerr.cf_error.re_terrno = 0; in _clnt_vc_create_timed() 291 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in _clnt_vc_create_timed() 292 rpc_createerr.cf_error.re_terrno = errno; in _clnt_vc_create_timed() 293 rpc_createerr.cf_error.re_errno = 0; in _clnt_vc_create_timed() 337 rpc_createerr.cf_stat = RPC_TLIERROR; in _clnt_vc_create_timed() [all …]
|
H A D | clnt_dg.c | 155 rpc_createerr.cf_stat = RPC_UNKNOWNADDR; in clnt_dg_create() 159 rpc_createerr.cf_stat = RPC_TLIERROR; in clnt_dg_create() 160 rpc_createerr.cf_error.re_errno = 0; in clnt_dg_create() 161 rpc_createerr.cf_error.re_terrno = t_errno; in clnt_dg_create() 179 rpc_createerr.cf_stat = RPC_TLIERROR; /* XXX */ in clnt_dg_create() 180 rpc_createerr.cf_error.re_errno = 0; in clnt_dg_create() 181 rpc_createerr.cf_error.re_terrno = 0; in clnt_dg_create() 213 rpc_createerr.cf_stat = RPC_CANTENCODEARGS; /* XXX */ in clnt_dg_create() 214 rpc_createerr.cf_error.re_errno = 0; in clnt_dg_create() 215 rpc_createerr.cf_error.re_terrno = 0; in clnt_dg_create() [all …]
|
H A D | pmap_clnt.c | 147 rpc_createerr.cf_stat = RPC_PMAPFAILURE; in pmap_getport() 148 clnt_geterr(client, &rpc_createerr.cf_error); in pmap_getport() 150 rpc_createerr.cf_stat = RPC_PROGNOTREGISTERED; in pmap_getport()
|
H A D | rpc_soc.c | 88 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in clnt_com_create() 142 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clnt_com_create() 143 rpc_createerr.cf_error.re_errno = errno; in clnt_com_create() 144 rpc_createerr.cf_error.re_terrno = t_errno; in clnt_com_create()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | rpc_bootstrap.c | 86 rpc_createerr.cf_stat = RPC_N2AXLATEFAILURE; 90 rpc_createerr.cf_stat = RPC_TLIERROR; 95 rpc_createerr.cf_stat = RPC_SYSTEMERROR; 101 rpc_createerr.cf_stat = RPC_SYSTEMERROR; 115 rpc_createerr.cf_stat = RPC_SUCCESS; 118 if (rpc_createerr.cf_stat == RPC_SUCCESS) 119 rpc_createerr.cf_stat = RPC_TLIERROR; 162 rpc_createerr.cf_stat = RPC_UNKNOWNADDR; 181 rpc_createerr.cf_stat = RPC_UNKNOWNHOST; 207 rpc_createerr.cf_stat = RPC_N2AXLATEFAILURE; [all …]
|
H A D | ypwhich.c | 374 extern struct rpc_createerr rpc_createerr; 395 if (rpc_createerr.cf_stat == RPC_PROGNOTREGISTERED || 396 rpc_createerr.cf_stat == RPC_PROGUNAVAIL) { 399 } else if (rpc_createerr.cf_stat == RPC_PMAPFAILURE) { 557 extern struct rpc_createerr rpc_createerr; 561 if (rpc_createerr.cf_stat == RPC_PROGNOTREGISTERED) { 566 if (rpc_createerr.cf_stat == RPC_PMAPFAILURE) {
|
H A D | yppush.c | 255 extern struct rpc_createerr rpc_createerr; 1011 if (rpc_createerr.cf_stat == RPC_PROGNOTREGISTERED) { in send_message() 1015 rpcerr_msg(rpc_createerr.cf_stat); in send_message()
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | clnt_btcp.c | 72 struct rpc_createerr rpc_createerr; variable 132 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clntbtcp_create() 133 rpc_createerr.cf_error.re_errno = errno; in clntbtcp_create() 140 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clntbtcp_create() 141 rpc_createerr.cf_error.re_errno = errno; in clntbtcp_create() 148 &(rpc_createerr.cf_stat), raddr, NULL)) == 0) { in clntbtcp_create() 159 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clntbtcp_create() 160 rpc_createerr.cf_error.re_errno = errno; in clntbtcp_create() 179 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clntbtcp_create() 180 rpc_createerr.cf_error.re_errno = errno; in clntbtcp_create() [all …]
|
H A D | clnt_budp.c | 69 extern struct rpc_createerr rpc_createerr; 120 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clntbudp_bufcreate() 121 rpc_createerr.cf_error.re_errno = errno; in clntbudp_bufcreate() 129 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clntbudp_bufcreate() 130 rpc_createerr.cf_error.re_errno = errno; in clntbudp_bufcreate() 138 &(rpc_createerr.cf_stat), raddr, NULL)) == 0) { in clntbudp_bufcreate() 170 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clntbudp_bufcreate() 171 rpc_createerr.cf_error.re_errno = errno; in clntbudp_bufcreate() 187 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clntbudp_bufcreate() 188 rpc_createerr.cf_error.re_errno = errno; in clntbudp_bufcreate()
|
H A D | clnt.h | 222 struct rpc_createerr { struct 227 extern struct rpc_createerr rpc_createerr; argument
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_bind.c | 611 if (ypbind_running(err, rpc_createerr.cf_stat)) in __yp_dobind_cflookup() 765 if (ypbind_running(err, rpc_createerr.cf_stat)) in __yp_dobind_rsvdport_cflookup() 941 rpc_createerr.cf_stat = RPC_FAILED; in __clnt_create_loopback() 956 if (rpc_createerr.cf_stat == 0) in __clnt_create_loopback() 957 rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; in __clnt_create_loopback() 979 rpc_createerr.cf_stat = RPC_TLIERROR; in getclnt() 1005 rpc_createerr.cf_stat = RPC_N2AXLATEFAILURE; in getclnt() 1010 rpc_createerr.cf_stat = RPC_TLIERROR; in getclnt() 1015 rpc_createerr.cf_stat = RPC_TLIERROR; in getclnt() 1025 rpc_createerr.cf_stat = RPC_TLIERROR; in getclnt() [all …]
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | clnt_tcp.c | 119 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clnttcp_create() 120 rpc_createerr.cf_error.re_errno = errno; in clnttcp_create() 126 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clnttcp_create() 127 rpc_createerr.cf_error.re_errno = errno; in clnttcp_create() 154 rpc_createerr.cf_stat = RPC_SYSTEMERROR; in clnttcp_create() 155 rpc_createerr.cf_error.re_errno = errno; in clnttcp_create()
|
H A D | clnt_udp.c | 129 rpc_createerr.cf_stat = RPC_SYSTEMERROR; 130 rpc_createerr.cf_error.re_errno = errno; 138 rpc_createerr.cf_stat = RPC_SYSTEMERROR; 139 rpc_createerr.cf_error.re_errno = errno; 178 rpc_createerr.cf_stat = RPC_SYSTEMERROR; 179 rpc_createerr.cf_error.re_errno = errno;
|
/illumos-gate/usr/src/cmd/rpcinfo/ |
H A D | rpcinfo.c | 514 if (rpc_createerr.cf_stat == RPC_TLIERROR) { 520 rpc_createerr.cf_stat = RPC_PMAPFAILURE; 521 rpc_createerr.cf_error.re_status = RPC_FAILED; 737 if (client == NULL && rpc_createerr.cf_stat == 962 if (client == NULL && rpc_createerr.cf_stat == 1092 if (client == NULL && rpc_createerr.cf_stat == 1340 rpc_createerr.cf_stat = RPC_TLIERROR; 1341 rpc_createerr.cf_error.re_terrno = t_errno; 1691 rpc_createerr.cf_stat = RPC_SUCCESS; 1697 if (rpc_createerr.cf_stat == RPC_SUCCESS) [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt.h | 971 struct rpc_createerr { struct 977 extern struct rpc_createerr *__rpc_createerr(); argument 978 #define rpc_createerr (*(__rpc_createerr())) macro 980 extern struct rpc_createerr rpc_createerr;
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | clnt_subr.c | 49 if (rpc_createerr.cf_stat == RPC_PROGNOTREGISTERED) in mountprog_client_create()
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss.c | 267 memset(&rpc_createerr, 0, sizeof (rpc_createerr)); 416 if (rpc_createerr.cf_stat == 0) {
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 1250 rpc_createerr.cf_stat); in nfsmount() 1252 if (rpc_createerr.cf_stat == RPC_UNKNOWNHOST || in nfsmount() 1253 rpc_createerr.cf_stat == RPC_TIMEDOUT) in nfsmount() 1281 if (rpc_createerr.cf_stat != RPC_UNKNOWNHOST && in nfsmount() 1282 rpc_createerr.cf_stat != in nfsmount() 3322 hostname, rpc_createerr.cf_stat); in pingnfs() 3335 hostname, rpc_createerr.cf_stat); in pingnfs() 3337 if (rpc_createerr.cf_stat == RPC_UNKNOWNHOST || in pingnfs() 3338 rpc_createerr.cf_stat == RPC_TIMEDOUT) in pingnfs() 3340 if (rpc_createerr.cf_stat == in pingnfs() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 1486 if (rpc_createerr.cf_stat == RPC_TLIERROR) { in get_the_addr() 1489 SET_ERR_RET(error, ERR_RPCERROR, rpc_createerr.cf_stat); in get_the_addr() 2108 if (rpc_createerr.cf_stat == RPC_UNKNOWNHOST) { in get_fh() 2117 if ((rpc_createerr.cf_stat == RPC_TIMEDOUT) || in get_fh() 2118 (rpc_createerr.cf_stat == RPC_PMAPFAILURE)) { in get_fh() 2134 if (rpc_createerr.cf_stat == RPC_PROGVERSMISMATCH) { in get_fh()
|