Lines Matching defs:rc
90 int rc;
138 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) {
140 return (rc);
144 rc = dquot_alloc_block(ip, nxlen);
145 if (rc) {
148 return rc;
159 rc = xtExtend(0, ip, xoff, (int) nxlen, 0);
161 rc = xtInsert(0, ip, xflag, xoff, (int) nxlen, &nxaddr, 0);
166 if (rc) {
170 return (rc);
220 int rc, nbperpage = JFS_SBI(sb)->nbperpage;
244 if ((rc = xtUpdate(0, ip, xp)))
256 if ((rc = extBrealloc(ip, xaddr, xlen, &nxlen, &nxaddr)))
260 rc = dquot_alloc_block(ip, nxlen);
261 if (rc) {
264 return rc;
300 if ((rc = xtExtend(0, ip, xoff + xlen, (int) nextend, 0))) {
311 if ((rc = xtTailgate(0, ip, xoff, (int) ntail, nxaddr, 0))) {
344 return (rc);
369 int rc = 0;
387 rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0);
389 if ((rc == 0) && xlen) {
392 rc = -EIO;
403 rc = 0;
406 return (rc);
426 int rc;
433 rc = xtUpdate(0, ip, xp);
436 return rc;
458 int rc, nbperpage = JFS_SBI(ip->i_sb)->nbperpage;
467 if ((rc = extAlloc(ip, nbperpage, blkno, xp, false)))
468 return (rc);
514 int rc, nbperpage = sbi->nbperpage;
531 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) {
535 if (rc != -ENOSPC)
536 return (rc);
543 return (rc);
605 int rc;
608 if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) {
612 if (rc != -ENOSPC)
613 return (rc);