Lines Matching refs:xlen

134 	int xlen;  in xtLookup()  local
181 xlen = lengthXAD(xad); in xtLookup()
182 xend = xoff + xlen; in xtLookup()
514 struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, in xtInsert() argument
531 jfs_info("xtInsert: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); in xtInsert()
549 if ((cmp == 0) || (next && (xlen > next - xoff))) { in xtInsert()
565 if ((rc = dquot_alloc_block(ip, xlen))) in xtInsert()
567 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) { in xtInsert()
568 dquot_free_block(ip, xlen); in xtInsert()
590 split.len = xlen; in xtInsert()
596 dbFree(ip, xaddr, (s64) xlen); in xtInsert()
597 dquot_free_block(ip, xlen); in xtInsert()
623 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtInsert()
680 int xlen; in xtSplitUp() local
743 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
745 if ((rc = dbAlloc(ip, (s64) 0, (s64) xlen, &xaddr)) in xtSplitUp()
748 PXDlength(pxd, xlen); in xtSplitUp()
1338 s32 xlen, /* delta extent length */ in xtExtend() argument
1354 jfs_info("xtExtend: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); in xtExtend()
1389 xlen = lengthXAD(xad) + xlen; in xtExtend()
1390 if ((len = xlen - MAXXLEN) <= 0) in xtExtend()
1461 xlen = MAXXLEN; in xtExtend()
1467 XADlength(xad, xlen); in xtExtend()
1511 int nxlen, xlen, lxlen, rxlen; in xtUpdate() local
1546 xlen = lengthXAD(xad); in xtUpdate()
1551 (nxoff + nxlen > xoff + xlen)) { in xtUpdate()
1591 if (xlen > nxlen) { in xtUpdate()
1594 XADlength(xad, xlen - nxlen); in xtUpdate()
1613 xlen = nxlen = lxlen + nxlen; in xtUpdate()
1623 if (nxlen == xlen) { in xtUpdate()
1663 if (xlen > nxlen) in xtUpdate()
1665 XADlength(xad, xlen - nxlen); in xtUpdate()
1773 if (nxoff + nxlen == xoff + xlen) in xtUpdate()
1807 xlen = xlen - (nxoff - xoff); in xtUpdate()
1849 xlen = xlen - nxlen; in xtUpdate()
1860 split.len = xlen; in xtUpdate()
1902 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtUpdate()
1958 int nsplit, nblocks, xlen; in xtAppend() local
1964 xlen = *xlenp; in xtAppend()
1966 (ulong) xoff, maxblocks, xlen, (ulong) xaddr); in xtAppend()
1988 xlen = min(xlen, (int)(next - xoff)); in xtAppend()
2028 xlen = min(xlen, maxblocks); in xtAppend()
2033 if ((rc = dbAllocBottomUp(ip, xaddr, (s64) xlen))) in xtAppend()
2040 split.len = xlen; in xtAppend()
2050 *xlenp = xlen; in xtAppend()
2060 if ((rc = dbAllocBottomUp(ip, xaddr, (s64) xlen))) in xtAppend()
2074 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtAppend()
2085 *xlenp = xlen; in xtAppend()
2198 int xlen, len, freexlen; in xtTruncate() local
2306 xlen = lengthXAD(xad); in xtTruncate()
2307 if (teof >= xoff + xlen) { in xtTruncate()
2320 newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
2336 xlen = lengthXAD(xad); in xtTruncate()
2353 nfreed += xlen; in xtTruncate()
2370 nfreed += xlen; in xtTruncate()
2383 else if (teof < xoff + xlen) { in xtTruncate()
2386 freexlen = xlen - len; in xtTruncate()
2758 int xlen; in xtTruncate_pmap() local
2816 xlen = lengthXAD(xad); in xtTruncate_pmap()
2818 return (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate_pmap()