result 305 kern/dev/generic/console.c int result;
result 327 kern/dev/generic/console.c result = uiomove(&ch, 1, uio);
result 328 kern/dev/generic/console.c if (result) {
result 330 kern/dev/generic/console.c return result;
result 337 kern/dev/generic/console.c result = uiomove(&ch, 1, uio);
result 338 kern/dev/generic/console.c if (result) {
result 340 kern/dev/generic/console.c return result;
result 368 kern/dev/generic/console.c int result;
result 383 kern/dev/generic/console.c result = vfs_adddev("con", dev, 0);
result 384 kern/dev/generic/console.c if (result) {
result 386 kern/dev/generic/console.c return result;
result 118 kern/dev/generic/random.c int result;
result 137 kern/dev/generic/random.c result = vfs_adddev("random", &rs->rs_dev, 0);
result 138 kern/dev/generic/random.c if (result) {
result 139 kern/dev/generic/random.c return result;
result 186 kern/dev/lamebus/emu.c int result;
result 211 kern/dev/lamebus/emu.c result = emu_waitdone(sc);
result 213 kern/dev/lamebus/emu.c if (result==0) {
result 219 kern/dev/lamebus/emu.c return result;
result 231 kern/dev/lamebus/emu.c int result;
result 245 kern/dev/lamebus/emu.c result = emu_waitdone(sc);
result 247 kern/dev/lamebus/emu.c if (result==EIO && retries < 10) {
result 259 kern/dev/lamebus/emu.c return result;
result 270 kern/dev/lamebus/emu.c int result;
result 280 kern/dev/lamebus/emu.c result = emu_waitdone(sc);
result 281 kern/dev/lamebus/emu.c if (result) {
result 285 kern/dev/lamebus/emu.c result = uiomove(sc->e_iobuf, emu_rreg(sc, REG_IOLEN), uio);
result 291 kern/dev/lamebus/emu.c return result;
result 324 kern/dev/lamebus/emu.c int result;
result 334 kern/dev/lamebus/emu.c result = uiomove(sc->e_iobuf, len, uio);
result 335 kern/dev/lamebus/emu.c if (result) {
result 340 kern/dev/lamebus/emu.c result = emu_waitdone(sc);
result 344 kern/dev/lamebus/emu.c return result;
result 354 kern/dev/lamebus/emu.c int result;
result 360 kern/dev/lamebus/emu.c result = emu_waitdone(sc);
result 361 kern/dev/lamebus/emu.c if (result==0) {
result 366 kern/dev/lamebus/emu.c return result;
result 376 kern/dev/lamebus/emu.c int result;
result 383 kern/dev/lamebus/emu.c result = emu_waitdone(sc);
result 386 kern/dev/lamebus/emu.c return result;
result 472 kern/dev/lamebus/emu.c int result;
result 489 kern/dev/lamebus/emu.c result = emu_close(ev->ev_emu, ev->ev_handle);
result 490 kern/dev/lamebus/emu.c if (result) {
result 493 kern/dev/lamebus/emu.c return result;
result 532 kern/dev/lamebus/emu.c int result;
result 544 kern/dev/lamebus/emu.c result = emu_read(ev->ev_emu, ev->ev_handle, amt, uio);
result 545 kern/dev/lamebus/emu.c if (result) {
result 546 kern/dev/lamebus/emu.c return result;
result 588 kern/dev/lamebus/emu.c int result;
result 600 kern/dev/lamebus/emu.c result = emu_write(ev->ev_emu, ev->ev_handle, amt, uio);
result 601 kern/dev/lamebus/emu.c if (result) {
result 602 kern/dev/lamebus/emu.c return result;
result 640 kern/dev/lamebus/emu.c int result;
result 644 kern/dev/lamebus/emu.c result = emu_getsize(ev->ev_emu, ev->ev_handle, &statbuf->st_size);
result 645 kern/dev/lamebus/emu.c if (result) {
result 646 kern/dev/lamebus/emu.c return result;
result 649 kern/dev/lamebus/emu.c result = VOP_GETTYPE(v, &statbuf->st_mode);
result 650 kern/dev/lamebus/emu.c if (result) {
result 651 kern/dev/lamebus/emu.c return result;
result 665 kern/dev/lamebus/emu.c emufs_file_gettype(struct vnode *v, uint32_t *result)
result 668 kern/dev/lamebus/emu.c *result = S_IFREG;
result 677 kern/dev/lamebus/emu.c emufs_dir_gettype(struct vnode *v, uint32_t *result)
result 680 kern/dev/lamebus/emu.c *result = S_IFDIR;
result 735 kern/dev/lamebus/emu.c int result;
result 738 kern/dev/lamebus/emu.c result = emu_open(ev->ev_emu, ev->ev_handle, name, true, excl, mode,
result 740 kern/dev/lamebus/emu.c if (result) {
result 741 kern/dev/lamebus/emu.c return result;
result 744 kern/dev/lamebus/emu.c result = emufs_loadvnode(ef, handle, isdir, &newguy);
result 745 kern/dev/lamebus/emu.c if (result) {
result 747 kern/dev/lamebus/emu.c return result;
result 765 kern/dev/lamebus/emu.c int result;
result 768 kern/dev/lamebus/emu.c result = emu_open(ev->ev_emu, ev->ev_handle, pathname, false, false, 0,
result 770 kern/dev/lamebus/emu.c if (result) {
result 771 kern/dev/lamebus/emu.c return result;
result 774 kern/dev/lamebus/emu.c result = emufs_loadvnode(ef, handle, isdir, &newguy);
result 775 kern/dev/lamebus/emu.c if (result) {
result 777 kern/dev/lamebus/emu.c return result;
result 1040 kern/dev/lamebus/emu.c emufs_lookup_notdir(struct vnode *v, char *pathname, struct vnode **result)
result 1044 kern/dev/lamebus/emu.c (void)result;
result 1050 kern/dev/lamebus/emu.c emufs_lookparent_notdir(struct vnode *v, char *pathname, struct vnode **result,
result 1055 kern/dev/lamebus/emu.c (void)result;
result 1154 kern/dev/lamebus/emu.c int result;
result 1186 kern/dev/lamebus/emu.c result = VOP_INIT(&ev->ev_v, isdir ? &emufs_dirops : &emufs_fileops,
result 1188 kern/dev/lamebus/emu.c if (result) {
result 1192 kern/dev/lamebus/emu.c return result;
result 1195 kern/dev/lamebus/emu.c result = vnodearray_add(ef->ef_vnodes, &ev->ev_v, NULL);
result 1196 kern/dev/lamebus/emu.c if (result) {
result 1202 kern/dev/lamebus/emu.c return result;
result 1287 kern/dev/lamebus/emu.c int result;
result 1308 kern/dev/lamebus/emu.c result = emufs_loadvnode(ef, EMU_ROOTHANDLE, 1, &ef->ef_root);
result 1309 kern/dev/lamebus/emu.c if (result) {
result 1311 kern/dev/lamebus/emu.c return result;
result 1316 kern/dev/lamebus/emu.c result = vfs_addfs(devname, &ef->ef_fs);
result 1317 kern/dev/lamebus/emu.c if (result) {
result 1321 kern/dev/lamebus/emu.c return result;
result 211 kern/dev/lamebus/lhd.c int result;
result 239 kern/dev/lamebus/lhd.c result = uiomove(lh->lh_buf, LHD_SECTSIZE, uio);
result 240 kern/dev/lamebus/lhd.c if (result) {
result 242 kern/dev/lamebus/lhd.c return result;
result 256 kern/dev/lamebus/lhd.c result = lh->lh_result;
result 262 kern/dev/lamebus/lhd.c if (result==0 && uio->uio_rw==UIO_READ) {
result 263 kern/dev/lamebus/lhd.c result = uiomove(lh->lh_buf, LHD_SECTSIZE, uio);
result 270 kern/dev/lamebus/lhd.c if (result) {
result 271 kern/dev/lamebus/lhd.c return result;
result 73 kern/dev/lamebus/lrandom.c int result;
result 78 kern/dev/lamebus/lrandom.c result = uiomove(&val, sizeof(val), uio);
result 79 kern/dev/lamebus/lrandom.c if (result) {
result 80 kern/dev/lamebus/lrandom.c return result;
result 74 kern/fs/sfs/sfs_fs.c int result;
result 90 kern/fs/sfs/sfs_fs.c result = sfs_rblock(sfs, ptr, SFS_MAP_LOCATION+j);
result 93 kern/fs/sfs/sfs_fs.c result = sfs_wblock(sfs, ptr, SFS_MAP_LOCATION+j);
result 97 kern/fs/sfs/sfs_fs.c if (result) {
result 98 kern/fs/sfs/sfs_fs.c return result;
result 115 kern/fs/sfs/sfs_fs.c int result;
result 160 kern/fs/sfs/sfs_fs.c result = sfs_mapio(sfs, UIO_WRITE);
result 161 kern/fs/sfs/sfs_fs.c if (result) {
result 163 kern/fs/sfs/sfs_fs.c return result;
result 170 kern/fs/sfs/sfs_fs.c result = sfs_wblock(sfs, &sfs->sfs_super, SFS_SB_LOCATION);
result 171 kern/fs/sfs/sfs_fs.c if (result) {
result 173 kern/fs/sfs/sfs_fs.c return result;
result 257 kern/fs/sfs/sfs_fs.c int result;
result 304 kern/fs/sfs/sfs_fs.c result = sfs_rblock(sfs, &sfs->sfs_super, SFS_SB_LOCATION);
result 305 kern/fs/sfs/sfs_fs.c if (result) {
result 309 kern/fs/sfs/sfs_fs.c return result;
result 341 kern/fs/sfs/sfs_fs.c result = sfs_mapio(sfs, UIO_READ);
result 342 kern/fs/sfs/sfs_fs.c if (result) {
result 347 kern/fs/sfs/sfs_fs.c return result;
result 50 kern/fs/sfs/sfs_io.c int result;
result 60 kern/fs/sfs/sfs_io.c result = sfs->sfs_device->d_io(sfs->sfs_device, uio);
result 61 kern/fs/sfs/sfs_io.c if (result == EINVAL) {
result 69 kern/fs/sfs/sfs_io.c if (result == EIO) {
result 86 kern/fs/sfs/sfs_io.c return result;
result 73 kern/fs/sfs/sfs_vnode.c int result = sfs_wblock(sfs, &sv->sv_i, sv->sv_ino);
result 74 kern/fs/sfs/sfs_vnode.c if (result) {
result 75 kern/fs/sfs/sfs_vnode.c return result;
result 93 kern/fs/sfs/sfs_vnode.c int result;
result 95 kern/fs/sfs/sfs_vnode.c result = bitmap_alloc(sfs->sfs_freemap, diskblock);
result 96 kern/fs/sfs/sfs_vnode.c if (result) {
result 97 kern/fs/sfs/sfs_vnode.c return result;
result 162 kern/fs/sfs/sfs_vnode.c int result;
result 179 kern/fs/sfs/sfs_vnode.c result = sfs_balloc(sfs, &block);
result 180 kern/fs/sfs/sfs_vnode.c if (result) {
result 181 kern/fs/sfs/sfs_vnode.c return result;
result 239 kern/fs/sfs/sfs_vnode.c result = sfs_balloc(sfs, &idblock);
result 240 kern/fs/sfs/sfs_vnode.c if (result) {
result 241 kern/fs/sfs/sfs_vnode.c return result;
result 257 kern/fs/sfs/sfs_vnode.c result = sfs_rblock(sfs, idbuf, idblock);
result 258 kern/fs/sfs/sfs_vnode.c if (result) {
result 259 kern/fs/sfs/sfs_vnode.c return result;
result 268 kern/fs/sfs/sfs_vnode.c result = sfs_balloc(sfs, &block);
result 269 kern/fs/sfs/sfs_vnode.c if (result) {
result 270 kern/fs/sfs/sfs_vnode.c return result;
result 277 kern/fs/sfs/sfs_vnode.c result = sfs_wblock(sfs, idbuf, idblock);
result 278 kern/fs/sfs/sfs_vnode.c if (result) {
result 279 kern/fs/sfs/sfs_vnode.c return result;
result 323 kern/fs/sfs/sfs_vnode.c int result;
result 334 kern/fs/sfs/sfs_vnode.c result = sfs_bmap(sv, fileblock, doalloc, &diskblock);
result 335 kern/fs/sfs/sfs_vnode.c if (result) {
result 336 kern/fs/sfs/sfs_vnode.c return result;
result 351 kern/fs/sfs/sfs_vnode.c result = sfs_rblock(sfs, iobuf, diskblock);
result 352 kern/fs/sfs/sfs_vnode.c if (result) {
result 353 kern/fs/sfs/sfs_vnode.c return result;
result 360 kern/fs/sfs/sfs_vnode.c result = uiomove(iobuf+skipstart, len, uio);
result 361 kern/fs/sfs/sfs_vnode.c if (result) {
result 362 kern/fs/sfs/sfs_vnode.c return result;
result 369 kern/fs/sfs/sfs_vnode.c result = sfs_wblock(sfs, iobuf, diskblock);
result 370 kern/fs/sfs/sfs_vnode.c if (result) {
result 371 kern/fs/sfs/sfs_vnode.c return result;
result 388 kern/fs/sfs/sfs_vnode.c int result;
result 399 kern/fs/sfs/sfs_vnode.c result = sfs_bmap(sv, fileblock, doalloc, &diskblock);
result 400 kern/fs/sfs/sfs_vnode.c if (result) {
result 401 kern/fs/sfs/sfs_vnode.c return result;
result 431 kern/fs/sfs/sfs_vnode.c result = sfs_rwblock(sfs, uio);
result 440 kern/fs/sfs/sfs_vnode.c return result;
result 452 kern/fs/sfs/sfs_vnode.c int result = 0;
result 493 kern/fs/sfs/sfs_vnode.c result = sfs_partialio(sv, uio, skip, len);
result 494 kern/fs/sfs/sfs_vnode.c if (result) {
result 510 kern/fs/sfs/sfs_vnode.c result = sfs_blockio(sv, uio);
result 511 kern/fs/sfs/sfs_vnode.c if (result) {
result 522 kern/fs/sfs/sfs_vnode.c result = sfs_partialio(sv, uio, 0, uio->uio_resid);
result 523 kern/fs/sfs/sfs_vnode.c if (result) {
result 541 kern/fs/sfs/sfs_vnode.c return result;
result 559 kern/fs/sfs/sfs_vnode.c int result;
result 568 kern/fs/sfs/sfs_vnode.c result = sfs_io(sv, &ku);
result 569 kern/fs/sfs/sfs_vnode.c if (result) {
result 570 kern/fs/sfs/sfs_vnode.c return result;
result 593 kern/fs/sfs/sfs_vnode.c int result;
result 603 kern/fs/sfs/sfs_vnode.c result = sfs_io(sv, &ku);
result 604 kern/fs/sfs/sfs_vnode.c if (result) {
result 605 kern/fs/sfs/sfs_vnode.c return result;
result 653 kern/fs/sfs/sfs_vnode.c int i, result;
result 659 kern/fs/sfs/sfs_vnode.c result = sfs_readdir(sv, &tsd, i);
result 660 kern/fs/sfs/sfs_vnode.c if (result) {
result 661 kern/fs/sfs/sfs_vnode.c return result;
result 700 kern/fs/sfs/sfs_vnode.c int result;
result 704 kern/fs/sfs/sfs_vnode.c result = sfs_dir_findname(sv, name, NULL, NULL, &emptyslot);
result 705 kern/fs/sfs/sfs_vnode.c if (result!=0 && result!=ENOENT) {
result 706 kern/fs/sfs/sfs_vnode.c return result;
result 708 kern/fs/sfs/sfs_vnode.c if (result==0) {
result 765 kern/fs/sfs/sfs_vnode.c int result;
result 767 kern/fs/sfs/sfs_vnode.c result = sfs_dir_findname(sv, name, &ino, slot, NULL);
result 768 kern/fs/sfs/sfs_vnode.c if (result) {
result 769 kern/fs/sfs/sfs_vnode.c return result;
result 772 kern/fs/sfs/sfs_vnode.c result = sfs_loadvnode(sfs, ino, SFS_TYPE_INVAL, ret);
result 773 kern/fs/sfs/sfs_vnode.c if (result) {
result 774 kern/fs/sfs/sfs_vnode.c return result;
result 797 kern/fs/sfs/sfs_vnode.c int result;
result 804 kern/fs/sfs/sfs_vnode.c result = sfs_balloc(sfs, &ino);
result 805 kern/fs/sfs/sfs_vnode.c if (result) {
result 806 kern/fs/sfs/sfs_vnode.c return result;
result 894 kern/fs/sfs/sfs_vnode.c int result;
result 915 kern/fs/sfs/sfs_vnode.c result = VOP_TRUNCATE(&sv->sv_v, 0);
result 916 kern/fs/sfs/sfs_vnode.c if (result) {
result 918 kern/fs/sfs/sfs_vnode.c return result;
result 923 kern/fs/sfs/sfs_vnode.c result = sfs_sync_inode(sv);
result 924 kern/fs/sfs/sfs_vnode.c if (result) {
result 926 kern/fs/sfs/sfs_vnode.c return result;
result 970 kern/fs/sfs/sfs_vnode.c int result;
result 975 kern/fs/sfs/sfs_vnode.c result = sfs_io(sv, uio);
result 978 kern/fs/sfs/sfs_vnode.c return result;
result 989 kern/fs/sfs/sfs_vnode.c int result;
result 994 kern/fs/sfs/sfs_vnode.c result = sfs_io(sv, uio);
result 997 kern/fs/sfs/sfs_vnode.c return result;
result 1026 kern/fs/sfs/sfs_vnode.c int result;
result 1031 kern/fs/sfs/sfs_vnode.c result = VOP_GETTYPE(v, &statbuf->st_mode);
result 1032 kern/fs/sfs/sfs_vnode.c if (result) {
result 1033 kern/fs/sfs/sfs_vnode.c return result;
result 1103 kern/fs/sfs/sfs_vnode.c int result;
result 1106 kern/fs/sfs/sfs_vnode.c result = sfs_sync_inode(sv);
result 1109 kern/fs/sfs/sfs_vnode.c return result;
result 1147 kern/fs/sfs/sfs_vnode.c int result;
result 1180 kern/fs/sfs/sfs_vnode.c result = sfs_rblock(sfs, idbuf, idblock);
result 1181 kern/fs/sfs/sfs_vnode.c if (result) {
result 1183 kern/fs/sfs/sfs_vnode.c return result;
result 1209 kern/fs/sfs/sfs_vnode.c result = sfs_wblock(sfs, idbuf, idblock);
result 1210 kern/fs/sfs/sfs_vnode.c if (result) {
result 1212 kern/fs/sfs/sfs_vnode.c return result;
result 1260 kern/fs/sfs/sfs_vnode.c int result;
result 1265 kern/fs/sfs/sfs_vnode.c result = sfs_dir_findname(sv, name, &ino, NULL, NULL);
result 1266 kern/fs/sfs/sfs_vnode.c if (result!=0 && result!=ENOENT) {
result 1268 kern/fs/sfs/sfs_vnode.c return result;
result 1272 kern/fs/sfs/sfs_vnode.c if (result==0 && excl) {
result 1277 kern/fs/sfs/sfs_vnode.c if (result==0) {
result 1279 kern/fs/sfs/sfs_vnode.c result = sfs_loadvnode(sfs, ino, SFS_TYPE_INVAL, &newguy);
result 1280 kern/fs/sfs/sfs_vnode.c if (result) {
result 1282 kern/fs/sfs/sfs_vnode.c return result;
result 1290 kern/fs/sfs/sfs_vnode.c result = sfs_makeobj(sfs, SFS_TYPE_FILE, &newguy);
result 1291 kern/fs/sfs/sfs_vnode.c if (result) {
result 1293 kern/fs/sfs/sfs_vnode.c return result;
result 1300 kern/fs/sfs/sfs_vnode.c result = sfs_dir_link(sv, name, newguy->sv_ino, NULL);
result 1301 kern/fs/sfs/sfs_vnode.c if (result) {
result 1304 kern/fs/sfs/sfs_vnode.c return result;
result 1330 kern/fs/sfs/sfs_vnode.c int result;
result 1337 kern/fs/sfs/sfs_vnode.c result = sfs_dir_link(sv, name, f->sv_ino, NULL);
result 1338 kern/fs/sfs/sfs_vnode.c if (result) {
result 1340 kern/fs/sfs/sfs_vnode.c return result;
result 1361 kern/fs/sfs/sfs_vnode.c int result;
result 1366 kern/fs/sfs/sfs_vnode.c result = sfs_lookonce(sv, name, &victim, &slot);
result 1367 kern/fs/sfs/sfs_vnode.c if (result) {
result 1369 kern/fs/sfs/sfs_vnode.c return result;
result 1373 kern/fs/sfs/sfs_vnode.c result = sfs_dir_unlink(sv, slot);
result 1374 kern/fs/sfs/sfs_vnode.c if (result==0) {
result 1385 kern/fs/sfs/sfs_vnode.c return result;
result 1402 kern/fs/sfs/sfs_vnode.c int result, result2;
result 1410 kern/fs/sfs/sfs_vnode.c result = sfs_lookonce(sv, n1, &g1, &slot1);
result 1411 kern/fs/sfs/sfs_vnode.c if (result) {
result 1413 kern/fs/sfs/sfs_vnode.c return result;
result 1427 kern/fs/sfs/sfs_vnode.c result = sfs_dir_link(sv, n2, g1->sv_ino, &slot2);
result 1428 kern/fs/sfs/sfs_vnode.c if (result) {
result 1437 kern/fs/sfs/sfs_vnode.c result = sfs_dir_unlink(sv, slot1);
result 1438 kern/fs/sfs/sfs_vnode.c if (result) {
result 1462 kern/fs/sfs/sfs_vnode.c kprintf("sfs: rename: %s\n", strerror(result));
result 1472 kern/fs/sfs/sfs_vnode.c return result;
result 1521 kern/fs/sfs/sfs_vnode.c int result;
result 1530 kern/fs/sfs/sfs_vnode.c result = sfs_lookonce(sv, path, &final, NULL);
result 1531 kern/fs/sfs/sfs_vnode.c if (result) {
result 1533 kern/fs/sfs/sfs_vnode.c return result;
result 1658 kern/fs/sfs/sfs_vnode.c int result;
result 1700 kern/fs/sfs/sfs_vnode.c result = sfs_rblock(sfs, &sv->sv_i, ino);
result 1701 kern/fs/sfs/sfs_vnode.c if (result) {
result 1703 kern/fs/sfs/sfs_vnode.c return result;
result 1737 kern/fs/sfs/sfs_vnode.c result = VOP_INIT(&sv->sv_v, ops, &sfs->sfs_absfs, sv);
result 1738 kern/fs/sfs/sfs_vnode.c if (result) {
result 1740 kern/fs/sfs/sfs_vnode.c return result;
result 1747 kern/fs/sfs/sfs_vnode.c result = vnodearray_add(sfs->sfs_vnodes, &sv->sv_v, NULL);
result 1748 kern/fs/sfs/sfs_vnode.c if (result) {
result 1751 kern/fs/sfs/sfs_vnode.c return result;
result 1768 kern/fs/sfs/sfs_vnode.c int result;
result 1772 kern/fs/sfs/sfs_vnode.c result = sfs_loadvnode(sfs, SFS_ROOT_LOCATION, SFS_TYPE_INVAL, &sv);
result 1773 kern/fs/sfs/sfs_vnode.c if (result) {
result 66 kern/include/vfs.h int vfs_getroot(const char *devname, struct vnode **result);
result 80 kern/include/vfs.h int vfs_lookup(char *path, struct vnode **result);
result 81 kern/include/vfs.h int vfs_lookparent(char *path, struct vnode **result,
result 173 kern/include/vfs.h struct fs **result));
result 209 kern/include/vnode.h int (*vop_gettype)(struct vnode *object, mode_t *result);
result 219 kern/include/vnode.h struct vnode **result);
result 236 kern/include/vnode.h char *pathname, struct vnode **result);
result 238 kern/include/vnode.h char *pathname, struct vnode **result,
result 254 kern/include/vnode.h #define VOP_GETTYPE(vn, result) (__VOP(vn, gettype)(vn, result))
result 29 kern/lib/queue.c int i, result;
result 46 kern/lib/queue.c result = q_addtail(q, olddata[i]);
result 47 kern/lib/queue.c KASSERT(result==0);
result 73 kern/lib/queue.c int result = 0;
result 78 kern/lib/queue.c result = q_grow(q, size);
result 80 kern/lib/queue.c return result;
result 93 kern/lib/queue.c int nextnext, result;
result 99 kern/lib/queue.c result = q_grow(q, q->size+1);
result 100 kern/lib/queue.c if (result) {
result 101 kern/lib/queue.c return result;
result 46 kern/lib/uio.c int result;
result 85 kern/lib/uio.c result = 0;
result 97 kern/lib/uio.c result = copyout(ptr, iov->iov_ubase,size);
result 100 kern/lib/uio.c result = copyin(iov->iov_ubase, ptr, size);
result 102 kern/lib/uio.c if (result) {
result 103 kern/lib/uio.c return result;
result 128 kern/lib/uio.c int result;
result 138 kern/lib/uio.c result = uiomove(zeros, amt, uio);
result 139 kern/lib/uio.c if (result) {
result 140 kern/lib/uio.c return result;
result 284 kern/proc/proc.c int result;
result 289 kern/proc/proc.c result = threadarray_add(&proc->p_threads, t, NULL);
result 291 kern/proc/proc.c if (result) {
result 292 kern/proc/proc.c return result;
result 92 kern/startup/menu.c int result;
result 105 kern/startup/menu.c result = runprogram(progname);
result 106 kern/startup/menu.c if (result) {
result 108 kern/startup/menu.c strerror(result));
result 132 kern/startup/menu.c int result;
result 145 kern/startup/menu.c result = thread_fork(args[0] /* thread name */,
result 149 kern/startup/menu.c if (result) {
result 150 kern/startup/menu.c kprintf("thread_fork failed: %s\n", strerror(result));
result 152 kern/startup/menu.c return result;
result 224 kern/startup/menu.c int result;
result 232 kern/startup/menu.c result = vfs_getcwd(&ku);
result 233 kern/startup/menu.c if (result) {
result 234 kern/startup/menu.c kprintf("vfs_getcwd failed (%s)\n", strerror(result));
result 235 kern/startup/menu.c return result;
result 607 kern/startup/menu.c int i, result;
result 630 kern/startup/menu.c result = cmdtable[i].func(nargs, args);
result 641 kern/startup/menu.c return result;
result 662 kern/startup/menu.c int result;
result 672 kern/startup/menu.c result = cmd_dispatch(command);
result 673 kern/startup/menu.c if (result) {
result 674 kern/startup/menu.c kprintf("Menu command failed: %s\n", strerror(result));
result 86 kern/syscall/loadelf.c int result;
result 106 kern/syscall/loadelf.c result = VOP_READ(v, &u);
result 107 kern/syscall/loadelf.c if (result) {
result 108 kern/syscall/loadelf.c return result;
result 140 kern/syscall/loadelf.c result = uiomovezeros(fillamt, &u);
result 145 kern/syscall/loadelf.c return result;
result 158 kern/syscall/loadelf.c int result, i;
result 170 kern/syscall/loadelf.c result = VOP_READ(v, &ku);
result 171 kern/syscall/loadelf.c if (result) {
result 172 kern/syscall/loadelf.c return result;
result 224 kern/syscall/loadelf.c result = VOP_READ(v, &ku);
result 225 kern/syscall/loadelf.c if (result) {
result 226 kern/syscall/loadelf.c return result;
result 246 kern/syscall/loadelf.c result = as_define_region(as,
result 251 kern/syscall/loadelf.c if (result) {
result 252 kern/syscall/loadelf.c return result;
result 256 kern/syscall/loadelf.c result = as_prepare_load(as);
result 257 kern/syscall/loadelf.c if (result) {
result 258 kern/syscall/loadelf.c return result;
result 269 kern/syscall/loadelf.c result = VOP_READ(v, &ku);
result 270 kern/syscall/loadelf.c if (result) {
result 271 kern/syscall/loadelf.c return result;
result 291 kern/syscall/loadelf.c result = load_segment(as, v, ph.p_offset, ph.p_vaddr,
result 294 kern/syscall/loadelf.c if (result) {
result 295 kern/syscall/loadelf.c return result;
result 299 kern/syscall/loadelf.c result = as_complete_load(as);
result 300 kern/syscall/loadelf.c if (result) {
result 301 kern/syscall/loadelf.c return result;
result 71 kern/syscall/proc_syscalls.c int result;
result 87 kern/syscall/proc_syscalls.c result = copyout((void *)&exitstatus,status,sizeof(int));
result 88 kern/syscall/proc_syscalls.c if (result) {
result 89 kern/syscall/proc_syscalls.c return(result);
result 60 kern/syscall/runprogram.c int result;
result 63 kern/syscall/runprogram.c result = vfs_open(progname, O_RDONLY, 0, &v);
result 64 kern/syscall/runprogram.c if (result) {
result 65 kern/syscall/runprogram.c return result;
result 83 kern/syscall/runprogram.c result = load_elf(v, &entrypoint);
result 84 kern/syscall/runprogram.c if (result) {
result 87 kern/syscall/runprogram.c return result;
result 94 kern/syscall/runprogram.c result = as_define_stack(as, &stackptr);
result 95 kern/syscall/runprogram.c if (result) {
result 97 kern/syscall/runprogram.c return result;
result 43 kern/syscall/time_syscalls.c int result;
result 47 kern/syscall/time_syscalls.c result = copyout(&seconds, user_seconds_ptr, sizeof(time_t));
result 48 kern/syscall/time_syscalls.c if (result) {
result 49 kern/syscall/time_syscalls.c return result;
result 52 kern/syscall/time_syscalls.c result = copyout(&nanoseconds, user_nanoseconds_ptr, sizeof(uint32_t));
result 53 kern/syscall/time_syscalls.c if (result) {
result 54 kern/syscall/time_syscalls.c return result;
result 565 kern/test/fstest.c int result; \
result 566 kern/test/fstest.c result = checkfilesystem(nargs, args); \
result 567 kern/test/fstest.c if (result) { \
result 568 kern/test/fstest.c return result; \
result 591 kern/test/fstest.c int result;
result 602 kern/test/fstest.c result = vfs_open(args[1], O_RDONLY, 0664, &rv);
result 603 kern/test/fstest.c if (result) {
result 604 kern/test/fstest.c kprintf("printfile: %s\n", strerror(result));
result 605 kern/test/fstest.c return result;
result 608 kern/test/fstest.c result = vfs_open(outfile, O_WRONLY, 0664, &wv);
result 609 kern/test/fstest.c if (result) {
result 610 kern/test/fstest.c kprintf("printfile: output: %s\n", strerror(result));
result 612 kern/test/fstest.c return result;
result 617 kern/test/fstest.c result = VOP_READ(rv, &ku);
result 618 kern/test/fstest.c if (result) {
result 619 kern/test/fstest.c kprintf("Read error: %s\n", strerror(result));
result 630 kern/test/fstest.c result = VOP_WRITE(wv, &ku);
result 631 kern/test/fstest.c if (result) {
result 632 kern/test/fstest.c kprintf("Write error: %s\n", strerror(result));
result 110 kern/test/malloctest.c int i, result;
result 123 kern/test/malloctest.c result = thread_fork("mallocstress", NULL,
result 125 kern/test/malloctest.c if (result) {
result 127 kern/test/malloctest.c strerror(result));
result 133 kern/test/synchtest.c int i, result;
result 146 kern/test/synchtest.c result = thread_fork("semtest", NULL, semtestthread, NULL, i);
result 147 kern/test/synchtest.c if (result) {
result 149 kern/test/synchtest.c strerror(result));
result 231 kern/test/synchtest.c int i, result;
result 240 kern/test/synchtest.c result = thread_fork("synchtest", NULL, locktestthread,
result 242 kern/test/synchtest.c if (result) {
result 244 kern/test/synchtest.c strerror(result));
result 317 kern/test/synchtest.c int i, result;
result 333 kern/test/synchtest.c result = thread_fork("synchtest", NULL, cvtestthread, NULL, i);
result 334 kern/test/synchtest.c if (result) {
result 336 kern/test/synchtest.c strerror(result));
result 101 kern/test/threadtest.c int i, result;
result 105 kern/test/threadtest.c result = thread_fork(name, NULL,
result 108 kern/test/threadtest.c if (result) {
result 110 kern/test/threadtest.c strerror(result));
result 138 kern/test/tt3.c int i, result;
result 142 kern/test/tt3.c result = thread_fork(name, NULL, sleepalot_thread, NULL, i);
result 143 kern/test/tt3.c if (result) {
result 144 kern/test/tt3.c panic("thread_fork failed: %s\n", strerror(result));
result 147 kern/test/tt3.c result = thread_fork("waker", NULL, waker_thread, NULL, 0);
result 148 kern/test/tt3.c if (result) {
result 149 kern/test/tt3.c panic("thread_fork failed: %s\n", strerror(result));
result 215 kern/test/tt3.c int i, result;
result 219 kern/test/tt3.c result = thread_fork(name, NULL, compute_thread, NULL, i);
result 220 kern/test/tt3.c if (result) {
result 221 kern/test/tt3.c panic("thread_fork failed: %s\n", strerror(result));
result 126 kern/test/uw-tests.c int i, result;
result 137 kern/test/uw-tests.c result = thread_fork(name, NULL, add_thread, NULL, i);
result 138 kern/test/uw-tests.c if (result) {
result 140 kern/test/uw-tests.c strerror(result));
result 146 kern/test/uw-tests.c result = thread_fork(name, NULL, sub_thread, NULL, i);
result 147 kern/test/uw-tests.c if (result) {
result 149 kern/test/uw-tests.c strerror(result));
result 260 kern/test/uw-tests.c int i, result;
result 274 kern/test/uw-tests.c result = thread_fork(name, NULL, vmstats_thread, NULL, i);
result 275 kern/test/uw-tests.c if (result) {
result 277 kern/test/uw-tests.c strerror(result));
result 169 kern/thread/thread.c int result;
result 192 kern/thread/thread.c result = cpuarray_add(&allcpus, c, &c->c_number);
result 193 kern/thread/thread.c if (result != 0) {
result 194 kern/thread/thread.c panic("cpu_create: array_add: %s\n", strerror(result));
result 202 kern/thread/thread.c result = proc_addthread(kproc, c->c_curthread);
result 203 kern/thread/thread.c if (result) {
result 204 kern/thread/thread.c panic("cpu_create: proc_addthread:: %s\n", strerror(result));
result 484 kern/thread/thread.c int result;
result 514 kern/thread/thread.c result = proc_addthread(proc, newthread);
result 515 kern/thread/thread.c if (result) {
result 518 kern/thread/thread.c return result;
result 147 kern/vfs/device.c int result;
result 159 kern/vfs/device.c result = VOP_GETTYPE(v, &statbuf->st_mode);
result 160 kern/vfs/device.c if (result) {
result 161 kern/vfs/device.c return result;
result 303 kern/vfs/device.c struct vnode **result)
result 309 kern/vfs/device.c (void)result;
result 379 kern/vfs/device.c char *pathname, struct vnode **result)
result 390 kern/vfs/device.c *result = dir;
result 397 kern/vfs/device.c char *pathname, struct vnode **result,
result 405 kern/vfs/device.c (void)result;
result 450 kern/vfs/device.c int result;
result 458 kern/vfs/device.c result = VOP_INIT(v, &dev_vnode_ops, NULL, dev);
result 459 kern/vfs/device.c if (result != 0) {
result 461 kern/vfs/device.c strerror(result));
result 102 kern/vfs/devnull.c int result;
result 123 kern/vfs/devnull.c result = vfs_adddev("null", dev, 0);
result 124 kern/vfs/devnull.c if (result) {
result 125 kern/vfs/devnull.c panic("Could not add null device: %s\n", strerror(result));
result 75 kern/vfs/vfscwd.c int result;
result 77 kern/vfs/vfscwd.c result = VOP_GETTYPE(dir, &vtype);
result 78 kern/vfs/vfscwd.c if (result) {
result 79 kern/vfs/vfscwd.c return result;
result 127 kern/vfs/vfscwd.c int result;
result 129 kern/vfs/vfscwd.c result = vfs_lookup(path, &vn);
result 130 kern/vfs/vfscwd.c if (result) {
result 131 kern/vfs/vfscwd.c return result;
result 133 kern/vfs/vfscwd.c result = vfs_setcurdir(vn);
result 135 kern/vfs/vfscwd.c return result;
result 147 kern/vfs/vfscwd.c int result;
result 153 kern/vfs/vfscwd.c result = vfs_getcurdir(&cwd);
result 154 kern/vfs/vfscwd.c if (result) {
result 155 kern/vfs/vfscwd.c return result;
result 169 kern/vfs/vfscwd.c result = uiomove((char *)name, strlen(name), uio);
result 170 kern/vfs/vfscwd.c if (result) {
result 173 kern/vfs/vfscwd.c result = uiomove(&colon, 1, uio);
result 174 kern/vfs/vfscwd.c if (result) {
result 178 kern/vfs/vfscwd.c result = VOP_NAMEFILE(cwd, uio);
result 183 kern/vfs/vfscwd.c return result;
result 177 kern/vfs/vfslist.c vfs_getroot(const char *devname, struct vnode **result)
result 203 kern/vfs/vfslist.c *result = FSOP_GETROOT(kd->kd_fs);
result 224 kern/vfs/vfslist.c *result = kd->kd_vnode;
result 235 kern/vfs/vfslist.c *result = kd->kd_vnode;
result 379 kern/vfs/vfslist.c int result;
result 419 kern/vfs/vfslist.c result = knowndevarray_add(knowndevs, kd, &index);
result 421 kern/vfs/vfslist.c if (result == 0 && dev != NULL) {
result 427 kern/vfs/vfslist.c return result;
result 477 kern/vfs/vfslist.c findmount(const char *devname, struct knowndev **result)
result 494 kern/vfs/vfslist.c *result = dev;
result 515 kern/vfs/vfslist.c int result;
result 519 kern/vfs/vfslist.c result = findmount(devname, &kd);
result 520 kern/vfs/vfslist.c if (result) {
result 522 kern/vfs/vfslist.c return result;
result 532 kern/vfs/vfslist.c result = mountfunc(data, kd->kd_device, &fs);
result 533 kern/vfs/vfslist.c if (result) {
result 535 kern/vfs/vfslist.c return result;
result 558 kern/vfs/vfslist.c int result;
result 562 kern/vfs/vfslist.c result = findmount(devname, &kd);
result 563 kern/vfs/vfslist.c if (result) {
result 568 kern/vfs/vfslist.c result = EINVAL;
result 574 kern/vfs/vfslist.c result = FSOP_SYNC(kd->kd_fs);
result 575 kern/vfs/vfslist.c if (result) {
result 579 kern/vfs/vfslist.c result = FSOP_UNMOUNT(kd->kd_fs);
result 580 kern/vfs/vfslist.c if (result) {
result 589 kern/vfs/vfslist.c KASSERT(result==0);
result 593 kern/vfs/vfslist.c return result;
result 604 kern/vfs/vfslist.c int result;
result 622 kern/vfs/vfslist.c result = FSOP_SYNC(dev->kd_fs);
result 623 kern/vfs/vfslist.c if (result) {
result 625 kern/vfs/vfslist.c "again\n", dev->kd_name, strerror(result));
result 627 kern/vfs/vfslist.c result = FSOP_SYNC(dev->kd_fs);
result 628 kern/vfs/vfslist.c if (result) {
result 631 kern/vfs/vfslist.c dev->kd_name, strerror(result));
result 636 kern/vfs/vfslist.c result = FSOP_UNMOUNT(dev->kd_fs);
result 637 kern/vfs/vfslist.c if (result == EBUSY) {
result 642 kern/vfs/vfslist.c if (result) {
result 645 kern/vfs/vfslist.c dev->kd_name, strerror(result));
result 75 kern/vfs/vfslookup.c int result;
result 93 kern/vfs/vfslookup.c result = vfs_chdir(tmp);
result 94 kern/vfs/vfslookup.c if (result) {
result 96 kern/vfs/vfslookup.c return result;
result 99 kern/vfs/vfslookup.c result = vfs_getcurdir(&newguy);
result 100 kern/vfs/vfslookup.c if (result) {
result 102 kern/vfs/vfslookup.c return result;
result 134 kern/vfs/vfslookup.c int result;
result 174 kern/vfs/vfslookup.c result = vfs_getroot(path, startvn);
result 175 kern/vfs/vfslookup.c if (result) {
result 176 kern/vfs/vfslookup.c return result;
result 200 kern/vfs/vfslookup.c result = vfs_getcurdir(&vn);
result 201 kern/vfs/vfslookup.c if (result) {
result 202 kern/vfs/vfslookup.c return result;
result 236 kern/vfs/vfslookup.c int result;
result 240 kern/vfs/vfslookup.c result = getdevice(path, &path, &startvn);
result 241 kern/vfs/vfslookup.c if (result) {
result 243 kern/vfs/vfslookup.c return result;
result 252 kern/vfs/vfslookup.c result = EINVAL;
result 255 kern/vfs/vfslookup.c result = VOP_LOOKPARENT(startvn, path, retval, buf, buflen);
result 261 kern/vfs/vfslookup.c return result;
result 268 kern/vfs/vfslookup.c int result;
result 272 kern/vfs/vfslookup.c result = getdevice(path, &path, &startvn);
result 273 kern/vfs/vfslookup.c if (result) {
result 275 kern/vfs/vfslookup.c return result;
result 284 kern/vfs/vfslookup.c result = VOP_LOOKUP(startvn, path, retval);
result 288 kern/vfs/vfslookup.c return result;
result 48 kern/vfs/vfspath.c int result;
result 71 kern/vfs/vfspath.c result = vfs_lookparent(path, &dir, name, sizeof(name));
result 72 kern/vfs/vfspath.c if (result) {
result 73 kern/vfs/vfspath.c return result;
result 76 kern/vfs/vfspath.c result = VOP_CREAT(dir, name, excl, mode, &vn);
result 81 kern/vfs/vfspath.c result = vfs_lookup(path, &vn);
result 84 kern/vfs/vfspath.c if (result) {
result 85 kern/vfs/vfspath.c return result;
result 90 kern/vfs/vfspath.c result = VOP_OPEN(vn, openflags);
result 91 kern/vfs/vfspath.c if (result) {
result 93 kern/vfs/vfspath.c return result;
result 100 kern/vfs/vfspath.c result = EINVAL;
result 103 kern/vfs/vfspath.c result = VOP_TRUNCATE(vn, 0);
result 105 kern/vfs/vfspath.c if (result) {
result 108 kern/vfs/vfspath.c return result;
result 145 kern/vfs/vfspath.c int result;
result 147 kern/vfs/vfspath.c result = vfs_lookparent(path, &dir, name, sizeof(name));
result 148 kern/vfs/vfspath.c if (result) {
result 149 kern/vfs/vfspath.c return result;
result 152 kern/vfs/vfspath.c result = VOP_REMOVE(dir, name);
result 155 kern/vfs/vfspath.c return result;
result 166 kern/vfs/vfspath.c int result;
result 168 kern/vfs/vfspath.c result = vfs_lookparent(oldpath, &olddir, oldname, sizeof(oldname));
result 169 kern/vfs/vfspath.c if (result) {
result 170 kern/vfs/vfspath.c return result;
result 172 kern/vfs/vfspath.c result = vfs_lookparent(newpath, &newdir, newname, sizeof(newname));
result 173 kern/vfs/vfspath.c if (result) {
result 175 kern/vfs/vfspath.c return result;
result 185 kern/vfs/vfspath.c result = VOP_RENAME(olddir, oldname, newdir, newname);
result 190 kern/vfs/vfspath.c return result;
result 200 kern/vfs/vfspath.c int result;
result 202 kern/vfs/vfspath.c result = vfs_lookup(oldpath, &oldfile);
result 203 kern/vfs/vfspath.c if (result) {
result 204 kern/vfs/vfspath.c return result;
result 206 kern/vfs/vfspath.c result = vfs_lookparent(newpath, &newdir, newname, sizeof(newname));
result 207 kern/vfs/vfspath.c if (result) {
result 209 kern/vfs/vfspath.c return result;
result 219 kern/vfs/vfspath.c result = VOP_LINK(newdir, newname, oldfile);
result 224 kern/vfs/vfspath.c return result;
result 239 kern/vfs/vfspath.c int result;
result 241 kern/vfs/vfspath.c result = vfs_lookparent(path, &newdir, newname, sizeof(newname));
result 242 kern/vfs/vfspath.c if (result) {
result 243 kern/vfs/vfspath.c return result;
result 246 kern/vfs/vfspath.c result = VOP_SYMLINK(newdir, newname, contents);
result 249 kern/vfs/vfspath.c return result;
result 263 kern/vfs/vfspath.c int result;
result 265 kern/vfs/vfspath.c result = vfs_lookup(path, &vn);
result 266 kern/vfs/vfspath.c if (result) {
result 267 kern/vfs/vfspath.c return result;
result 270 kern/vfs/vfspath.c result = VOP_READLINK(vn, uio);
result 274 kern/vfs/vfspath.c return result;
result 285 kern/vfs/vfspath.c int result;
result 287 kern/vfs/vfspath.c result = vfs_lookparent(path, &parent, name, sizeof(name));
result 288 kern/vfs/vfspath.c if (result) {
result 289 kern/vfs/vfspath.c return result;
result 292 kern/vfs/vfspath.c result = VOP_MKDIR(parent, name, mode);
result 296 kern/vfs/vfspath.c return result;
result 307 kern/vfs/vfspath.c int result;
result 309 kern/vfs/vfspath.c result = vfs_lookparent(path, &parent, name, sizeof(name));
result 310 kern/vfs/vfspath.c if (result) {
result 311 kern/vfs/vfspath.c return result;
result 314 kern/vfs/vfspath.c result = VOP_RMDIR(parent, name);
result 318 kern/vfs/vfspath.c return result;
result 101 kern/vfs/vnode.c int result;
result 112 kern/vfs/vnode.c result = VOP_RECLAIM(vn);
result 113 kern/vfs/vnode.c if (result != 0 && result != EBUSY) {
result 116 kern/vfs/vnode.c strerror(result));
result 144 kern/vfs/vnode.c int result;
result 158 kern/vfs/vnode.c result = VOP_CLOSE(vn);
result 159 kern/vfs/vnode.c if (result) {
result 163 kern/vfs/vnode.c kprintf("vfs: Warning: VOP_CLOSE: %s\n", strerror(result));
result 155 kern/vm/copyinout.c int result;
result 158 kern/vm/copyinout.c result = copycheck(usersrc, len, &stoplen);
result 159 kern/vm/copyinout.c if (result) {
result 160 kern/vm/copyinout.c return result;
result 169 kern/vm/copyinout.c result = setjmp(curthread->t_machdep.tm_copyjmp);
result 170 kern/vm/copyinout.c if (result) {
result 191 kern/vm/copyinout.c int result;
result 194 kern/vm/copyinout.c result = copycheck(userdest, len, &stoplen);
result 195 kern/vm/copyinout.c if (result) {
result 196 kern/vm/copyinout.c return result;
result 205 kern/vm/copyinout.c result = setjmp(curthread->t_machdep.tm_copyjmp);
result 206 kern/vm/copyinout.c if (result) {
result 268 kern/vm/copyinout.c int result;
result 271 kern/vm/copyinout.c result = copycheck(usersrc, len, &stoplen);
result 272 kern/vm/copyinout.c if (result) {
result 273 kern/vm/copyinout.c return result;
result 278 kern/vm/copyinout.c result = setjmp(curthread->t_machdep.tm_copyjmp);
result 279 kern/vm/copyinout.c if (result) {
result 284 kern/vm/copyinout.c result = copystr(dest, (const char *)usersrc, len, stoplen, actual);
result 287 kern/vm/copyinout.c return result;
result 301 kern/vm/copyinout.c int result;
result 304 kern/vm/copyinout.c result = copycheck(userdest, len, &stoplen);
result 305 kern/vm/copyinout.c if (result) {
result 306 kern/vm/copyinout.c return result;
result 311 kern/vm/copyinout.c result = setjmp(curthread->t_machdep.tm_copyjmp);
result 312 kern/vm/copyinout.c if (result) {
result 317 kern/vm/copyinout.c result = copystr((char *)userdest, src, len, stoplen, actual);
result 320 kern/vm/copyinout.c return result;
result 164 user/bin/sh/sh.c pid_t result;
result 165 user/bin/sh/sh.c result = waitpid(pid, &status, WNOHANG);
result 166 user/bin/sh/sh.c if (result<0) {
result 169 user/bin/sh/sh.c else if (result!=0) {
result 319 user/testbin/psort/psort.c int result;
result 321 user/testbin/psort/psort.c result = read(fd, buf, len);
result 322 user/testbin/psort/psort.c if (result < 0) {
result 326 user/testbin/psort/psort.c return (size_t) result;
result 333 user/testbin/psort/psort.c size_t result;
result 335 user/testbin/psort/psort.c result = doread(path, fd, buf, len);
result 336 user/testbin/psort/psort.c if (result != len) {
result 346 user/testbin/psort/psort.c int result;
result 348 user/testbin/psort/psort.c result = write(fd, buf, len);
result 349 user/testbin/psort/psort.c if (result < 0) {
result 353 user/testbin/psort/psort.c if ((size_t) result != len) {
result 412 user/testbin/psort/psort.c int status, result;
result 414 user/testbin/psort/psort.c result = waitpid(pid, &status, 0);
result 415 user/testbin/psort/psort.c if (result < 0) {
result 704 user/testbin/psort/psort.c int i, result;
result 727 user/testbin/psort/psort.c result = doread("bin", infds[i],
result 729 user/testbin/psort/psort.c if (result == 0) {
result 734 user/testbin/psort/psort.c if ((size_t) result != sizeof(int)) {