Lines Matching defs:rc
68 int rc;
78 rc = ndr_pipe_process(np, mxa);
79 } while (rc == 0);
98 int rc = ENOMEM;
107 rc = nds_initialize(recv_nds, 0, NDR_MODE_CALL_RECV, mxa->heap);
108 if (rc != 0)
112 rc = nds_initialize(send_nds, 0, NDR_MODE_RETURN_SEND, mxa->heap);
113 if (rc != 0)
116 rc = ndr_recv_request(mxa);
117 if (rc != 0)
122 rc = 0;
131 return (rc);
180 int rc;
182 rc = ndr_recv_frag(mxa);
183 if (rc != 0)
184 return (rc);
189 rc = ndr_recv_frag(mxa);
190 if (rc != 0)
191 return (rc);
200 rc = ndr_decode_pdu_hdr(mxa);
203 return (rc);
231 int rc;
240 rc = NDR_PIPE_RECV(mxa->pipe, data, NDR_RSP_HDR_SIZE);
241 if (rc != 0)
267 rc = NDR_PIPE_RECV(mxa->pipe, data, pay_size);
268 if (rc != 0)
282 int rc;
288 rc = ndr_svc_bind(mxa);
292 rc = ndr_svc_request(mxa);
296 rc = ndr_svc_alter_context(mxa);
300 rc = NDR_DRC_FAULT_RPCHDR_PTYPE_INVALID;
304 if (NDR_DRC_IS_FAULT(rc))
305 ndr_reply_fault(mxa, rc);
307 return (rc);
327 int rc;
411 rc = (msvc->bind_req)(mxa);
412 if (NDR_DRC_IS_FAULT(rc)) {
417 return (rc);
507 int rc;
524 rc = (*msvc->call_stub)(mxa);
526 rc = ndr_generic_call_stub(mxa);
528 if (NDR_DRC_IS_FAULT(rc)) {
530 msvc->name, mxa->opnum, rc);
533 return (rc);
551 int rc;
569 rc = ndr_decode_call(mxa, param);
570 if (!NDR_DRC_IS_OK(rc))
571 return (rc);
573 rc = (*ste->func)(param, mxa);
574 if (rc == NDR_DRC_OK)
575 rc = ndr_encode_return(mxa, param);
577 return (rc);