Lines Matching refs:xlen
162 int xlen; in xtLookup() local
208 xlen = lengthXAD(xad); in xtLookup()
209 xend = xoff + xlen; in xtLookup()
261 s64 llen, xlen, plen; in xtLookupList() local
324 xlen = lengthXAD(xad); in xtLookupList()
325 xend = xstart + xlen; in xtLookupList()
357 plen = min(lend - xstart, xlen); in xtLookupList()
782 struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, in xtInsert() argument
798 jfs_info("xtInsert: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); in xtInsert()
832 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) in xtInsert()
853 split.len = xlen; in xtInsert()
859 dbFree(ip, xaddr, (s64) xlen); in xtInsert()
884 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtInsert()
942 int xlen; in xtSplitUp() local
1006 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
1008 if ((rc = dbAlloc(ip, (s64) 0, (s64) xlen, &xaddr)) in xtSplitUp()
1011 PXDlength(pxd, xlen); in xtSplitUp()
1583 s32 xlen, /* delta extent length */ in xtExtend() argument
1599 jfs_info("xtExtend: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); in xtExtend()
1634 xlen = lengthXAD(xad) + xlen; in xtExtend()
1635 if ((len = xlen - MAXXLEN) <= 0) in xtExtend()
1707 xlen = MAXXLEN; in xtExtend()
1713 XADlength(xad, xlen); in xtExtend()
1746 s32 xlen, /* new extent length */ in xtTailgate() argument
1825 split.len = xlen; in xtTailgate()
1865 XT_PUTENTRY(xad, XAD_NEW, xoff, xlen, xaddr); in xtTailgate()
1900 XT_PUTENTRY(xad, XAD_NEW, xoff, xlen, xaddr); in xtTailgate()
1942 int nxlen, xlen, lxlen, rxlen; in xtUpdate() local
1977 xlen = lengthXAD(xad); in xtUpdate()
1982 (nxoff + nxlen > xoff + xlen)) { in xtUpdate()
2001 if (nxlen == xlen) { in xtUpdate()
2042 if (xlen > nxlen) { in xtUpdate()
2045 XADlength(xad, xlen - nxlen); in xtUpdate()
2064 xlen = nxlen = lxlen + nxlen; in xtUpdate()
2074 if (nxlen == xlen) { in xtUpdate()
2114 if (xlen > nxlen) in xtUpdate()
2116 XADlength(xad, xlen - nxlen); in xtUpdate()
2225 if (nxoff + nxlen == xoff + xlen) in xtUpdate()
2259 xlen = xlen - (nxoff - xoff); in xtUpdate()
2302 xlen = xlen - nxlen; in xtUpdate()
2313 split.len = xlen; in xtUpdate()
2355 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtUpdate()
2411 int nsplit, nblocks, xlen; in xtAppend() local
2416 xlen = *xlenp; in xtAppend()
2418 (ulong) xoff, maxblocks, xlen, (ulong) xaddr); in xtAppend()
2477 xlen = min(xlen, maxblocks); in xtAppend()
2482 if ((rc = dbAllocBottomUp(ip, xaddr, (s64) xlen))) in xtAppend()
2489 split.len = xlen; in xtAppend()
2499 *xlenp = xlen; in xtAppend()
2509 if ((rc = dbAllocBottomUp(ip, xaddr, (s64) xlen))) in xtAppend()
2523 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtAppend()
2535 *xlenp = xlen; in xtAppend()
2561 int xtDelete(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag) in xtDelete() argument
2641 int xlen; in xtDeleteUp() local
2669 xlen = lengthPXD(&fp->header.self); in xtDeleteUp()
2671 dbFree(ip, xaddr, (s64) xlen); in xtDeleteUp()
2797 int xlen; in xtRelocate() local
2812 xlen = lengthXAD(oxad); in xtRelocate()
2820 xtype, (ulong) xoff, xlen, (ulong) oxaddr, (ulong) nxaddr); in xtRelocate()
2842 if (addressXAD(xad) != oxaddr || lengthXAD(xad) != xlen) { in xtRelocate()
2899 nbytes = xlen << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
3033 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
3069 PXDlength(&pxdlock->pxd, xlen); in xtRelocate()
3123 int xlen; in xtSearchNode() local
3135 xlen = lengthXAD(xad); in xtSearchNode()
3399 int xlen, len, freexlen; in xtTruncate() local
3507 xlen = lengthXAD(xad); in xtTruncate()
3508 if (teof >= xoff + xlen) { in xtTruncate()
3521 newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
3537 xlen = lengthXAD(xad); in xtTruncate()
3554 nfreed += xlen; in xtTruncate()
3571 nfreed += xlen; in xtTruncate()
3584 else if (teof < xoff + xlen) { in xtTruncate()
3587 freexlen = xlen - len; in xtTruncate()
3954 int xlen; in xtTruncate_pmap() local
4013 xlen = lengthXAD(xad); in xtTruncate_pmap()
4015 return (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate_pmap()
4228 int xlen, i, j; in xtDisplayPage() local
4241 xlen = lengthXAD(xad); in xtDisplayPage()
4243 (ulong) xaddr, xlen); in xtDisplayPage()