Lines Matching refs:xp

86 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr)  in extAlloc()  argument
107 if ((hint = addressXAD(xp))) { in extAlloc()
109 nxlen = lengthXAD(xp); in extAlloc()
119 if (offsetXAD(xp) + nxlen == xoff && in extAlloc()
120 abnr == ((xp->flag & XAD_NOTRECORDED) ? true : false)) in extAlloc()
174 XADaddress(xp, nxaddr); in extAlloc()
175 XADlength(xp, nxlen); in extAlloc()
176 XADoffset(xp, xoff); in extAlloc()
177 xp->flag = xflag; in extAlloc()
215 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc() argument
234 xaddr = addressXAD(xp); in extRealloc()
235 xlen = lengthXAD(xp); in extRealloc()
236 xoff = offsetXAD(xp); in extRealloc()
242 if ((xp->flag & XAD_NOTRECORDED) && !abnr) { in extRealloc()
243 xp->flag = 0; in extRealloc()
244 if ((rc = xtUpdate(0, ip, xp))) in extRealloc()
280 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { in extRealloc()
291 xflag = xp->flag; in extRealloc()
336 XADaddress(xp, nxaddr); in extRealloc()
337 XADlength(xp, nxlen); in extRealloc()
338 XADoffset(xp, xoff); in extRealloc()
339 xp->flag = xflag; in extRealloc()
364 int extHint(struct inode *ip, s64 offset, xad_t * xp) in extHint() argument
375 XADaddress(xp, 0); in extHint()
394 XADaddress(xp, xaddr); in extHint()
395 XADlength(xp, xlen); in extHint()
396 XADoffset(xp, prev); in extHint()
401 xp->flag = xflag & XAD_NOTRECORDED; in extHint()
424 int extRecord(struct inode *ip, xad_t * xp) in extRecord() argument
433 rc = xtUpdate(0, ip, xp); in extRecord()
456 int extFill(struct inode *ip, xad_t * xp) in extFill() argument
459 s64 blkno = offsetXAD(xp) >> ip->i_blkbits; in extFill()
464 XADaddress(xp, 0); in extFill()
467 if ((rc = extAlloc(ip, nbperpage, blkno, xp, false))) in extFill()
470 assert(lengthPXD(xp) == nbperpage); in extFill()