Searched refs:rc (Results 101 - 125 of 1429) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/mail/
H A Dgethead.c74 int rc, size, start, stop, ix; local
112 if ((rc = fseek(file, let[ln].adr, 0)) != 0) {
122 if ((rc = strncmp(wline, header[H_FROM].tag, 5)) != SAME) {
129 for (rc = 5; wline[rc] == ' ' || wline[rc] == '\t'; ++rc)
131 (void) strlcpy(hold, wline + rc, MAXHDRSIZE);
134 while (((rc = strncmp(wline,
156 for (ix = 0, rc
[all...]
/illumos-gate/usr/src/cmd/smbsrv/bind-helper/
H A Dbind-helper.c49 int rc, err = 0; local
61 rc = inet_pton(AF_INET, argv[2], &sin->sin_addr);
65 rc = inet_pton(AF_INET6, argv[2], &sin6->sin6_addr);
69 rc = 0;
73 if (rc > 0)
75 else if (rc == 0)
77 else if (rc < 0)
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_tree_connect.c35 int rc = 0; local
40 rc = smb_mbc_decodef(
46 if (rc)
63 rc = smb_mbc_decodef(
66 if (rc)
101 rc = smb_mbc_encodef(
109 if (rc)
H A Dsmb_print.c64 int rc; local
68 rc = smbsr_decode_vwv(sr, "ww", &setup, &mode);
69 if (rc == 0)
70 rc = smbsr_decode_data(sr, "%S", sr, &identifier);
72 if (rc == 0) {
84 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
100 * rc 0 SDRC_SUCCESS
101 * rc non-zero SDRC_ERROR
107 int rc; local
119 if ((rc
157 int rc; local
185 smb_sdrc_t rc; local
250 int rc; local
276 int rc; local
[all...]
H A Dsmb2_tree_disconn.c27 int rc; local
32 rc = smb_mbc_decodef(
36 if (rc)
H A Dsmb2_flush.c32 int rc = 0; local
37 rc = smb_mbc_decodef(
44 if (rc)
H A Dsmb_delete.c99 int rc; local
104 if ((rc = smbsr_decode_vwv(sr, "w", &fqi->fq_sattr)) == 0)
105 rc = smbsr_decode_data(sr, "%S", sr, &fqi->fq_path.pn_path);
109 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
145 int rc; local
163 rc = smb_pathname_reduce(sr, sr->user_cr, fqi->fq_path.pn_path,
166 if (rc == 0) {
169 rc = ENOTDIR;
172 if (rc != 0) {
173 if (rc
289 int rc, deleted = 0; local
373 int rc; local
473 int rc, count; local
[all...]
H A Dsmb_init.c179 int rc; local
181 if ((rc = smb_server_g_init()) != 0) {
182 return (rc);
185 if ((rc = mod_install(&modlinkage)) != 0) {
189 return (rc);
201 int rc; local
206 if ((rc = mod_remove(&modlinkage)) == 0) {
210 return (rc);
262 int rc = 0; local
281 rc
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_nic.c49 efx_rc_t rc; local
64 rc = req.emr_rc;
69 rc = EMSGSIZE;
80 EFSYS_PROBE1(fail1, efx_rc_t, rc);
82 return (rc);
93 efx_rc_t rc; local
108 rc = req.emr_rc;
118 rc = EMSGSIZE;
129 EFSYS_PROBE1(fail1, efx_rc_t, rc);
131 return (rc);
143 efx_rc_t rc; local
182 efx_rc_t rc; local
216 efx_rc_t rc; local
274 efx_rc_t rc; local
337 efx_rc_t rc; local
389 efx_rc_t rc; local
436 efx_rc_t rc; local
487 efx_rc_t rc; local
543 efx_rc_t rc; local
579 efx_rc_t rc; local
627 efx_rc_t rc; local
662 efx_rc_t rc; local
697 efx_rc_t rc; local
789 efx_rc_t rc; local
848 efx_rc_t rc; local
897 efx_rc_t rc; local
994 efx_rc_t rc; local
1083 efx_rc_t rc; local
1138 efx_rc_t rc; local
1230 efx_rc_t rc; local
1302 efx_rc_t rc; local
1352 efx_rc_t rc; local
1529 efx_rc_t rc; local
1570 efx_rc_t rc; local
1607 efx_rc_t rc; local
[all...]
H A Dsiena_nic.c45 efx_rc_t rc; local
57 rc = req.emr_rc;
62 rc = EMSGSIZE;
73 EFSYS_PROBE1(fail1, efx_rc_t, rc);
75 return (rc);
87 efx_rc_t rc; local
93 if ((rc = efx_mcdi_get_board_cfg(enp, &board_type,
128 rc = efx_mcdi_get_resource_limits(enp, &nevq, &nrxq, &ntxq);
129 if (rc != 0) {
130 if (rc !
165 efx_rc_t rc; local
194 efx_rc_t rc; local
303 efx_rc_t rc; local
378 efx_rc_t rc; local
495 efx_rc_t rc; local
[all...]
H A Defx_port.c40 efx_rc_t rc; local
47 rc = EINVAL;
58 if ((rc = efx_mac_select(enp)) != 0)
71 if ((rc = epop->epo_power(enp, B_TRUE)) != 0)
74 if ((rc = epop->epo_reset(enp)) != 0)
81 if ((rc = epop->epo_reconfigure(enp)) != 0)
91 EFSYS_PROBE1(fail1, efx_rc_t, rc);
95 return (rc);
106 efx_rc_t rc; local
117 if ((rc
139 efx_rc_t rc; local
[all...]
H A Dmedford_nic.c46 efx_rc_t rc; local
57 rc = req.emr_rc;
78 rc = ENOTSUP;
90 EFSYS_PROBE1(fail1, efx_rc_t, rc);
92 return (rc);
112 efx_rc_t rc; local
119 if ((rc = efx_mcdi_get_port_assignment(enp, &port)) != 0)
128 if ((rc = ef10_external_port_mapping(enp, port,
138 if ((rc = efx_mcdi_get_function_info(enp, &pf, &vf)) != 0)
146 rc
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_sg.c243 ilbadm_status_t rc = ILBADM_OK; local
260 rc = ILBADM_LIBERR;
288 rc = ILBADM_LIBERR;
294 rc = ILBADM_LIBERR;
313 rc = ILBADM_LIBERR;
316 return (rc);
335 ilbadm_status_t rc; local
338 rc = i_parse_optstring(arg, (void *) sgp, servrange_keys,
340 return (rc);
346 ilbadm_status_t rc; local
361 ilbadm_status_t rc = ILBADM_OK; local
439 ilbadm_status_t rc = ILBADM_OK; local
520 ilbadm_status_t rc = ILBADM_OK; local
578 ilbadm_status_t rc = ILBADM_OK; local
658 ilbadm_status_t rc = ILBADM_OK; local
711 ilbadm_status_t rc = ILBADM_OK; local
800 ilb_status_t rc = ILB_STATUS_OK; local
823 ilbadm_status_t rc = ILBADM_OK; local
[all...]
/illumos-gate/usr/src/cmd/getent/
H A Ddogetipnodes.c42 int rc = 0; local
72 rc = 1;
76 rc = 1;
79 rc = 1;
82 rc = 1;
84 return (rc);
94 int rc = EXC_SUCCESS; local
124 rc = EXC_NAME_NOT_FOUND;
130 return (rc);
H A Ddogetpw.c40 int rc = EXC_SUCCESS; local
68 rc = EXC_NAME_NOT_FOUND;
74 return (rc);
H A Ddogetsp.c42 int rc = EXC_SUCCESS; local
56 rc = EXC_NAME_NOT_FOUND;
62 return (rc);
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent6.c95 int rc; local
101 rc = snprintf(searchfilter, sizeof (searchfilter),
103 if (rc >= sizeof (searchfilter) || rc < 0)
105 rc = snprintf(userdata, sizeof (userdata),
107 if (rc >= sizeof (userdata) || rc < 0)
111 rc = sysinfo(SI_SRPC_DOMAIN, realdomain, BUFSIZ);
112 if (rc <= 0)
137 rc
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dssp.c91 int indx, rc; local
109 rc = spnegoInitFromBinary((uchar_t *)m->m_data, m->m_len,
111 if (rc) {
112 DPRINT("parse hint, rc %d", rc);
233 int err, rc; local
250 rc = spnegoInitFromBinary((uchar_t *)m->m_data,
252 if (rc) {
253 DPRINT("parse reply, rc %d", rc);
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetshdr.c40 void * rc; local
52 rc = scn->s_shdr;
54 return (rc);
/illumos-gate/usr/src/cmd/ldap/common/
H A Detest.c95 rc = ber_put_enum( ber, i, (char)ber->ber_tag );
99 rc = ber_put_null( ber, (char)ber->ber_tag );
105 rc = ber_put_ostring( ber, s, len, (char)ber->ber_tag );
110 rc = ber_put_string( ber, s, (char)ber->ber_tag );
116 rc = ber_put_bitstring( ber, s, len, (char)ber->ber_tag );
128 if ( (rc = ber_put_string( ber, ss[i],
138 if ( (rc = ber_put_ostring( ber, bv[i]->bv_val,
145 rc = ber_start_seq( ber, (char)ber->ber_tag );
149 rc = ber_put_seqorset( ber );
153 rc
[all...]
H A Dldapdelete.c71 int rc, deref, optind; local
122 rc = dodelete( ld, conv, ldaptool_request_ctrls );
128 rc = 0;
129 while ((rc == 0 || contoper) &&
133 rc = dodelete( ld, buf, ldaptool_request_ctrls );
143 rc = ldaptool_check_ferror( stdout, rc,
145 return( rc );
163 int rc; local
169 rc
184 int rc; local
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_deleg_ops.c66 clock_t rc; local
87 rc = rfs4_dbe_twait(fp->rf_dbe,
89 if (rc == -1) { /* timed out */
104 int rc; local
117 rc = recall_all_delegations(fp, FALSE, ct);
118 if (rc == NFS4ERR_DELAY)
129 int rc; local
141 rc = recall_all_delegations(fp, FALSE, ct);
142 if (rc == NFS4ERR_DELAY)
158 int rc; local
179 int rc; local
198 int rc; local
216 int rc; local
236 int rc; local
259 int rc; local
279 int rc; local
297 int rc; local
312 int rc; local
330 int rc; local
347 int rc; local
364 clock_t rc; local
404 clock_t rc; local
[all...]
/illumos-gate/usr/src/cmd/backup/dump/
H A Dlftw.c116 int rc; local
121 rc = (lf_xftw(path, fn, depth, lstat64));
123 return (rc);
139 int rc, sublen, saverr, attrfd; local
176 rc = (*fn)(path, &sb, FTW_F);
177 if (rc == 0 && attrfd != -1) {
179 rc = lf_xftw(".", fn, depth-1, statfn);
183 return (rc);
199 rc = (errno == EACCES? (*fn)(path, &sb, FTW_DNR): -1);
201 rc
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclfrutree.c478 picl_errno_t rc; local
486 if ((rc = ptree_get_propval_by_name(nodeh, PICL_PROP_NAME, name,
488 return (rc);
557 picl_errno_t rc; local
586 if ((rc = ptree_get_propval_by_name(wd_nodehdl,
605 if ((rc = ptree_get_propval_by_name(wd_nodehdl,
622 if ((rc = ptree_walk_tree_by_class(chassish, PICL_CLASS_FRU,
633 if ((rc = post_piclevent(PICLEVENT_CONDITION_CHANGE,
637 SANIBEL_PICLNODE_CPU, PICLEVENT_CONDITION_CHANGE, rc);
1083 picl_errno_t rc local
1563 picl_errno_t rc; local
1611 picl_errno_t rc; local
1650 int rc = PICL_SUCCESS; local
1732 picl_errno_t rc; local
1790 picl_errno_t rc, rc1; local
1935 picl_errno_t rc; local
2009 picl_errno_t rc; local
2142 picl_errno_t rc; local
2261 picl_errno_t rc; local
2335 picl_errno_t rc; local
2414 picl_errno_t rc; local
2484 picl_errno_t rc; local
2556 picl_errno_t rc; local
2689 picl_errno_t rc = 0; local
2702 picl_errno_t rc = PICL_SUCCESS; local
2726 picl_errno_t rc = 0; local
2773 picl_errno_t rc = 0, retval = 0; local
2842 picl_errno_t rc; local
2910 picl_errno_t rc; local
2997 picl_errno_t rc; local
3123 picl_errno_t rc; local
3159 picl_errno_t rc; local
3309 picl_errno_t rc; local
3429 picl_errno_t rc; local
3521 picl_errno_t rc; local
3681 picl_errno_t rc; local
3736 picl_errno_t rc; local
3840 picl_errno_t rc; local
3880 picl_errno_t rc; local
3922 picl_errno_t rc; local
4051 picl_errno_t rc; local
4166 picl_errno_t rc; local
4298 picl_errno_t rc; local
4345 picl_errno_t rc; local
4407 int rc; local
4480 int rc; local
4514 picl_errno_t rc = 0; local
4540 picl_errno_t rc; local
4606 picl_errno_t rc; local
4678 picl_errno_t rc; local
4829 picl_errno_t rc; local
4965 picl_errno_t rc; local
5000 picl_errno_t rc; local
5036 picl_errno_t rc; local
5117 picl_errno_t rc; local
5504 picl_errno_t rc; local
5618 picl_errno_t rc; local
5684 picl_errno_t rc; local
5797 picl_errno_t rc; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclplatmod.c164 int rc = SMC_SUCCESS; local
173 rc = smc_send_msg(DEFAULT_FD, &req_pkt, &rsp_pkt,
176 if (rc != SMC_SUCCESS)
178 " to %x, error = %d"), ipmb_addr, rc);
179 return (rc);
278 picl_errno_t rc = PICL_SUCCESS; local
282 return (rc);
287 if ((rc = ptree_get_node_by_path(PICL_FRUTREE_CHASSIS,
289 return (rc);
296 rc
353 picl_errno_t rc = PICL_SUCCESS; local
399 picl_errno_t rc; local
692 int rc = SMC_SUCCESS; local
747 int rc = SMC_SUCCESS; local
801 picl_errno_t rc = PICL_SUCCESS; local
[all...]

Completed in 613 milliseconds

1234567891011>>