• Home
  • Raw
  • Download

Lines Matching refs:ep

555 	xfs_bmbt_rec_t		*ep;	/* pointer to current extent */  in xfs_bmap_check_leaf_extents()  local
646 ep = XFS_BMBT_REC_ADDR(mp, block, 1); in xfs_bmap_check_leaf_extents()
650 xfs_bmbt_disk_get_startoff(ep)); in xfs_bmap_check_leaf_extents()
654 ASSERT(xfs_bmbt_disk_get_startoff(ep) + in xfs_bmap_check_leaf_extents()
655 xfs_bmbt_disk_get_blockcount(ep) <= in xfs_bmap_check_leaf_extents()
657 ep = nextp; in xfs_bmap_check_leaf_extents()
660 last = *ep; in xfs_bmap_check_leaf_extents()
1031 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in xfs_bmap_extents_to_btree() local
1126 ep = xfs_iext_get_ext(ifp, i); in xfs_bmap_extents_to_btree()
1127 if (!isnullstartblock(xfs_bmbt_get_startblock(ep))) { in xfs_bmap_extents_to_btree()
1128 arp->l0 = cpu_to_be64(ep->l0); in xfs_bmap_extents_to_btree()
1129 arp->l1 = cpu_to_be64(ep->l1); in xfs_bmap_extents_to_btree()
1193 xfs_bmbt_rec_host_t *ep;/* extent record pointer */ in xfs_bmap_local_to_extents() local
1232 ep = xfs_iext_get_ext(ifp, 0); in xfs_bmap_local_to_extents()
1233 xfs_bmbt_set_allf(ep, 0, args.fsbno, 1, XFS_EXT_NORM); in xfs_bmap_local_to_extents()
1686 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in xfs_bmap_search_multi_extents() local
1703 ep = xfs_iext_bno_to_ext(ifp, bno, &lastx); in xfs_bmap_search_multi_extents()
1708 xfs_bmbt_get_all(ep, gotp); in xfs_bmap_search_multi_extents()
1715 ep = NULL; in xfs_bmap_search_multi_extents()
1718 return ep; in xfs_bmap_search_multi_extents()
1739 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in xfs_bmap_search_extents() local
1744 ep = xfs_bmap_search_multi_extents(ifp, bno, eofp, lastxp, gotp, prevp); in xfs_bmap_search_extents()
1761 return ep; in xfs_bmap_search_extents()
1802 xfs_bmbt_rec_host_t *ep = xfs_iext_get_ext(ifp, idx); in xfs_bmap_first_unused() local
1803 off = xfs_bmbt_get_startoff(ep); in xfs_bmap_first_unused()
1811 lastaddr = off + xfs_bmbt_get_blockcount(ep); in xfs_bmap_first_unused()
1833 xfs_bmbt_rec_host_t *ep; /* pointer to last extent */ in xfs_bmap_last_before() local
1853 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got, in xfs_bmap_last_before()
1855 if (eof || xfs_bmbt_get_startoff(ep) > bno) { in xfs_bmap_last_before()
1996 xfs_bmbt_rec_host_t *ep; /* ptr to fork's extent */ in xfs_bmap_one_block() local
2011 ep = xfs_iext_get_ext(ifp, 0); in xfs_bmap_one_block()
2012 xfs_bmbt_get_all(ep, &s); in xfs_bmap_one_block()
2032 xfs_bmbt_rec_host_t *ep; /* extent entry for idx */ in xfs_bmap_add_extent_delay_real() local
2064 ep = xfs_iext_get_ext(ifp, bma->idx); in xfs_bmap_add_extent_delay_real()
2065 xfs_bmbt_get_all(ep, &PREV); in xfs_bmap_add_extent_delay_real()
2214 xfs_bmbt_set_startblock(ep, new->br_startblock); in xfs_bmap_add_extent_delay_real()
2215 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_delay_real()
2246 xfs_bmbt_set_startblock(ep, new->br_startblock); in xfs_bmap_add_extent_delay_real()
2276 xfs_bmbt_set_startoff(ep, in xfs_bmap_add_extent_delay_real()
2282 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_add_extent_delay_real()
2303 xfs_bmbt_set_startblock(ep, nullstartblock(da_new)); in xfs_bmap_add_extent_delay_real()
2315 xfs_bmbt_set_startoff(ep, new_endoff); in xfs_bmap_add_extent_delay_real()
2317 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_add_extent_delay_real()
2348 ep = xfs_iext_get_ext(ifp, bma->idx + 1); in xfs_bmap_add_extent_delay_real()
2349 xfs_bmbt_set_startblock(ep, nullstartblock(da_new)); in xfs_bmap_add_extent_delay_real()
2360 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_add_extent_delay_real()
2388 xfs_bmbt_set_startblock(ep, nullstartblock(da_new)); in xfs_bmap_add_extent_delay_real()
2401 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_add_extent_delay_real()
2432 ep = xfs_iext_get_ext(ifp, bma->idx); in xfs_bmap_add_extent_delay_real()
2433 xfs_bmbt_set_startblock(ep, nullstartblock(da_new)); in xfs_bmap_add_extent_delay_real()
2463 xfs_bmbt_set_blockcount(ep, temp); /* truncate PREV */ in xfs_bmap_add_extent_delay_real()
2511 ep = xfs_iext_get_ext(ifp, bma->idx); in xfs_bmap_add_extent_delay_real()
2512 xfs_bmbt_set_startblock(ep, nullstartblock((int)temp)); in xfs_bmap_add_extent_delay_real()
2589 xfs_bmbt_rec_host_t *ep; /* extent entry for idx */ in xfs_bmap_add_extent_unwritten_real() local
2620 ep = xfs_iext_get_ext(ifp, *idx); in xfs_bmap_add_extent_unwritten_real()
2621 xfs_bmbt_get_all(ep, &PREV); in xfs_bmap_add_extent_unwritten_real()
2776 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2778 xfs_bmbt_set_state(ep, newext); in xfs_bmap_add_extent_unwritten_real()
2812 xfs_bmbt_set_state(ep, newext); in xfs_bmap_add_extent_unwritten_real()
2839 xfs_bmbt_set_startoff(ep, in xfs_bmap_add_extent_unwritten_real()
2844 xfs_bmbt_set_startblock(ep, in xfs_bmap_add_extent_unwritten_real()
2846 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2884 ASSERT(ep && xfs_bmbt_get_state(ep) == oldext); in xfs_bmap_add_extent_unwritten_real()
2885 xfs_bmbt_set_startoff(ep, new_endoff); in xfs_bmap_add_extent_unwritten_real()
2886 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2888 xfs_bmbt_set_startblock(ep, in xfs_bmap_add_extent_unwritten_real()
2922 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
2964 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
3005 xfs_bmbt_set_blockcount(ep, in xfs_bmap_add_extent_unwritten_real()
5145 xfs_bmbt_rec_host_t *ep; /* current extent entry pointer */ in xfs_bmap_del_extent() local
5171 ep = xfs_iext_get_ext(ifp, *idx); in xfs_bmap_del_extent()
5172 xfs_bmbt_get_all(ep, &got); in xfs_bmap_del_extent()
5268 xfs_bmbt_set_startoff(ep, del_endoff); in xfs_bmap_del_extent()
5270 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_del_extent()
5274 xfs_bmbt_set_startblock(ep, nullstartblock((int)temp)); in xfs_bmap_del_extent()
5279 xfs_bmbt_set_startblock(ep, del_endblock); in xfs_bmap_del_extent()
5297 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_del_extent()
5301 xfs_bmbt_set_startblock(ep, nullstartblock((int)temp)); in xfs_bmap_del_extent()
5324 xfs_bmbt_set_blockcount(ep, temp); in xfs_bmap_del_extent()
5375 xfs_bmbt_set_blockcount(ep, in xfs_bmap_del_extent()
5389 xfs_bmbt_set_startblock(ep, nullstartblock((int)temp)); in xfs_bmap_del_extent()
5397 xfs_bmbt_set_startblock(ep, in xfs_bmap_del_extent()
5468 xfs_bmbt_rec_host_t *ep; /* extent record pointer */ in xfs_bunmapi() local
5517 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got, in xfs_bunmapi()
5525 ep = xfs_iext_get_ext(ifp, --lastx); in xfs_bunmapi()
5526 xfs_bmbt_get_all(ep, &got); in xfs_bunmapi()
5557 ep = xfs_iext_get_ext(ifp, lastx); in xfs_bunmapi()
5558 xfs_bmbt_get_all(ep, &got); in xfs_bunmapi()
5572 ASSERT(ep != NULL); in xfs_bunmapi()
5655 ep = xfs_iext_get_ext(ifp, in xfs_bunmapi()
5657 xfs_bmbt_get_all(ep, &got); in xfs_bunmapi()
5759 ep = xfs_iext_get_ext(ifp, lastx); in xfs_bunmapi()
5760 if (xfs_bmbt_get_startoff(ep) > bno) { in xfs_bunmapi()
5762 ep = xfs_iext_get_ext(ifp, in xfs_bunmapi()
5765 xfs_bmbt_get_all(ep, &got); in xfs_bunmapi()