Searched refs:rc (Results 151 - 175 of 1429) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dspagectrl.c27 int rc; local
44 rc = nsldapi_build_control(LDAP_CONTROL_SIMPLE_PAGE, ber, 1, isCritical,
47 ld->ld_errno = rc;
48 return (rc);
53 int i, rc; local
63 if ((rc = ber_scanf(theBer, "{iO}", totalcount, cookie)) == LBER_ERROR){
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-public.c112 int rc = LDAP_SUCCESS; /* optimistic */ local
118 ( rc = prldap_session_arg_from_ld( ld, &prsessp ))) {
119 return( rc );
128 rc = prldap_set_io_max_timeout( prsessp, va_arg( ap, int ));
131 rc = LDAP_PARAM_ERROR;
135 return( rc );
154 int rc = LDAP_SUCCESS; /* optimistic */ local
160 ( rc = prldap_session_arg_from_ld( ld, &prsessp ))) {
161 return( rc );
170 rc
191 int rc; local
227 int rc; local
319 int rc; local
357 int rc; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c239 ilbadm_status_t rc = ILBADM_OK; local
245 rc = cmd(argc, argv);
247 rc = ILBADM_INVAL_COMMAND;
248 ilbadm_err(ilbadm_errstr(rc));
251 return (rc);
329 ilbadm_status_t rc = ILBADM_OK; local
349 rc = ilb_import_cmdline(argcount, a->arglist, IMPORT_FILE);
350 if (rc != ILBADM_OK)
354 return (rc);
366 ilbadm_status_t rc; local
380 ilbadm_status_t rc = ILBADM_OK; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_mod.c47 int rc; local
52 if ((fp = ctf_modopen(mp, &rc)) == NULL)
53 return (rc);
63 int rc; local
71 if ((rc = kctl_mod_decompress(modp)) != 0) {
73 modp->mod_modname, ctf_errmsg(rc));
/illumos-gate/usr/src/cmd/syseventd/
H A Dsvc-syseventd33 rc=$?
34 if [ $rc -ne 0 ]; then
35 echo "WARNING: /usr/lib/sysevent/syseventd failed: exit status $rc"
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Doutput.c57 int rc; local
103 if ((rc = mrecv(buffer, MSGMAX)) != type) {
126 rc = getmessage(buffer, type, &status);
130 rc = getmessage(buffer, type, &status, &dummy);
131 CheckRC: if (rc != type) {
132 LP_ERRMSG1 (ERROR, E_LP_BADREPLY, rc);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddssetup_clnt.c45 int rc; local
58 rc = ndr_rpc_call(&handle, opnum, &arg);
59 if ((rc != 0) || (arg.status != 0) || arg.info == NULL) {
89 int rc; local
93 if ((rc = dssetup_get_domain_info(&ds_info)) == 0) {
99 return (rc);
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_nvram.c81 efx_rc_t rc; local
108 rc = ENOTSUP;
118 EFSYS_PROBE1(fail1, efx_rc_t, rc);
120 return (rc);
130 efx_rc_t rc; local
135 if ((rc = envop->envo_test(enp)) != 0)
141 EFSYS_PROBE1(fail1, efx_rc_t, rc);
143 return (rc);
156 efx_rc_t rc; local
163 if ((rc
189 efx_rc_t rc; local
222 efx_rc_t rc; local
260 efx_rc_t rc; local
295 efx_rc_t rc; local
336 efx_rc_t rc; local
392 efx_rc_t rc; local
433 efx_rc_t rc; local
494 efx_rc_t rc; local
556 efx_rc_t rc; local
647 efx_rc_t rc; local
704 efx_rc_t rc; local
742 efx_rc_t rc; local
797 efx_rc_t rc; local
841 efx_rc_t rc; local
895 efx_rc_t rc; local
933 efx_rc_t rc; local
[all...]
H A Dsiena_nvram.c44 efx_rc_t rc; local
47 rc = ENOTSUP;
51 if ((rc = efx_mcdi_nvram_info(enp, partn, sizep,
61 EFSYS_PROBE1(fail1, efx_rc_t, rc);
63 return (rc);
71 efx_rc_t rc; local
73 if ((rc = efx_mcdi_nvram_update_start(enp, partn)) != 0) {
80 EFSYS_PROBE1(fail1, efx_rc_t, rc);
82 return (rc);
94 efx_rc_t rc; local
124 efx_rc_t rc; local
147 efx_rc_t rc; local
176 efx_rc_t rc; local
265 efx_rc_t rc; local
315 efx_rc_t rc; local
437 efx_rc_t rc; local
492 efx_rc_t rc; local
569 efx_rc_t rc; local
613 efx_rc_t rc; local
[all...]
H A Dsiena_vpd.c54 efx_rc_t rc; local
60 if ((rc = siena_nvram_partn_size(enp, partn, &size)) != 0)
65 rc = ENOMEM;
69 if ((rc = siena_nvram_partn_read(enp, partn, 0,
76 rc = EINVAL;
90 rc = EINVAL;
97 if ((rc = siena_nvram_partn_read(enp, partn, SIENA_NVRAM_CHUNK,
108 rc = EINVAL;
118 rc = ENOMEM;
149 EFSYS_PROBE1(fail1, efx_rc_t, rc);
162 efx_rc_t rc; local
205 efx_rc_t rc; local
244 efx_rc_t rc; local
297 efx_rc_t rc; local
373 efx_rc_t rc; local
417 efx_rc_t rc; local
459 efx_rc_t rc; local
517 efx_rc_t rc; local
[all...]
H A Defx_vpd.c93 efx_rc_t rc; local
120 rc = ENOTSUP;
125 if ((rc = evpdop->evpdo_init(enp)) != 0)
137 EFSYS_PROBE1(fail1, efx_rc_t, rc);
139 return (rc);
148 efx_rc_t rc; local
153 if ((rc = evpdop->evpdo_size(enp, sizep)) != 0)
159 EFSYS_PROBE1(fail1, efx_rc_t, rc);
161 return (rc);
171 efx_rc_t rc; local
194 efx_rc_t rc; local
217 efx_rc_t rc; local
248 efx_rc_t rc; local
272 efx_rc_t rc; local
297 efx_rc_t rc; local
320 efx_rc_t rc; local
349 efx_rc_t rc; local
431 efx_rc_t rc; local
468 efx_rc_t rc; local
506 efx_rc_t rc; local
602 efx_rc_t rc; local
659 efx_rc_t rc; local
735 efx_rc_t rc; local
801 efx_rc_t rc; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclenvmond.c92 picl_errno_t rc = PICL_SUCCESS; local
94 if ((rc = env_init()) != PICL_SUCCESS) {
96 "error = %d"), rc);
150 picl_errno_t rc; /* return code */ local
154 rc = ptree_get_prop_by_name(nodeh, pname, &proph);
155 if (rc == PICL_SUCCESS) { /* prop. already exists */
156 return (rc);
159 rc = ptree_init_propinfo(&propinfo, PTREE_PROPINFO_VERSION,
161 if (rc != PICL_SUCCESS) {
162 syslog(LOG_ERR, PTREE_INIT_PROPINFO_FAILED_MSG, rc);
258 int rc = PICL_SUCCESS; local
309 int rc = PICL_SUCCESS; local
347 int rc = PICL_SUCCESS; local
385 int rc = PICL_SUCCESS; local
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_metaslot.c60 int rc = SUCCESS; local
142 rc = FAILURE;
152 rc = FAILURE;
160 rc = FAILURE;
186 rc = FAILURE;
207 rc = FAILURE;
246 rc = FAILURE;
255 rc = FAILURE;
263 rc = FAILURE;
268 rc
335 int rc; local
364 int rc = SUCCESS; local
452 int rc = SUCCESS; local
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dclientinit.c412 int rc; local
438 rc = NSS_Init(certdbpath);
441 if ((rcenv != 1) && (reset_nss_strict_fork_env(enval) != 0) && (rc == 0)) {
448 if (rc != 0) {
449 if ((rc = PR_GetError()) >= 0)
450 rc = -1;
452 return (rc);
457 if (( rc = PR_GetError()) >= 0 ) {
458 rc = -1;
461 return( rc );
518 int rc; local
593 int rc; local
748 int version, rc; local
870 int rc, resultCode, msgid; local
[all...]
/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem.c58 int rc, err; local
62 rc = fmd_agent_page_isretired(hdl, fmri);
68 return (rc);
152 int rc, err = 0; local
163 rc = topo_fmri_expand(thp, nvl, &err);
166 return (rc);
168 if ((rc = nvlist_lookup_string_array(nvl, FM_FMRI_MEM_SERIAL_ID,
171 } else if (rc != ENOENT)
182 rc = nvlist_add_string_array(nvl, FM_FMRI_MEM_SERIAL_ID, serids,
187 if (rc !
215 int rc, err = 0; local
315 int rc, err = 0; local
417 int rc, err = 0; local
462 int rc, err1 = 0, err2; local
[all...]
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_comm.c57 ilb_status_t rc = ILB_STATUS_OK; local
68 rc = ILB_STATUS_INTERNAL;
74 rc = ILB_STATUS_INTERNAL;
83 rc = ILB_STATUS_SOCKET;
91 rc = ILB_STATUS_SOCKET;
97 rc = ILB_STATUS_SOCKET;
106 if (rc != ILB_STATUS_OK && s != -1)
109 if (rc == ILB_STATUS_OK) {
115 return (rc);
171 ilb_status_t rc local
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapmodrdn.c42 int rc, havedn, deref, optind; local
123 rc = 0;
126 rc = domodrdn(ld, entrydn, rdn, L_newParent, remove_oldrdn);
128 else while ( (rc == 0 || contoper) &&
163 rc = domodrdn(ld, entrydn, rdn, L_newParent, remove_oldrdn);
188 printf(gettext("kex: new line %d\n"), rc);
191 rc = domodrdn(ld, entrydn, rdn, NULL, remove_oldrdn);
196 if ( (rc == 0 || contoper) && haverdn ) /* second type of sequence */
198 rc = domodrdn(ld, entrydn, rdn, NULL, remove_oldrdn);
204 exit( rc );
225 int rc = LDAP_SUCCESS; local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_resv.c101 int rc; local
103 rc = nsc_reserve(fd, flag);
105 if (rc == 0)
108 return (rc);
149 int rc, rw; local
160 while ((rc = _nsc_attach_fd(fd, flag)) != 0)
161 if (rc != ERESTART)
164 if (!rc && !fd->sf_reserve++) {
170 return (rc);
328 int rc; local
388 int rc; local
439 int rc, av; local
517 int rc; local
578 int rc; local
640 int rc; local
679 int rc, rw; local
743 int (*fn)(), av, rc; local
844 int rc = 0; local
910 int rc = 0, v = *ap; local
970 int rc = 1; local
[all...]
H A Dnsc_dev.c194 int rc, id, flag; local
207 rc = _nsc_decode_io(def, io);
209 if (!rc && id != NSC_NULL) {
233 while ((rc = _nsc_reopen_io(NULL, 0)) != 0)
234 if (rc != ERESTART)
293 int rc = 0; local
315 if ((rc = nsc_unregister_path(sp, flag)) != 0) {
317 return (rc);
326 while (io->refcnt && !rc) {
327 while ((rc
378 int rc; local
430 int rc; local
491 int rc, errno = 0; local
541 int rc, errno = 0; local
666 int rc; local
727 int flag, rc; local
787 int rc; local
841 int rc; local
914 int rc; local
962 int rc; local
1041 int last, rc; local
1111 int rc = -1; local
1129 int rc; local
1249 int rc; local
1283 int rc; local
1526 int rc; local
1728 int rc; local
1989 int rc; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_create.c39 int rc; local
43 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec);
44 if (rc == 0)
45 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
53 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
82 int rc; local
86 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec);
87 if (rc == 0)
88 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
95 return ((rc
125 int rc; local
[all...]
H A Dsmb_tree_connect.c92 int rc; local
97 rc = smbsr_decode_data(sr, "%AAA", sr, &tcon->path,
106 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
119 int rc; local
127 rc = smbsr_encode_result(sr, 2, 0, "bwww",
133 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
277 int rc; local
279 rc = smbsr_decode_vwv(sr, "b.www", &sr->andx_com, &sr->andx_off,
281 if (rc == 0) {
285 rc
312 int rc; local
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_ioctl.c50 int rc = ENOTSUP; local
55 rc = pci_rw(sc, data, mode, cmd == T4_IOCTL_PCIPUT32);
59 rc = reg_rw(sc, data, mode, cmd == T4_IOCTL_PUT32);
62 rc = regdump(sc, data, mode);
65 rc = get_sge_context(sc, data, mode);
68 rc = get_devlog(sc, data, mode);
71 rc = read_card_mem(sc, data, mode);
74 rc = read_tid_tab(sc, data, mode);
77 rc = read_mbox(sc, data, mode);
80 rc
158 int rc = 0, i; local
407 int rc = 0; local
451 int rc = 0; local
483 int rc = 0; local
576 int rc = 0; local
628 int rc = 0; local
654 int rc = 0; local
708 int rc = 0; local
742 int rc = 0; local
780 int rc = 0, i; local
[all...]
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtokenmtddi.c130 int rc, rc2; local
143 if ((rc = nvlist_lookup_string(nvlp, TOKENMT_RED_ACTION_NAME,
149 return (rc);
160 if ((rc = nvlist_lookup_string(nvlp, TOKENMT_YELLOW_ACTION_NAME,
175 if ((rc = nvlist_lookup_string(nvlp, TOKENMT_GREEN_ACTION_NAME,
181 return (rc);
192 if ((rc = nvlist_lookup_uint32(nvlp, TOKENMT_COMMITTED_RATE,
198 return (rc);
209 if ((rc = nvlist_lookup_uint32(nvlp, TOKENMT_COMMITTED_BURST,
215 return (rc);
653 int rc; local
686 int rc; local
704 int rc = 0; local
802 int rc; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c159 int rc = ENOMEM; local
161 if ((rc = nvlist_pack(shrlist, &shrbuf, &bufsz, NV_ENCODE_XDR, 0)) != 0)
162 return (rc);
169 rc = smb_kmod_ioctl(SMB_IOC_SHARE, &ioc->hdr, ioclen);
174 return (rc);
184 int rc = ENOMEM; local
186 if ((rc = nvlist_pack(shrlist, &shrbuf, &bufsz, NV_ENCODE_XDR, 0)) != 0)
187 return (rc);
194 rc = smb_kmod_ioctl(SMB_IOC_UNSHARE, &ioc->hdr, ioclen);
199 return (rc);
206 int rc; local
224 int rc; local
245 int rc; local
364 int rc; local
423 int rc; local
440 int rc; local
465 int rc = EINVAL; local
[all...]
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_text.c253 int rc = 0; local
261 if ((rc = idm_keyvalue_get_next(&tbscan, &tblen,
267 if ((rc = idm_nvlist_add_keyvalue(nvl,
282 return (rc);
391 int rc; local
398 rc = idm_nvlist_add_string(nvl, ikvx, value);
401 rc = idm_nvlist_add_boolean(nvl, ikvx, value);
406 rc = idm_nvlist_add_binary(nvl, ikvx, value);
409 rc = idm_nvlist_add_large_numerical(nvl, ikvx,
413 rc
447 int rc; local
482 int rc; local
576 int rc; local
602 int rc; local
676 int rc; local
740 int rc = 0; local
771 int rc = 0; local
834 int rc; local
862 int rc; local
891 int rc; local
936 int rc; local
975 int rc; local
1274 int rc; local
1465 int rc; local
[all...]

Completed in 125 milliseconds

1234567891011>>