Lines Matching refs:nxlen

89 	s64 nxlen, nxaddr, xoff, hint, xaddr = 0;  in extAlloc()  local
109 nxlen = lengthXAD(xp); in extAlloc()
119 if (offsetXAD(xp) + nxlen == xoff && in extAlloc()
121 xaddr = hint + nxlen; in extAlloc()
124 hint += (nxlen - 1); in extAlloc()
137 nxlen = xlen; in extAlloc()
138 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
144 rc = dquot_alloc_block(ip, nxlen); in extAlloc()
146 dbFree(ip, nxaddr, (s64) nxlen); in extAlloc()
159 rc = xtExtend(0, ip, xoff, (int) nxlen, 0); in extAlloc()
161 rc = xtInsert(0, ip, xflag, xoff, (int) nxlen, &nxaddr, 0); in extAlloc()
167 dbFree(ip, nxaddr, nxlen); in extAlloc()
168 dquot_free_block(ip, nxlen); in extAlloc()
175 XADlength(xp, nxlen); in extAlloc()
215 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc() argument
228 if (nxlen > MAXXLEN) in extRealloc()
229 nxlen = MAXXLEN; in extRealloc()
256 if ((rc = extBrealloc(ip, xaddr, xlen, &nxlen, &nxaddr))) in extRealloc()
260 rc = dquot_alloc_block(ip, nxlen); in extRealloc()
262 dbFree(ip, nxaddr, (s64) nxlen); in extRealloc()
267 delta = nxlen - xlen; in extRealloc()
280 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { in extRealloc()
283 ninsert = nxlen - nbperpage; in extRealloc()
287 ntail = nxlen; in extRealloc()
302 dquot_free_block(ip, nxlen); in extRealloc()
312 dbFree(ip, nxaddr, nxlen); in extRealloc()
313 dquot_free_block(ip, nxlen); in extRealloc()
330 nxlen = ntail; in extRealloc()
337 XADlength(xp, nxlen); in extRealloc()