• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/

Lines Matching defs:lastx

3438 	xfs_extnum_t	lastx;		/* last extent index */
3454 ep = xfs_iext_bno_to_ext(ifp, bno, &lastx);
3455 if (lastx > 0) {
3456 xfs_bmbt_get_all(xfs_iext_get_ext(ifp, lastx - 1), prevp);
3458 if (lastx < (ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t))) {
3462 if (lastx > 0) {
3468 *lastxp = lastx;
3502 "blkcnt: %llx extent-state: %x lastx: %x\n",
3974 xfs_extnum_t lastx; /* last extent used */
3990 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got,
4342 xfs_extnum_t lastx; /* last useful extent number */
4433 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got,
4464 if (lastx != NULLEXTNUM && lastx) {
4465 ep = xfs_iext_get_ext(ifp, lastx - 1);
4665 error = xfs_bmap_add_extent(ip, lastx, &cur, &got,
4671 lastx = ifp->if_lastex;
4672 ep = xfs_iext_get_ext(ifp, lastx);
4761 error = xfs_bmap_add_extent(ip, lastx, &cur, mval,
4767 lastx = ifp->if_lastex;
4768 ep = xfs_iext_get_ext(ifp, lastx);
4826 ep = xfs_iext_get_ext(ifp, ++lastx);
4828 if (lastx >= nextents)
4833 ifp->if_lastex = lastx;
4912 xfs_extnum_t lastx; /* last useful extent number */
4929 (void)xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got,
4942 ifp->if_lastex = lastx;
4974 xfs_extnum_t lastx; /* last extent index used */
5019 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got,
5027 ep = xfs_iext_get_ext(ifp, --lastx);
5041 while (bno != (xfs_fileoff_t)-1 && bno >= start && lastx >= 0 &&
5048 if (--lastx < 0)
5050 ep = xfs_iext_get_ext(ifp, lastx);
5096 if (--lastx >= 0)
5098 ifp, lastx), &got);
5118 error = xfs_bmap_add_extent(ip, lastx, &cur, &del,
5147 if (--lastx >= 0)
5158 ASSERT(lastx > 0);
5160 lastx - 1), &prev);
5172 error = xfs_bmap_add_extent(ip, lastx - 1, &cur,
5181 error = xfs_bmap_add_extent(ip, lastx, &cur,
5235 error = xfs_bmap_del_extent(ip, tp, lastx, flist, cur, &del,
5242 lastx = ifp->if_lastex;
5247 ep = xfs_iext_get_ext(ifp, lastx);
5249 if (lastx >= XFS_IFORK_NEXTENTS(ip, whichfork) ||
5251 if (--lastx >= 0)
5252 ep = xfs_iext_get_ext(ifp, lastx);
5254 if (lastx >= 0)
5259 ifp->if_lastex = lastx;
5260 *done = bno == (xfs_fileoff_t)-1 || bno < start || lastx < 0;
5336 xfs_extnum_t lastx; /* last extent pointer */
5357 if (xfs_iext_bno_to_ext(ifp, fileblock, &lastx) &&
5358 (lastx == (ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t))-1))