Lines Matching defs:rc
167 int rc;
190 rc = ndr_rpc_call(&handle, opnum, &arg);
191 if (rc != 0) {
242 int rc;
269 rc = ndr_rpc_call(&handle, opnum, &arg);
270 if ((rc != 0) || (arg.status != 0)) {
336 int rc, opnum, i;
348 rc = srvsvc_open(server, domain, user, &handle);
349 if (rc != 0)
383 rc = ndr_rpc_call(&handle, opnum, &arg);
384 if ((rc != 0) || (arg.status != 0)) {
434 rc = -1;
440 return (rc);
461 int rc, i, opnum;
476 rc = srvsvc_open(server, domain, user, &handle);
477 if (rc != 0)
505 rc = ndr_rpc_call(&handle, opnum, &arg);
506 if ((rc != 0) || (arg.status != 0)) {
556 rc = -1;
562 return (rc);
585 int rc, i, opnum;
595 rc = srvsvc_open(server, domain, user, &handle);
596 if (rc != 0)
620 rc = ndr_rpc_call(&handle, opnum, &arg);
621 if ((rc != 0) || (arg.status != 0)) {
666 int opnum, rc;
685 rc = ndr_rpc_call(&handle, opnum, &arg);
686 if ((rc != 0) || (arg.status != 0)) {
746 int rc;
754 rc = srvsvc_net_remote_tod(di.d_dc, di.d_primary.di_nbname, tv,
757 if (rc == 0)
767 return (rc);
805 int rc;
811 rc = srvsvc_open(server, domain, user, &handle);
812 if (rc != 0)
824 rc = ndr_rpc_call(&handle, opnum, &arg);
825 if ((rc != 0) || (arg.status != 0)) {