Lines Matching refs:xp
73 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument
94 if ((hint = addressXAD(xp))) { in extAlloc()
96 nxlen = lengthXAD(xp); in extAlloc()
106 if (offsetXAD(xp) + nxlen == xoff && in extAlloc()
107 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc()
161 XADaddress(xp, nxaddr); in extAlloc()
162 XADlength(xp, nxlen); in extAlloc()
163 XADoffset(xp, xoff); in extAlloc()
164 xp->flag = xflag; in extAlloc()
202 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc() argument
221 xaddr = addressXAD(xp); in extRealloc()
222 xlen = lengthXAD(xp); in extRealloc()
223 xoff = offsetXAD(xp); in extRealloc()
229 if ((xp->flag & XAD_NOTRECORDED) && !abnr) { in extRealloc()
230 xp->flag = 0; in extRealloc()
231 if ((rc = xtUpdate(0, ip, xp))) in extRealloc()
267 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { in extRealloc()
278 xflag = xp->flag; in extRealloc()
323 XADaddress(xp, nxaddr); in extRealloc()
324 XADlength(xp, nxlen); in extRealloc()
325 XADoffset(xp, xoff); in extRealloc()
326 xp->flag = xflag; in extRealloc()
351 int extHint(struct inode *ip, s64 offset, xad_t * xp) in extHint() argument
362 XADaddress(xp, 0); in extHint()
381 XADaddress(xp, xaddr); in extHint()
382 XADlength(xp, xlen); in extHint()
383 XADoffset(xp, prev); in extHint()
388 xp->flag = xflag & XAD_NOTRECORDED; in extHint()
411 int extRecord(struct inode *ip, xad_t * xp) in extRecord() argument
420 rc = xtUpdate(0, ip, xp); in extRecord()
443 int extFill(struct inode *ip, xad_t * xp) in extFill() argument
446 s64 blkno = offsetXAD(xp) >> ip->i_blkbits; in extFill()
451 XADaddress(xp, 0); in extFill()
454 if ((rc = extAlloc(ip, nbperpage, blkno, xp, false))) in extFill()
457 assert(lengthPXD(xp) == nbperpage); in extFill()