Searched defs:rc (Results 151 - 175 of 1350) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_page.c92 int rc; local
141 if (rsrc == NULL || (rc = fmd_nvl_fmri_unretire(hdl, rsrc)) < 0)
142 rc = cma_fmri_page_unretire(hdl, asrucp);
152 if (rsrc == NULL || (rc = fmd_nvl_fmri_retire(hdl, rsrc)) < 0)
153 rc = cma_fmri_page_retire(hdl, asrucp);
156 if (rc == FMD_AGENT_RETIRE_DONE) {
165 } else if (repair || rc != FMD_AGENT_RETIRE_ASYNC) {
207 int rc; local
220 (rc = fmd_nvl_fmri_service_state(hdl, page->pg_rsrc)) < 0)
221 rc
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetarsym.c181 Elf_Arsym *rc; local
225 rc = (Elf_Arsym *)elf->ed_arsym;
227 return (rc);
H A Dgetdata.c300 Elf_Data * rc; local
313 rc = _elf_locked_getdata(scn, data);
315 return (rc);
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dbindings.c252 int rc; local
258 rc = (strcmp(v1, p));
261 return (rc);
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnscadm.c86 int opt, rc; local
91 rc = 0;
120 rc = nsc_isfrozen(argv[optind+1]);
121 if (rc < 0) {
124 } else if (rc != 0) {
125 rc = nsc_freeze(argv[optind+1]);
126 if (rc < 0) {
146 rc = nsc_isfrozen(argv[optind+1]);
147 if (rc < 0) {
150 } else if (rc
218 int rc = 0; local
[all...]
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsdbc_ioctl.c110 int rc; local
148 if ((rc = ioctl(__sdbc_fd, cmd, &args)) < 0) {
155 return (rc);
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dsysevent_events.c152 int rc; local
155 rc = pthread_attr_init(&attr);
156 if (rc != 0) {
158 strerror(rc));
161 rc = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
162 if (rc != 0) {
164 "failed: %s", strerror(rc));
167 rc = pthread_create(NULL, &attr, sysevent_initialization, NULL);
168 if (rc != 0) {
170 "thread: %s", strerror(rc));
[all...]
/illumos-gate/usr/src/cmd/tail/
H A Dread.c135 int ch, rc; local
144 rc = 0;
171 rc = 1;
202 return (rc);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_srcid.c243 boolean_t rc; local
252 rc = B_TRUE;
257 * Use it, along with the property of "addr" to set the rc.
260 rc = v4mapped; /* We want a v4mapped address. */
262 rc = !v4mapped; /* We don't want a v4mapped address. */
264 if (rc)
269 return (rc);
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_rmspin.c231 * Returns 0 (success) or errno. Lock is not acquired if rc != 0.
236 int rc; local
243 rc = nsc_do_lock(1, &rmlockp->child);
244 if (rc) {
249 return (rc);
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_driver.c279 int rc; local
295 rc = ddi_getlongprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, "reg",
297 ASSERT(rc != DDI_PROP_NO_MEMORY);
298 if (rc != DDI_PROP_SUCCESS) {
H A Dcpr_uthread.c176 int rc = 0; local
214 } while ((tp = tp->t_next) != curthread && rc == 0);
/illumos-gate/usr/src/uts/common/io/cxgbe/cxgbe/
H A Dcxgbe.c89 int rc; local
92 rc = mod_install(&modlinkage);
93 if (rc != 0)
96 return (rc);
102 int rc; local
104 rc = mod_remove(&modlinkage);
105 if (rc != 0)
106 return (rc);
124 int rc; local
150 rc
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun_mod.c203 int rc; local
208 rc = DDI_FAILURE;
211 rc = DDI_SUCCESS;
216 rc = DDI_SUCCESS;
219 rc = DDI_FAILURE;
222 return (rc);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfmove.c34 Sfoff_t sfmove(Sfio_t* fr, Sfio_t* fw, Sfoff_t n, reg int rc) argument
36 Sfoff_t sfmove(fr,fw,n,rc)
40 reg int rc; /* record separator */
59 if(rc >= 0) /* moving records, let sfgetr() deal with record reading */
60 { if(!(cp = (uchar*)sfgetr(fr,rc,0)) )
/illumos-gate/usr/src/cmd/login/
H A Dlogin_audit.c63 int rc; local
89 rc = adt_put_event(event, ADT_SUCCESS, ADT_SUCCESS);
92 if (rc) {
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Drwlock.c58 int rc; local
61 rc = rw_rdlock(&rwlp->rw_lock);
63 rc = rw_wrlock(&rwlp->rw_lock);
66 VERIFY(rc == 0);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_directory.c57 int rc; local
59 rc = smbsr_decode_data(sr, "%S", sr,
65 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
77 int rc = 0; local
92 if ((rc = smb_common_create_directory(sr)) != 0) {
93 smbsr_errno(sr, rc);
97 rc = smbsr_encode_empty_result(sr);
98 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
113 int rc; local
121 rc
204 int rc; local
224 int rc; local
359 int rc; local
379 int rc; local
[all...]
H A Dsmb2_read.c42 int rc = 0; local
47 rc = smb_mbc_decodef(
61 if (rc)
97 rc = smb_lock_range_access(sr, of->f_node,
99 if (rc) {
100 rc = ERANGE;
104 rc = smb_fsop_read(sr, of->f_cr, of->f_node, &vdb->vdb_uio);
107 rc = smb_opipe_read(sr, &vdb->vdb_uio);
111 rc = EACCES;
127 if (rc) {
[all...]
H A Dsmb2_session_setup.c44 int rc = 0; local
49 rc = smb_mbc_decodef(
59 if (rc)
78 rc = smb_mbc_decodef(&sr->smb_data, "#c",
80 if (rc)
121 rc = smb_mbc_encodef(
130 if (rc)
H A Dsmb2_write.c42 int rc = 0; local
47 rc = smb_mbc_decodef(
61 if (rc)
93 rc = smb_mbc_decodef(&sr->smb_data, "#B", Length, vdb);
94 if (rc != 0 || vdb->vdb_len != Length) {
109 rc = smb_lock_range_access(sr, of->f_node,
111 if (rc) {
112 rc = ERANGE;
120 rc = smb_fsop_write(sr, of->f_cr, of->f_node,
122 if (rc)
[all...]
H A Dsmb_cmn_setfile.c59 int rc; local
92 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr);
93 if (rc != 0)
94 return (smb_errno2status(rc));
111 int rc; local
127 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr);
128 if (rc != 0)
129 return (smb_errno2status(rc));
147 int rc; local
163 rc
[all...]
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_nt_transact_create.c63 int rc; local
67 rc = smb_mbc_decodef(&xa->req_param_mb, "%lllqllllllllb",
83 if (rc == 0) {
89 rc = -1;
91 rc = smb_mbc_decodef(&xa->req_param_mb, "%#u",
119 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
147 int rc; local
210 rc = smb_node_getattr(sr, of->f_node, of->f_cr, of, &attr);
211 if (rc != 0) {
212 smbsr_errno(sr, rc);
[all...]
/illumos-gate/usr/src/lib/libads/common/
H A Ddsgetdc.c133 int rc; local
140 rc = 0;
146 rc = ERROR_NO_SUCH_DOMAIN;
149 rc = ERROR_INTERNAL_ERROR;
152 return (rc);

Completed in 144 milliseconds

1234567891011>>