Lines Matching refs:ep
368 xfs_bmbt_rec_t *ep; /* pointer to current extent */ in xfs_bmap_check_leaf_extents() local
461 ep = XFS_BMBT_REC_ADDR(mp, block, 1); in xfs_bmap_check_leaf_extents()
465 xfs_bmbt_disk_get_startoff(ep)); in xfs_bmap_check_leaf_extents()
469 ASSERT(xfs_bmbt_disk_get_startoff(ep) + in xfs_bmap_check_leaf_extents()
470 xfs_bmbt_disk_get_blockcount(ep) <= in xfs_bmap_check_leaf_extents()
472 ep = nextp; in xfs_bmap_check_leaf_extents()
475 last = *ep; in xfs_bmap_check_leaf_extents()
719 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in xfs_bmap_extents_to_btree() local
834 ep = xfs_iext_get_ext(ifp, i); in xfs_bmap_extents_to_btree()
835 if (!isnullstartblock(xfs_bmbt_get_startblock(ep))) { in xfs_bmap_extents_to_btree()
836 arp->l0 = cpu_to_be64(ep->l0); in xfs_bmap_extents_to_btree()
837 arp->l1 = cpu_to_be64(ep->l1); in xfs_bmap_extents_to_btree()
909 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in xfs_bmap_local_to_extents() local
987 ep = xfs_iext_get_ext(ifp, 0); in xfs_bmap_local_to_extents()
988 xfs_bmbt_set_allf(ep, 0, args.fsbno, 1, XFS_EXT_NORM); in xfs_bmap_local_to_extents()
1409 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in xfs_bmap_search_multi_extents() local
1422 ep = xfs_iext_bno_to_ext(ifp, bno, &lastx); in xfs_bmap_search_multi_extents()
1427 xfs_bmbt_get_all(ep, gotp); in xfs_bmap_search_multi_extents()
1434 ep = NULL; in xfs_bmap_search_multi_extents()
1437 return ep; in xfs_bmap_search_multi_extents()
1458 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in xfs_bmap_search_extents() local
1463 ep = xfs_bmap_search_multi_extents(ifp, bno, eofp, lastxp, gotp, prevp); in xfs_bmap_search_extents()
1480 return ep; in xfs_bmap_search_extents()
1521 xfs_bmbt_rec_host_t *ep = xfs_iext_get_ext(ifp, idx); in xfs_bmap_first_unused() local
1522 off = xfs_bmbt_get_startoff(ep); in xfs_bmap_first_unused()
1530 lastaddr = off + xfs_bmbt_get_blockcount(ep); in xfs_bmap_first_unused()
1552 xfs_bmbt_rec_host_t *ep; /* pointer to last extent */ in xfs_bmap_last_before() local
1572 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got, in xfs_bmap_last_before()
1574 if (eof || xfs_bmbt_get_startoff(ep) > bno) { in xfs_bmap_last_before()
1696 xfs_bmbt_rec_host_t *ep; /* ptr to fork's extent */ in xfs_bmap_one_block() local
1711 ep = xfs_iext_get_ext(ifp, 0); in xfs_bmap_one_block()
1712 xfs_bmbt_get_all(ep, &s); in xfs_bmap_one_block()
1733 xfs_bmbt_rec_host_t *ep; /* extent entry for idx */ in xfs_bmap_add_extent_delay_real() local
1774 ep = xfs_iext_get_ext(ifp, bma->idx); in xfs_bmap_add_extent_delay_real()
1775 xfs_bmbt_get_all(ep, &PREV); in xfs_bmap_add_extent_delay_real()
1924 xfs_bmbt_set_startblock(ep, new->br_startblock); in xfs_bmap_add_extent_delay_real()
1925 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_delay_real()
1956 xfs_bmbt_set_startblock(ep, new->br_startblock); in xfs_bmap_add_extent_delay_real()
1957 xfs_bmbt_set_state(ep, new->br_state); in xfs_bmap_add_extent_delay_real()
1987 xfs_bmbt_set_startoff(ep, in xfs_bmap_add_extent_delay_real()
1993 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_add_extent_delay_real()
2014 xfs_bmbt_set_startblock(ep, nullstartblock(da_new)); in xfs_bmap_add_extent_delay_real()
2026 xfs_bmbt_set_startoff(ep, new_endoff); in xfs_bmap_add_extent_delay_real()
2028 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_add_extent_delay_real()
2059 ep = xfs_iext_get_ext(ifp, bma->idx + 1); in xfs_bmap_add_extent_delay_real()
2060 xfs_bmbt_set_startblock(ep, nullstartblock(da_new)); in xfs_bmap_add_extent_delay_real()
2071 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_add_extent_delay_real()
2099 xfs_bmbt_set_startblock(ep, nullstartblock(da_new)); in xfs_bmap_add_extent_delay_real()
2112 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_add_extent_delay_real()
2143 ep = xfs_iext_get_ext(ifp, bma->idx); in xfs_bmap_add_extent_delay_real()
2144 xfs_bmbt_set_startblock(ep, nullstartblock(da_new)); in xfs_bmap_add_extent_delay_real()
2174 xfs_bmbt_set_blockcount(ep, temp); /* truncate PREV */ in xfs_bmap_add_extent_delay_real()
2223 ep = xfs_iext_get_ext(ifp, bma->idx); in xfs_bmap_add_extent_delay_real()
2224 xfs_bmbt_set_startblock(ep, nullstartblock((int)temp)); in xfs_bmap_add_extent_delay_real()
2306 xfs_bmbt_rec_host_t *ep; /* extent entry for idx */ in xfs_bmap_add_extent_unwritten_real() local
2340 ep = xfs_iext_get_ext(ifp, *idx); in xfs_bmap_add_extent_unwritten_real()
2341 xfs_bmbt_get_all(ep, &PREV); in xfs_bmap_add_extent_unwritten_real()
2498 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2500 xfs_bmbt_set_state(ep, newext); in xfs_bmap_add_extent_unwritten_real()
2535 xfs_bmbt_set_state(ep, newext); in xfs_bmap_add_extent_unwritten_real()
2562 xfs_bmbt_set_startoff(ep, in xfs_bmap_add_extent_unwritten_real()
2567 xfs_bmbt_set_startblock(ep, in xfs_bmap_add_extent_unwritten_real()
2569 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2607 ASSERT(ep && xfs_bmbt_get_state(ep) == oldext); in xfs_bmap_add_extent_unwritten_real()
2608 xfs_bmbt_set_startoff(ep, new_endoff); in xfs_bmap_add_extent_unwritten_real()
2609 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2611 xfs_bmbt_set_startblock(ep, in xfs_bmap_add_extent_unwritten_real()
2646 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2688 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2730 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
5212 xfs_bmbt_rec_host_t *ep; /* current extent entry pointer */ in xfs_bmap_del_extent() local
5239 ep = xfs_iext_get_ext(ifp, *idx); in xfs_bmap_del_extent()
5240 xfs_bmbt_get_all(ep, &got); in xfs_bmap_del_extent()
5338 xfs_bmbt_set_startoff(ep, del_endoff); in xfs_bmap_del_extent()
5340 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_del_extent()
5344 xfs_bmbt_set_startblock(ep, nullstartblock((int)temp)); in xfs_bmap_del_extent()
5349 xfs_bmbt_set_startblock(ep, del_endblock); in xfs_bmap_del_extent()
5367 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_del_extent()
5371 xfs_bmbt_set_startblock(ep, nullstartblock((int)temp)); in xfs_bmap_del_extent()
5394 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_del_extent()
5446 xfs_bmbt_set_blockcount(ep, in xfs_bmap_del_extent()
5479 xfs_bmbt_set_startblock(ep, nullstartblock((int)temp)); in xfs_bmap_del_extent()
5552 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in __xfs_bunmapi() local
5613 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got, in __xfs_bunmapi()
5621 ep = xfs_iext_get_ext(ifp, --lastx); in __xfs_bunmapi()
5622 xfs_bmbt_get_all(ep, &got); in __xfs_bunmapi()
5655 ep = xfs_iext_get_ext(ifp, lastx); in __xfs_bunmapi()
5656 xfs_bmbt_get_all(ep, &got); in __xfs_bunmapi()
5670 ASSERT(ep != NULL); in __xfs_bunmapi()
5773 ep = xfs_iext_get_ext(ifp, in __xfs_bunmapi()
5775 xfs_bmbt_get_all(ep, &got); in __xfs_bunmapi()
5889 ep = xfs_iext_get_ext(ifp, lastx); in __xfs_bunmapi()
5890 if (xfs_bmbt_get_startoff(ep) > bno) { in __xfs_bunmapi()
5892 ep = xfs_iext_get_ext(ifp, in __xfs_bunmapi()
5895 xfs_bmbt_get_all(ep, &got); in __xfs_bunmapi()