Lines Matching defs:nxlen
76 s64 nxlen, nxaddr, xoff, hint, xaddr = 0;
96 nxlen = lengthXAD(xp);
106 if (offsetXAD(xp) + nxlen == xoff &&
108 xaddr = hint + nxlen;
111 hint += (nxlen - 1);
124 nxlen = xlen;
125 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) {
131 rc = dquot_alloc_block(ip, nxlen);
133 dbFree(ip, nxaddr, (s64) nxlen);
146 rc = xtExtend(0, ip, xoff, (int) nxlen, 0);
148 rc = xtInsert(0, ip, xflag, xoff, (int) nxlen, &nxaddr, 0);
154 dbFree(ip, nxaddr, nxlen);
155 dquot_free_block(ip, nxlen);
162 XADlength(xp, nxlen);
202 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr)
215 if (nxlen > MAXXLEN)
216 nxlen = MAXXLEN;
243 if ((rc = extBrealloc(ip, xaddr, xlen, &nxlen, &nxaddr)))
247 rc = dquot_alloc_block(ip, nxlen);
249 dbFree(ip, nxaddr, (s64) nxlen);
254 delta = nxlen - xlen;
267 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) {
270 ninsert = nxlen - nbperpage;
274 ntail = nxlen;
289 dquot_free_block(ip, nxlen);
299 dbFree(ip, nxaddr, nxlen);
300 dquot_free_block(ip, nxlen);
317 nxlen = ntail;
324 XADlength(xp, nxlen);