Lines Matching refs:rc
161 int rc;
171 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
174 if (rc)
177 rc = EIO;
202 return (rc);
220 int rc;
282 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
287 if (rc)
288 return (rc);
326 int rc;
335 rc = block_map(f, file_block, &disk_block);
336 if (rc)
337 return (rc);
363 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
366 if (rc)
367 return (rc);
382 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_WRITE,
385 return (rc);
404 int rc;
414 rc = block_map(f, file_block, &disk_block);
415 if (rc)
416 return (rc);
423 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
426 if (rc)
427 return (rc);
466 int rc;
472 rc = buf_read_file(f, &buf, &buf_size);
473 if (rc)
474 return (rc);
514 int rc;
527 if ((rc = ffs_sbget(f, &fs, STDSB_NOHASHFAIL, "stand",
546 if ((rc = read_inode(inumber, f)) != 0)
551 rc = ENOMEM;
568 rc = ENOTDIR;
581 rc = ENOENT;
595 rc = search_directory(ncp, f, &inumber);
597 if (rc)
603 if ((rc = read_inode(inumber, f)) != 0)
617 rc = ENOENT;
639 rc = block_map(f, (ufs2_daddr_t)0, &disk_block);
640 if (rc)
644 rc = (f->f_dev->dv_strategy)(f->f_devdata,
647 if (rc)
663 if ((rc = read_inode(inumber, f)) != 0)
671 rc = 0;
678 if (rc) {
688 return (rc);
754 int rc = 0;
761 rc = buf_read_file(f, &buf, &buf_size);
762 if (rc)
777 return (rc);
794 int rc = 0;
804 rc = buf_write_file(f, addr, &csize);
805 if (rc)
814 return (rc);