• Home
  • Raw
  • Download

Lines Matching refs:PREV

1567 #define	PREV		r[2]  in xfs_bmap_add_extent_delay_real()  macro
1572 xfs_iext_get_extent(ifp, &bma->icur, &PREV); in xfs_bmap_add_extent_delay_real()
1574 ASSERT(isnullstartblock(PREV.br_startblock)); in xfs_bmap_add_extent_delay_real()
1575 ASSERT(PREV.br_startoff <= new->br_startoff); in xfs_bmap_add_extent_delay_real()
1576 ASSERT(PREV.br_startoff + PREV.br_blockcount >= new_endoff); in xfs_bmap_add_extent_delay_real()
1578 da_old = startblockval(PREV.br_startblock); in xfs_bmap_add_extent_delay_real()
1585 if (PREV.br_startoff == new->br_startoff) in xfs_bmap_add_extent_delay_real()
1587 if (PREV.br_startoff + PREV.br_blockcount == new_endoff) in xfs_bmap_add_extent_delay_real()
1643 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount; in xfs_bmap_add_extent_delay_real()
1679 LEFT.br_blockcount += PREV.br_blockcount; in xfs_bmap_add_extent_delay_real()
1706 PREV.br_startblock = new->br_startblock; in xfs_bmap_add_extent_delay_real()
1707 PREV.br_blockcount += RIGHT.br_blockcount; in xfs_bmap_add_extent_delay_real()
1708 PREV.br_state = new->br_state; in xfs_bmap_add_extent_delay_real()
1713 xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV); in xfs_bmap_add_extent_delay_real()
1723 error = xfs_bmbt_update(bma->cur, &PREV); in xfs_bmap_add_extent_delay_real()
1735 PREV.br_startblock = new->br_startblock; in xfs_bmap_add_extent_delay_real()
1736 PREV.br_state = new->br_state; in xfs_bmap_add_extent_delay_real()
1737 xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV); in xfs_bmap_add_extent_delay_real()
1761 temp = PREV.br_blockcount - new->br_blockcount; in xfs_bmap_add_extent_delay_real()
1763 startblockval(PREV.br_startblock)); in xfs_bmap_add_extent_delay_real()
1767 PREV.br_blockcount = temp; in xfs_bmap_add_extent_delay_real()
1768 PREV.br_startoff += new->br_blockcount; in xfs_bmap_add_extent_delay_real()
1769 PREV.br_startblock = nullstartblock(da_new); in xfs_bmap_add_extent_delay_real()
1771 xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV); in xfs_bmap_add_extent_delay_real()
1818 temp = PREV.br_blockcount - new->br_blockcount; in xfs_bmap_add_extent_delay_real()
1820 startblockval(PREV.br_startblock) - in xfs_bmap_add_extent_delay_real()
1823 PREV.br_startoff = new_endoff; in xfs_bmap_add_extent_delay_real()
1824 PREV.br_blockcount = temp; in xfs_bmap_add_extent_delay_real()
1825 PREV.br_startblock = nullstartblock(da_new); in xfs_bmap_add_extent_delay_real()
1827 xfs_iext_insert(bma->ip, &bma->icur, &PREV, state); in xfs_bmap_add_extent_delay_real()
1854 temp = PREV.br_blockcount - new->br_blockcount; in xfs_bmap_add_extent_delay_real()
1856 startblockval(PREV.br_startblock)); in xfs_bmap_add_extent_delay_real()
1858 PREV.br_blockcount = temp; in xfs_bmap_add_extent_delay_real()
1859 PREV.br_startblock = nullstartblock(da_new); in xfs_bmap_add_extent_delay_real()
1861 xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV); in xfs_bmap_add_extent_delay_real()
1895 temp = PREV.br_blockcount - new->br_blockcount; in xfs_bmap_add_extent_delay_real()
1897 startblockval(PREV.br_startblock) - in xfs_bmap_add_extent_delay_real()
1900 PREV.br_startblock = nullstartblock(da_new); in xfs_bmap_add_extent_delay_real()
1901 PREV.br_blockcount = temp; in xfs_bmap_add_extent_delay_real()
1902 xfs_iext_insert(bma->ip, &bma->icur, &PREV, state); in xfs_bmap_add_extent_delay_real()
1927 old = PREV; in xfs_bmap_add_extent_delay_real()
1933 RIGHT.br_state = PREV.br_state; in xfs_bmap_add_extent_delay_real()
1936 PREV.br_startoff + PREV.br_blockcount - new_endoff; in xfs_bmap_add_extent_delay_real()
1942 PREV.br_blockcount = new->br_startoff - PREV.br_startoff; in xfs_bmap_add_extent_delay_real()
1943 PREV.br_startblock = in xfs_bmap_add_extent_delay_real()
1945 PREV.br_blockcount)); in xfs_bmap_add_extent_delay_real()
1946 xfs_iext_update_extent(bma->ip, state, &bma->icur, &PREV); in xfs_bmap_add_extent_delay_real()
1975 da_new = startblockval(PREV.br_startblock) + in xfs_bmap_add_extent_delay_real()
2031 #undef PREV in xfs_bmap_add_extent_delay_real()
2070 #define PREV r[2] in xfs_bmap_add_extent_unwritten_real() macro
2076 xfs_iext_get_extent(ifp, icur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2077 ASSERT(new->br_state != PREV.br_state); in xfs_bmap_add_extent_unwritten_real()
2079 ASSERT(PREV.br_startoff <= new->br_startoff); in xfs_bmap_add_extent_unwritten_real()
2080 ASSERT(PREV.br_startoff + PREV.br_blockcount >= new_endoff); in xfs_bmap_add_extent_unwritten_real()
2086 if (PREV.br_startoff == new->br_startoff) in xfs_bmap_add_extent_unwritten_real()
2088 if (PREV.br_startoff + PREV.br_blockcount == new_endoff) in xfs_bmap_add_extent_unwritten_real()
2143 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2182 LEFT.br_blockcount += PREV.br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2193 error = xfs_bmbt_lookup_eq(cur, &PREV, &i); in xfs_bmap_add_extent_unwritten_real()
2214 PREV.br_blockcount += RIGHT.br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2215 PREV.br_state = new->br_state; in xfs_bmap_add_extent_unwritten_real()
2220 xfs_iext_update_extent(ip, state, icur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2238 error = xfs_bmbt_update(cur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2250 PREV.br_state = new->br_state; in xfs_bmap_add_extent_unwritten_real()
2251 xfs_iext_update_extent(ip, state, icur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2261 error = xfs_bmbt_update(cur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2274 old = PREV; in xfs_bmap_add_extent_unwritten_real()
2275 PREV.br_startoff += new->br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2276 PREV.br_startblock += new->br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2277 PREV.br_blockcount -= new->br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2279 xfs_iext_update_extent(ip, state, icur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2291 error = xfs_bmbt_update(cur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2308 old = PREV; in xfs_bmap_add_extent_unwritten_real()
2309 PREV.br_startoff += new->br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2310 PREV.br_startblock += new->br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2311 PREV.br_blockcount -= new->br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2313 xfs_iext_update_extent(ip, state, icur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2325 error = xfs_bmbt_update(cur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2340 old = PREV; in xfs_bmap_add_extent_unwritten_real()
2341 PREV.br_blockcount -= new->br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2347 xfs_iext_update_extent(ip, state, icur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2359 error = xfs_bmbt_update(cur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2376 old = PREV; in xfs_bmap_add_extent_unwritten_real()
2377 PREV.br_blockcount -= new->br_blockcount; in xfs_bmap_add_extent_unwritten_real()
2379 xfs_iext_update_extent(ip, state, icur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2393 error = xfs_bmbt_update(cur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2412 old = PREV; in xfs_bmap_add_extent_unwritten_real()
2413 PREV.br_blockcount = new->br_startoff - PREV.br_startoff; in xfs_bmap_add_extent_unwritten_real()
2420 r[1].br_state = PREV.br_state; in xfs_bmap_add_extent_unwritten_real()
2422 xfs_iext_update_extent(ip, state, icur, &PREV); in xfs_bmap_add_extent_unwritten_real()
2442 cur->bc_rec.b = PREV; in xfs_bmap_add_extent_unwritten_real()
2502 #undef PREV in xfs_bmap_add_extent_unwritten_real()
6083 struct xfs_bmbt_irec *PREV) in xfs_bmap_map_extent() argument
6085 if (!xfs_bmap_is_update_needed(PREV)) in xfs_bmap_map_extent()
6088 __xfs_bmap_add(tp, XFS_BMAP_MAP, ip, XFS_DATA_FORK, PREV); in xfs_bmap_map_extent()
6096 struct xfs_bmbt_irec *PREV) in xfs_bmap_unmap_extent() argument
6098 if (!xfs_bmap_is_update_needed(PREV)) in xfs_bmap_unmap_extent()
6101 __xfs_bmap_add(tp, XFS_BMAP_UNMAP, ip, XFS_DATA_FORK, PREV); in xfs_bmap_unmap_extent()