Searched defs:rc (Results 376 - 400 of 1350) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_hw.c191 int rc; local
194 rc = ddi_prop_lookup_int_array(DDI_DEV_T_ANY, dev->dip,
197 if ((rc != DDI_SUCCESS) ||
200 "Failed to read \"reg\" property, Status = 0x%x", rc);
201 return (rc);
214 return (rc);
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_nicmon.c75 int rc; local
80 rc = pthread_create(&smbd_nicmon_tid, NULL, smbd_nicmon_daemon, NULL);
81 if (rc != 0)
124 int rc; local
134 rc = smb_smf_create_service_pgroup(hd, SMBD_PG_NAME);
135 if (rc != SMBD_SMF_OK) {
142 rc = smb_smf_get_boolean_property(hd, SMBD_NICMON_ENABLE, &status);
143 if (rc == SMBD_SMF_OK && status == 0)
261 int rc; local
266 rc
[all...]
H A Dsmbd_pipesvc.c127 int i, rc; local
145 rc = pthread_create(&tid, &tattr, pipesvc_listener, pl);
146 if (rc != 0)
151 if (rc != 0) {
152 smbd_report("pipesvc pthread_create, %d", rc);
157 return (rc);
183 int rc; local
237 rc = pthread_create(&tid, NULL, pipesvc_worker, np);
238 if (rc != 0) {
265 ssize_t rc; local
[all...]
H A Dsmbd_join.c66 int rc; local
78 rc = pthread_create(&smbd.s_dc_monitor_tid, &attr, smbd_dc_monitor,
81 return (rc);
194 int rc; local
226 rc = connect(sock, &sa, salen);
227 if (rc < 0)
228 rc = errno;
231 return (rc);
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_string.c326 int rc; local
328 rc = u8_strcmp(s1, s2, n, U8_STRCMP_CI_LOWER, U8_UNICODE_LATEST, &err);
331 return (rc);
/illumos-gate/usr/src/lib/libshare/smb/
H A Dsmb_share_doorclnt.c168 int rc; local
174 if ((rc = door_call(fd, arg)) == 0)
181 return (rc);
204 uint32_t rc; local
215 rc = smb_dr_encode_finish(enc_ctx, (unsigned int *)&arg->data_size);
216 if (rc != 0) {
251 int rc; local
259 rc = smb_dr_encode_finish(enc_ctx, (unsigned int *)&arg->data_size);
260 if (rc != 0) {
293 uint32_t rc; local
337 uint32_t rc; local
381 uint32_t rc; local
425 uint32_t rc; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
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 Dsmb_write.c52 int rc; local
58 rc = smbsr_decode_vwv(sr, "wwl", &sr->smb_fid, &count, &off);
67 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
83 int rc; local
94 rc = smb_write_truncate(sr, param);
96 rc = smbsr_decode_data(sr, "D", &param->rw_vdb);
98 if ((rc != 0) || (param->rw_vdb.vdb_len != param->rw_count)) {
106 rc = smb_common_write(sr, param);
109 if (rc != 0) {
111 smbsr_errno(sr, rc);
137 int rc; local
174 int rc = 0; local
241 int rc; local
272 int rc = 0; local
347 int rc; local
406 int rc; local
466 int rc = 0; local
550 int rc; local
[all...]
H A Dsmb_read.c64 int rc; local
69 rc = smbsr_decode_vwv(sr, "wwlw", &sr->smb_fid,
79 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
96 int rc; local
109 if ((rc = smb_common_read(sr, param)) != 0) {
110 smbsr_errno(sr, rc);
115 rc = smbsr_encode_result(sr, 5, VAR_BCC, "bw8.wbwC",
118 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
150 int rc; local
155 rc
183 int rc; local
242 int rc; local
294 int rc; local
376 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_cmn_rename.c102 int rc, count; local
108 rc = smb_rename_check_stream(src_fqi, dst_fqi);
109 if (rc != 0)
110 return (smb_rename_errno2status(rc));
123 rc = smb_rename_lookup_src(sr);
124 if (rc != 0)
125 return (smb_rename_errno2status(rc));
141 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode,
143 if (rc != 0) {
145 return (smb_rename_errno2status(rc));
424 int rc; local
528 int rc; local
[all...]
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_negotiate.c355 int rc = 0; local
365 rc = -1;
388 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
413 int rc; local
433 rc = smb1_negotiate_smb2(sr);
434 ASSERT(rc == SDRC_NO_REPLY ||
435 rc == SDRC_DROP_VC || rc == SDRC_ERROR);
436 return (rc);
459 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/lib/libkstat/common/
H A Dkstat.c95 int rc; local
98 rc = close(kc->kc_kd);
100 return (rc);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_init.c118 int rc; local
121 if ((rc = fksmbsrv_vfs_init()) != 0) {
122 cmn_err(CE_WARN, "fksmbsrv_vfs_init, rc=%d", rc);
123 return (rc);
125 if ((rc = smb_server_g_init()) != 0) {
126 cmn_err(CE_WARN, "smb_server_g_init, rc=%d", rc);
127 return (rc);
132 rc
139 int rc; local
159 int rc = 0; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dlsalib.c428 int rc; local
439 rc = lsar_lookup_priv_name(&domain_handle, &luid, name, 128);
440 if (rc != 0)
H A Dsrvsvc_clnt.c98 int rc; local
129 rc = ndr_rpc_call(&handle, opnum, &arg);
130 if ((rc != 0) || (arg.status != 0)) {
189 int rc; local
201 rc = srvsvc_open(server, domain, user, &handle);
202 if (rc != 0)
224 rc = ndr_rpc_call(&handle, opnum, &arg);
225 if ((rc != 0) || (arg.status != 0)) {
255 int rc; local
268 rc
361 int len, opnum, rc; local
494 int rc; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_scfutil.c158 int rc; local
166 rc = scf_transaction_commit(handle->scf_trans);
167 if (rc == 1) {
169 } else if (rc == 0) {
/illumos-gate/usr/src/lib/fm/libfmd_agent/common/
H A Dfmd_agent.c269 int rc = fmd_agent_pageop(hdl, FM_IOC_PAGE_RETIRE, fmri); local
280 if (rc == 0 || err == EIO || err == EINVAL) {
281 if (rc == 0)
294 int rc = fmd_agent_pageop(hdl, FM_IOC_PAGE_UNRETIRE, fmri); local
305 if (rc == 0 || err == EIO || err == EINVAL) {
306 if (rc == 0)
317 int rc = fmd_agent_pageop(hdl, FM_IOC_PAGE_STATUS, fmri); local
328 if (rc == 0 || err == EINVAL) {
329 if (rc == 0)
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_hostbridge.c263 int rc; local
281 for (rc = 0; rc < OPL_RC_MAX; rc++) {
282 p = iob->rcs[hb][rc];
291 brd, hb, rc);
310 rcnode = opl_rc_node_create(mp, hbnode, p, rc);
/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/uts/common/io/i40e/
H A Di40e_osdep.c47 int rc; local
63 rc = ddi_dma_alloc_handle(dip, &i40e->i40e_static_dma_attr,
65 if (rc != DDI_SUCCESS) {
68 "code: %d", rc);
74 if (rc == DDI_DMA_BADATTR)
79 rc = ddi_dma_mem_alloc(mem->idm_dma_handle, size,
82 if (rc != DDI_SUCCESS) {
96 rc = ddi_dma_addr_bind_handle(mem->idm_dma_handle, NULL, mem->va, len,
99 if (rc != DDI_DMA_MAPPED) {
110 len, rc);
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_mac.c44 efx_rc_t rc; local
46 if ((rc = ef10_phy_get_link(enp, &els)) != 0)
57 EFSYS_PROBE1(fail1, efx_rc_t, rc);
61 return (rc);
70 efx_rc_t rc; local
76 if ((rc = ef10_phy_get_link(enp, &els)) != 0)
84 EFSYS_PROBE1(fail1, efx_rc_t, rc);
86 return (rc);
104 efx_rc_t rc; local
121 rc
137 efx_rc_t rc; local
170 efx_rc_t rc; local
205 efx_rc_t rc; local
238 efx_rc_t rc; local
315 efx_rc_t rc; local
340 efx_rc_t rc; local
393 efx_rc_t rc; local
[all...]
H A Def10_mcdi.c52 efx_rc_t rc; local
67 rc = EINVAL;
77 rc = EINVAL;
94 EFSYS_PROBE1(fail1, efx_rc_t, rc);
96 return (rc);
189 efx_rc_t rc; local
215 rc = EIO;
223 EFSYS_PROBE1(fail1, efx_rc_t, rc);
225 return (rc);
236 efx_rc_t rc; local
[all...]

Completed in 67 milliseconds

<<11121314151617181920>>