Searched refs:rc (Results 251 - 275 of 1429) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_create.c90 int rc = 0; local
108 rc = smb_mbc_decodef(
125 if (rc != 0 || StructSize != 57)
151 rc = smb_mbc_decodef(&sr->smb_data, "%#U", sr,
153 if (rc) {
219 rc = MBC_SHADOW_CHAIN(&cc_mbc, &sr->smb_data,
221 if (rc) {
247 rc = smb_mbc_decodef(&cce->cce_mbc, "q", &op->dsize);
248 if (rc) {
375 rc
450 int rc; local
577 int rc; local
615 int rc; local
[all...]
H A Dsmb_opipe.c108 int rc; local
123 rc = ksocket_connect(opipe->p_socket, (struct sockaddr *)&saddr,
126 return (rc);
150 int rc; local
177 rc = ksocket_send(opipe->p_socket, buf, buflen, 0,
179 if (rc == 0 && iocnt != buflen)
180 rc = EIO;
181 if (rc != 0)
184 rc = ksocket_recv(opipe->p_socket, &status, sizeof (status), 0,
186 if (rc !
310 int rc = 0; local
360 int rc; local
408 int rc; local
497 int len, rc; local
[all...]
H A Dsmb_close.c44 int rc; local
46 rc = smbsr_decode_vwv(sr, "wl", &sr->smb_fid, &sr->arg.timestamp);
49 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
85 int rc; local
87 rc = smbsr_decode_vwv(sr, "wl", &sr->smb_fid, &sr->arg.timestamp);
90 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
H A Dsmb_kdoor.c71 int rc; local
83 rc = (sv->sv_kdoor_hd == NULL) ? -1 : 0;
85 return (rc);
117 int rc; local
157 if ((rc = smb_kdoor_send(sv, &da)) == 0) {
159 rc = -1;
161 rc = smb_kdoor_receive(sv, &da);
164 if ((rc = smb_kdoor_encode(&da)) == 0) {
165 if ((rc = smb_kdoor_upcall_private(sv, &da)) == 0)
166 rc
187 int rc; local
210 int rc; local
239 int rc; local
[all...]
H A Dsmb2_signing.c79 int rc; local
98 rc = smb2_hmac_getmech(mech);
99 if (rc != 0) {
102 return (rc);
165 int offset, resid, tlen, rc; local
170 rc = smb2_hmac_init(&ctx, s->sign_mech, sign_key->key, sign_key->len);
171 if (rc != 0)
172 return (rc);
185 if ((rc = smb2_hmac_update(ctx, tmp_hdr, tlen)) != 0)
186 return (rc);
[all...]
H A Dsmb_set_fileinfo.c212 int rc = 0; local
243 rc = -1;
247 return (rc);
267 int rc; local
286 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path,
288 if (rc == 0) {
289 rc = smb_fsop_lookup_name(sr, sr->user_cr, SMB_FOLLOW_LINKS,
295 if (rc != 0) {
296 if (rc == ENOENT) {
300 smbsr_errno(sr, rc);
402 int rc; local
440 int rc; local
483 int rc; local
539 int rc; local
[all...]
/illumos-gate/usr/src/cmd/filesync/
H A Daction.c124 int rc = 0; local
192 rc = -1;
218 rc = -1;
221 rc = opt_notouch ? 0 : chmod(dst, sp->f_mode);
225 sp->f_mode, rc, errno);
228 if (rc == 0) {
238 if (rc == 0 && do_acls) {
247 rc = -1;
250 rc = opt_notouch ? 0 : set_acls(dst, sp);
254 sp->f_numacls, rc, errn
395 int rc; local
852 int rc; local
937 { int rc; local
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dgetpagesizes.c81 int rc; local
105 rc = pagesizes;
109 rc = set_errno(EINVAL);
113 rc = set_errno(EFAULT);
116 rc = nelem;
120 return (rc);
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_misc.c428 int rc; local
435 rc = DDI_SUCCESS;
450 rc = DDI_SUCCESS;
454 rc = DDI_FAILURE;
457 return (rc);
476 int rc; local
496 if ((rc = hpf_register_module("SDBC", _sd_hpf_stats)) != 0)
497 return (rc);
518 if ((rc = _sdbc_iobuf_load()) != 0)
519 return (rc);
822 int rc; local
925 int rc = 0; local
934 int rc; local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c385 int rc; local
404 rc = sv_init_devs();
405 if (rc != 0 && rc != EAGAIN) {
566 int rc = DDI_FAILURE; local
572 rc = DDI_SUCCESS;
580 rc = DDI_SUCCESS;
587 return (rc);
887 int rc; local
891 rc
910 int rc; local
1086 int rc = 0; local
1108 int rc; local
1204 int rc; local
1416 int rc; local
1680 int rc; local
1741 int rc = 0; /* Return code -- errno */ local
2100 int rw, rc; /* flags and return codes */ local
2428 int rc; local
2530 int rc; local
2638 int pnum, rc; local
2695 int rc = 0; local
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_seq.c50 int rc; local
64 else if ((rc = ap_suspend_query(a, c, &check)) != CFGA_OK)
65 return (rc);
224 cfga_err_t rc; local
245 rc = ap_platopts_check(a, first, last);
247 if (rc != CFGA_OK) {
273 rc = ap_suspend_check(a, cmd,
277 if (suspend && ((rc = ap_rcm_ctl(a, c)) == CFGA_OK)) {
295 rc = ap_rcm_ctl(a, c);
339 rc
416 cfga_err_t rc; local
[all...]
/illumos-gate/usr/src/cmd/print/lpget/
H A Dlpget.c60 int rc = -1; local
63 rc = 0;
68 return (rc);
75 int rc = -1; local
78 rc = 0;
84 rc += display_kvp(*keys, string);
99 rc += display_kvp((*list)->key, string);
106 return (rc);
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dfopen.c115 FILE *rc; local
118 rc = _endopen(file, mode, iop, LARGE_OPEN);
119 if (rc == NULL && iop != NULL)
121 return (rc);
134 FILE *rc; local
137 rc = _endopen(file, mode, iop, ALWAYS_LARGE_OPEN);
138 if (rc == NULL && iop != NULL)
140 return (rc);
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_mod.c141 register int rc = 0; local
218 if ((rc = cpr_check_spec_statefile()) != 0)
219 return (rc);
244 if ((rc = cpr_check_spec_statefile()) != 0)
245 return (rc);
250 if ((rc = cpr_reusable_mount_check()) != 0)
251 return (rc);
366 rc = i_cpr_reuseinit();
368 return (rc);
379 rc
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_pci.c122 ACPI_STATUS rc = AE_OK; local
158 rc = AE_OK;
162 rc = AE_BAD_PARAMETER;
164 if (ACPI_FAILURE(rc) && rc != AE_NOT_EXIST && rc != AE_ALREADY_EXISTS) {
168 rc = AE_OK;
171 return (rc);
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_rx.c180 efx_rc_t rc; local
186 rc = EINVAL;
191 rc = EINVAL;
216 rc = ENOTSUP;
220 if ((rc = erxop->erxo_init(enp)) != 0)
234 EFSYS_PROBE1(fail1, efx_rc_t, rc);
238 return (rc);
265 efx_rc_t rc; local
270 if ((rc = erxop->erxo_scatter_enable(enp, buf_size)) != 0)
276 EFSYS_PROBE1(fail1, efx_rc_t, rc);
287 efx_rc_t rc; local
313 efx_rc_t rc; local
342 efx_rc_t rc; local
369 efx_rc_t rc; local
394 efx_rc_t rc; local
448 efx_rc_t rc; local
489 efx_rc_t rc; local
610 efx_rc_t rc; local
716 efx_rc_t rc; local
765 efx_rc_t rc; local
889 efx_rc_t rc; local
1123 efx_rc_t rc; local
[all...]
H A Defx_lic.c344 efx_rc_t rc; local
361 rc = req.emr_rc;
366 rc = EIO;
375 EFSYS_PROBE1(fail1, efx_rc_t, rc);
377 return (rc);
388 efx_rc_t rc; local
405 rc = req.emr_rc;
410 rc = EMSGSIZE;
432 EFSYS_PROBE1(fail1, efx_rc_t, rc);
434 return (rc);
529 efx_rc_t rc; local
581 efx_rc_t rc; local
615 efx_rc_t rc; local
652 efx_rc_t rc; local
714 efx_rc_t rc; local
771 efx_rc_t rc; local
815 efx_rc_t rc; local
878 efx_rc_t rc; local
915 efx_rc_t rc; local
979 efx_rc_t rc; local
1036 efx_rc_t rc; local
1154 efx_rc_t rc; local
1241 efx_rc_t rc; local
1268 efx_rc_t rc; local
1294 efx_rc_t rc; local
1325 efx_rc_t rc; local
1388 efx_rc_t rc; local
1410 efx_rc_t rc; local
1433 efx_rc_t rc; local
1465 efx_rc_t rc; local
1501 efx_rc_t rc; local
1528 efx_rc_t rc; local
1556 boolean_t rc; local
1581 boolean_t rc; local
1614 efx_rc_t rc; local
1644 efx_rc_t rc; local
1674 efx_rc_t rc; local
1700 efx_rc_t rc; local
1726 efx_rc_t rc; local
[all...]
H A Def10_tx.c64 efx_rc_t rc; local
71 rc = EINVAL;
116 rc = req.emr_rc;
125 EFSYS_PROBE1(fail1, efx_rc_t, rc);
127 return (rc);
138 efx_rc_t rc; local
152 rc = req.emr_rc;
159 EFSYS_PROBE1(fail1, efx_rc_t, rc);
161 return (rc);
193 efx_rc_t rc; local
244 efx_rc_t rc; local
324 efx_rc_t rc; local
371 efx_rc_t rc; local
423 efx_rc_t rc; local
515 efx_rc_t rc; local
646 efx_rc_t rc; local
670 efx_rc_t rc; local
[all...]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmap_config.c237 int rc = 0; local
268 rc = scf_value_get_boolean(value, &b);
270 if (rc == 0)
277 return (rc);
284 int rc = 0; local
327 rc = scf_value_get_count(value, val);
330 rc = scf_value_get_integer(value, val);
337 if (rc != 0) {
346 return (rc);
385 int rc local
543 int rc = 0; local
600 int rc = -1; local
674 int rc = -1; local
776 int rc; local
802 int rc = -1; local
1336 int rc; local
1542 int rc; local
2136 int rc = 0; local
2568 int rc; local
2614 int rc; local
2694 int rc; local
[all...]
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c178 fmev_err_t rc = FMEV_OK; local
180 if (rulesetp && (rc = vrfy_ruleset(*rulesetp)) != FMEV_OK)
181 return (rc);
183 if (classp && (rc = vrfy_class(*classp)) != FMEV_OK ||
184 subclassp && (rc = vrfy_subclass(*subclassp)) != FMEV_OK ||
185 prip && (rc = vrfy_pri(*prip)) != FMEV_OK)
186 return (rc);
361 fmev_err_t rc = FMEVERR_INTERNAL; local
401 rc = FMEVERR_INTERNAL;
414 rc
451 fmev_err_t rc; local
469 fmev_err_t rc; local
495 fmev_err_t rc; local
518 fmev_err_t rc; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c131 int rc = 0; local
152 rc = parse_ldap_cmd_line(cmdline_options, &proxyInfo,
156 rc = 0;
159 if (rc == 0) {
161 rc = yp_parse_ldap_default_conf(&proxyInfo, &ldapConfig,
164 rc = parse_ldap_default_conf(&proxyInfo, &ldapConfig,
178 if (rc == 0 && config_file != NULL) {
183 rc = yp_parse_ldap_config_file(config_file, &proxyInfo,
187 rc = parse_ldap_config_file(config_file, &proxyInfo,
194 if (rc
251 int rc = 0; local
303 int rc = 0; local
413 int rc = 0; local
575 int rc = 0; local
653 int rc = 0; local
941 int rc = 0; local
1050 int rc; local
1126 int rc; local
1179 int rc = 0; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddecr_mgr.c44 CK_RV rc; local
54 rc = object_mgr_find_in_map1(sess->hContext, key_handle,
56 if (rc != CKR_OK) {
59 rc = template_attribute_find(key_obj->template,
61 if (rc == FALSE) {
70 rc = object_mgr_find_in_map1(sess->hContext, key_handle,
72 if (rc != CKR_OK) {
75 rc = template_attribute_find(key_obj->template,
77 if (rc == FALSE) {
94 rc
[all...]
H A Dencr_mgr.c42 CK_RV rc; local
53 rc = object_mgr_find_in_map1(sess->hContext, key_handle,
55 if (rc != CKR_OK) {
58 rc = template_attribute_find(key_obj->template,
60 if (rc == FALSE) {
69 rc = object_mgr_find_in_map1(sess->hContext, key_handle,
71 if (rc != CKR_OK) {
74 rc = template_attribute_find(key_obj->template,
76 if (rc == FALSE) {
94 rc
[all...]
/illumos-gate/usr/src/lib/libfru/libfru/
H A DAncestor.cc145 Ancestor *rc = NULL; local
162 if (rc == NULL) {
163 rc = ant;
165 Ancestor *tmp = rc;
179 return (rc);
191 Ancestor *rc = new Ancestor(element, tag, def); local
194 rc->addInstance("", 0);
195 return (rc);
208 offset, rc, path);
215 delete rc;
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclsensors.c106 smc_errno_t rc = SMC_SUCCESS; local
120 if ((rc = smc_send_msg(DEFAULT_FD, &req_pkt, &rsp_pkt,
123 sensor_no, rc);
185 smc_errno_t rc; local
202 if ((rc = smc_send_msg(sensor_fd, &req_pkt, &rsp_pkt,
205 sensor_no, rc);
219 smc_errno_t rc = SMC_SUCCESS; local
229 if ((rc = smc_send_msg(DEFAULT_FD, &req_pkt, &rsp_pkt,
232 sensor_no, rc);
247 picl_errno_t rc; local
277 picl_errno_t rc = PICL_SUCCESS; local
326 picl_errno_t rc = PICL_SUCCESS; local
363 picl_errno_t rc = PICL_SUCCESS; local
536 smc_errno_t rc = SMC_SUCCESS; local
567 picl_errno_t rc = PICL_SUCCESS; local
[all...]

Completed in 127 milliseconds

<<11121314151617181920>>