Searched refs:rc (Results 1 - 25 of 1429) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libstand/
H A Dcd9660.c283 int rc, first, use_rrip, lenskip; local
290 rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, cdb2devb(bno),
292 if (rc)
295 rc = EIO;
298 rc = EINVAL;
323 rc = f->f_dev->dv_strategy
328 if (rc)
331 rc = EIO;
365 rc = ENOENT;
389 rc
435 int rc = 0; local
471 int rc = 0; local
[all...]
H A Dufs.c149 int rc; local
159 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
162 if (rc)
165 rc = EIO;
189 return (rc);
207 int rc; local
269 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
274 if (rc)
275 return (rc);
313 int rc; local
391 int rc; local
453 int rc; local
498 int i, rc; local
728 int rc = 0; local
768 int rc = 0; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/uboot/
H A DMakefile152 # Install loader.rc.
153 FILES+= loader.rc
154 # Put sample menu.rc on disk but don't enable it by default.
155 FILES+= menu.rc
156 FILESNAME_menu.rc= menu.rc.sample
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbootstrap.h48 void interact(const char *rc);
58 void bf_init(char *rc);
H A Ddisk.c81 int rc; local
83 rc = ENOENT;
99 rc = EAGAIN;
101 return (rc);
282 int rc, slice, partition; local
284 rc = 0;
286 rc = disk_lookup(dev);
287 if (rc == 0)
298 if (rc == EAGAIN) {
329 rc
[all...]
H A Dinterp.c95 interact(const char *rc) argument
99 bf_init((rc) ? "" : NULL);
101 if (rc == NULL) {
103 include("/boot/loader.rc");
104 } else if (*rc != '\0')
105 include(rc);
H A Dinterp_forth.c254 bf_init(char *rc) argument
314 if (rc == NULL)
315 rc = "/boot/forth/boot.4th";
316 if (*rc != '\0') {
317 fd = open(rc, O_RDONLY);
/illumos-gate/usr/src/boot/sys/boot/i386/loader/
H A DMakefile128 FILES += loader.rc
129 FORTH += menu.rc
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A DMakefile102 FILES+= loader.rc menu.rc
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c116 int rc; local
118 rc = CALLBACK(readdir, f->f_fsdata, &fileno, &type, &namelen,
120 if (rc)
121 return (rc);
H A Duserboot_disk.c172 int rc; local
181 rc = CALLBACK(diskread, dev->d_unit, off, buf, size, &resid);
182 if (rc)
183 return (rc);
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfs.c106 int rc; local
116 rc = zfs_lookup(mount, upath, &fp->f_dnode);
118 if (rc) {
122 return (rc);
150 int rc; local
152 rc = zfs_stat(f, &sb);
153 if (rc)
154 return (rc);
159 rc = dnode_read(spa, &fp->f_dnode, fp->f_seekp, start, n);
160 if (rc)
234 int rc; local
[all...]
H A Dzfsimpl.c221 int rc; local
223 rc = 0;
253 rc = EIO;
263 return (rc);
408 int rc; local
420 rc = vdev->v_phys_read(vdev, vdev->v_read_priv, offset, buf, psize);
421 if (rc)
422 return (rc);
444 int rc; local
446 rc
513 int rc; local
919 int i, rc, is_newer; local
1249 int i, rc; local
1412 int rc; local
1487 int rc; local
1514 int chunks, i, rc; local
1546 int i, j, rc; local
1754 int rc; local
2077 int rc; local
2115 int rc; local
2192 int rc; local
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c1333 raidz_col_t *rc; local
1336 rc = &rm->rm_col[c];
1337 if (!rc->rc_tried || rc->rc_error != 0)
1339 orig[c] = zfs_alloc(rc->rc_size);
1340 bcopy(rc->rc_data, orig[c], rc->rc_size);
1346 rc = &rm->rm_col[c];
1347 if (!rc->rc_tried || rc
1371 raidz_col_t *rc; local
1517 raidz_col_t *rc; local
[all...]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dappcert.pl91 my $rc = overall_result_code();
95 exit $rc;
773 # Does the cleanup and then exits with return code $rc. The utility
775 # performed if exiting with error ($rc > 0) so that the user can examine
780 my ($rc) = @_;
782 if ($rc != 0) {
788 exit $rc;
H A Dsymcheck.pl112 # Does the cleanup then exit with return code $rc. Note: The utility
117 my ($rc) = @_;
118 $rc = 0 unless ($rc);
121 exit $rc;
768 my ($rc, $output, $output_syslib);
785 $rc = $?;
788 if ($rc != 0 || ($output =~ /^[\s\n]*$/)) {
H A Dsymprof.pl96 # Does the cleanup then exits with return code $rc. Note: The utility
101 my ($rc) = @_;
102 $rc = 0 unless ($rc);
105 exit $rc;
1414 my ($rc, $msg, $child, $result);
1463 $rc = $?; # Record exit status.
1468 if ($rc != 0) {
H A Dsymreport.pl94 # Does the cleanup and then exit with return code $rc. Note: The
99 my ($rc) = @_;
100 $rc = 0 unless ($rc);
103 exit $rc;
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dbindings.c252 int rc; local
258 rc = (strcmp(v1, p));
261 return (rc);
H A Dio.c63 int rc = YES; local
98 return (rc);
H A Dtrace.c181 int rc = SUCCESS_RC; local
200 rc = ERROR_RC;
206 return (rc);
396 int rc = SUCCESS_RC; local
399 rc += !generate_aux_file();
402 return (rc);
/illumos-gate/usr/src/cmd/acct/
H A Dacctdisk.c48 int rc; local
51 while ((rc = scanf("%ld\t%s\t%f",
60 if (rc != EOF) {
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c133 int rc; local
151 rc = acctctl(type | AC_FILE_SET, (void *) file, strlen(file) + 1);
152 if (rc == -1 && (err = errno) == EBUSY) {
165 rc = 0;
176 if (rc == 0)
/illumos-gate/usr/src/cmd/addbadsec/
H A Daddbadsec.c395 uint_t rc; local
396 rc = ((nav & 0xff000000) >> 24) | ((nav & 0x00ff0000) >> 8) |
398 return (rc);
404 ushort_t rc; local
405 rc = (ushort_t)((int)(niv & 0xff00) >> 8) | ((niv & 0x00ff) << 8);
406 return (rc);
H A Dix_altsctr.c849 int rc; local
856 rc = read (fd, bufp, len);
859 rc = write (fd, bufp, len);
864 if (rc == -1)

Completed in 154 milliseconds

1234567891011>>