Lines Matching refs:nextents
560 xfs_extnum_t nextents; /* number of extents in file now */ in xfs_bmap_add_extent() local
565 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_add_extent()
566 ASSERT(idx <= nextents); in xfs_bmap_add_extent()
574 if (nextents == 0) { in xfs_bmap_add_extent()
600 else if (idx == nextents) { in xfs_bmap_add_extent()
2829 xfs_extnum_t nextents; /* number of extents in list */ in xfs_bmap_del_extent() local
2837 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_del_extent()
2838 ASSERT(idx >= 0 && idx < nextents); in xfs_bmap_del_extent()
3152 xfs_extnum_t nextents; /* number of extents in list after */ in xfs_bmap_delete_exlist() local
3157 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - count; in xfs_bmap_delete_exlist()
3159 (nextents - idx) * sizeof(*base)); in xfs_bmap_delete_exlist()
3190 xfs_extnum_t nextents; /* extent list size */ in xfs_bmap_extents_to_btree() local
3268 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_extents_to_btree()
3269 for (ep = ifp->if_u1.if_extents, cnt = i = 0; i < nextents; i++, ep++) { in xfs_bmap_extents_to_btree()
3312 xfs_extnum_t nextents; /* extent list size */ in xfs_bmap_insert_exlist() local
3319 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_insert_exlist()
3321 (nextents - (idx + count)) * sizeof(*base)); in xfs_bmap_insert_exlist()
3418 xfs_extnum_t nextents, /* extent list size */ in xfs_bmap_do_search_extents() argument
3444 if (lastx != NULLEXTNUM && lastx < nextents) in xfs_bmap_do_search_extents()
3453 else if (ep && lastx < nextents - 1 && in xfs_bmap_do_search_extents()
3460 } else if (nextents == 0) in xfs_bmap_do_search_extents()
3471 high = nextents - 1; in xfs_bmap_do_search_extents()
3493 if (lastx == nextents) { in xfs_bmap_do_search_extents()
3541 xfs_extnum_t nextents; /* extent list size */ in xfs_bmap_search_extents() local
3548 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_search_extents()
3551 ep = xfs_bmap_do_search_extents(base, lastx, nextents, bno, eofp, in xfs_bmap_search_extents()
4126 xfs_extnum_t nextents; /* number of extent entries */ in xfs_bmap_first_unused() local
4140 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_first_unused()
4143 ep < &base[nextents]; in xfs_bmap_first_unused()
4225 xfs_extnum_t nextents; /* number of extent entries */ in xfs_bmap_last_offset() local
4239 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_last_offset()
4240 if (!nextents) { in xfs_bmap_last_offset()
4246 ep = &base[nextents - 1]; in xfs_bmap_last_offset()
4554 xfs_extnum_t nextents; /* number of extents in file */ in xfs_bmapi() local
4648 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmapi()
4864 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmapi()
4960 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmapi()
5017 if (lastx >= nextents) { in xfs_bmapi()
5169 xfs_extnum_t nextents; /* size of extent list */ in xfs_bunmapi() local
5200 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bunmapi()
5201 if (nextents == 0) { in xfs_bunmapi()
5727 xfs_extnum_t nextents; /* size of extent list */ in xfs_bmap_isaeof() local
5735 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_isaeof()
5736 if (nextents == 0) { in xfs_bmap_isaeof()
5743 lastrec = &ifp->if_u1.if_extents[nextents - 1]; in xfs_bmap_isaeof()
5771 xfs_extnum_t nextents; /* size of extent list */ in xfs_bmap_eof() local
5779 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_eof()
5780 if (nextents == 0) { in xfs_bmap_eof()
5787 lastrec = &ifp->if_u1.if_extents[nextents - 1]; in xfs_bmap_eof()
5806 xfs_extnum_t nextents; /* number of extents in list */ in xfs_bmap_check_extents() local
5811 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_check_extents()
5812 for (ep = base; ep < &base[nextents - 1]; ep++) { in xfs_bmap_check_extents()