• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/xfs/

Lines Matching defs:lastx

3652 	xfs_extnum_t	lastx;		/* last extent index */
3668 ep = xfs_iext_bno_to_ext(ifp, bno, &lastx);
3669 if (lastx > 0) {
3670 xfs_bmbt_get_all(xfs_iext_get_ext(ifp, lastx - 1), prevp);
3672 if (lastx < (ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t))) {
3676 if (lastx > 0) {
3682 *lastxp = lastx;
3716 "blkcnt: %llx extent-state: %x lastx: %x\n",
4362 xfs_extnum_t lastx; /* last extent used */
4378 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got,
4722 xfs_extnum_t lastx; /* last useful extent number */
4813 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got,
4847 if (lastx != NULLEXTNUM && lastx) {
4848 ep = xfs_iext_get_ext(ifp, lastx - 1);
5059 error = xfs_bmap_add_extent(ip, lastx, &cur, &got,
5065 lastx = ifp->if_lastex;
5066 ep = xfs_iext_get_ext(ifp, lastx);
5156 error = xfs_bmap_add_extent(ip, lastx, &cur, mval,
5162 lastx = ifp->if_lastex;
5163 ep = xfs_iext_get_ext(ifp, lastx);
5221 ep = xfs_iext_get_ext(ifp, ++lastx);
5222 if (lastx >= nextents) {
5228 ifp->if_lastex = lastx;
5315 xfs_extnum_t lastx; /* last useful extent number */
5332 (void)xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got,
5345 ifp->if_lastex = lastx;
5379 xfs_extnum_t lastx; /* last extent index used */
5423 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got,
5434 ep = xfs_iext_get_ext(ifp, --lastx);
5449 while (bno != (xfs_fileoff_t)-1 && bno >= start && lastx >= 0 &&
5456 if (--lastx < 0)
5458 ep = xfs_iext_get_ext(ifp, lastx);
5504 if (--lastx >= 0)
5506 ifp, lastx), &got);
5526 error = xfs_bmap_add_extent(ip, lastx, &cur, &del,
5555 if (--lastx >= 0)
5566 ASSERT(lastx > 0);
5568 lastx - 1), &prev);
5580 error = xfs_bmap_add_extent(ip, lastx - 1, &cur,
5589 error = xfs_bmap_add_extent(ip, lastx, &cur,
5643 error = xfs_bmap_del_extent(ip, tp, lastx, flist, cur, &del,
5650 lastx = ifp->if_lastex;
5655 ep = xfs_iext_get_ext(ifp, lastx);
5657 if (lastx >= XFS_IFORK_NEXTENTS(ip, whichfork) ||
5659 if (--lastx >= 0)
5660 ep = xfs_iext_get_ext(ifp, lastx);
5662 if (lastx >= 0)
5667 ifp->if_lastex = lastx;
5668 *done = bno == (xfs_fileoff_t)-1 || bno < start || lastx < 0;