Lines Matching defs:error
86 int error;
89 error = 0;
106 error = clnt_clts_kcreate(config, svcaddr, prog, vers,
108 if (error != 0) {
110 "clnt_tli_kcreate: clnt_clts_kcreate failed error %d\n",
111 error);
112 return (error);
123 error = clnt_cots_kcreate(config->knc_rdev, svcaddr, family,
125 if (error != 0) {
127 "clnt_tli_kcreate: clnt_cots_kcreate failed error %d\n",
128 error);
129 return (error);
147 error = clnt_rdma_kcreate(config->knc_proto,
150 if (error != 0) {
152 "clnt_tli_kcreate: clnt_rdma_kcreate failed error %d\n",
153 error);
154 return (error);
158 error = EINVAL;
161 return (error);
184 int error = 0;
207 error = EINVAL;
210 return (error);
230 int error;
236 if ((error = t_kalloc(tiptr, T_BIND, T_ADDR, (char **)&req)) != 0) {
237 RPCLOG(1, "bindresvport: t_kalloc %d\n", error);
238 return (error);
241 if ((error = t_kalloc(tiptr, T_BIND, T_ADDR, (char **)&ret)) != 0) {
242 RPCLOG(1, "bindresvport: t_kalloc %d\n", error);
244 return (error);
277 if ((error = t_kbind(tiptr, req, ret)) != 0) {
278 RPCLOG(1, "bindresvport: t_kbind: %d\n", error);
284 if (error == EINTR)
288 RPCLOG0(1, "bindresvport: bcmp error\n");
290 error = EADDRINUSE;
297 error = EADDRINUSE;
305 (error == EADDRINUSE || error == EADDRNOTAVAIL) &&
313 if ((error = t_kbind(tiptr, req, ret)) != 0) {
314 RPCLOG(1, "bindresvport: t_kbind: %d\n", error);
320 if (error == EINTR)
324 RPCLOG0(1, "bindresvport: bcmp error\n");
326 error = EADDRINUSE;
328 error = 0;
330 if (!error) {
348 if (!error && bound_addr) {
359 return (error);