Lines Matching refs:PREV
1073 #define PREV r[2] macro
1115 error = xfs_rmap_lookup_le(cur, bno, owner, offset, oldext, &PREV, &i); in xfs_rmap_convert()
1124 cur->bc_ag.pag->pag_agno, PREV.rm_startblock, in xfs_rmap_convert()
1125 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert()
1126 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1128 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
1129 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
1130 ASSERT((PREV.rm_flags & XFS_RMAP_UNWRITTEN) == oldext); in xfs_rmap_convert()
1137 if (PREV.rm_offset == offset) in xfs_rmap_convert()
1139 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1271 PREV.rm_startblock, PREV.rm_blockcount, in xfs_rmap_convert()
1272 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1273 PREV.rm_flags); in xfs_rmap_convert()
1289 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert()
1301 PREV.rm_startblock, PREV.rm_blockcount, in xfs_rmap_convert()
1302 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1303 PREV.rm_flags); in xfs_rmap_convert()
1319 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert()
1355 NEW = PREV; in xfs_rmap_convert()
1369 NEW = PREV; in xfs_rmap_convert()
1381 NEW = PREV; in xfs_rmap_convert()
1403 NEW = PREV; in xfs_rmap_convert()
1432 NEW = PREV; in xfs_rmap_convert()
1454 NEW = PREV; in xfs_rmap_convert()
1494 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1496 NEW.rm_flags = PREV.rm_flags; in xfs_rmap_convert()
1501 NEW = PREV; in xfs_rmap_convert()
1502 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1605 &PREV, &i); in xfs_rmap_convert_shared()
1613 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1614 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1615 ASSERT((PREV.rm_flags & XFS_RMAP_UNWRITTEN) == oldext); in xfs_rmap_convert_shared()
1622 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1624 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1697 error = xfs_rmap_delete(cur, PREV.rm_startblock, in xfs_rmap_convert_shared()
1698 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert_shared()
1699 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1712 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert_shared()
1723 error = xfs_rmap_delete(cur, PREV.rm_startblock, in xfs_rmap_convert_shared()
1724 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert_shared()
1725 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1738 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert_shared()
1754 NEW = PREV; in xfs_rmap_convert_shared()
1777 NEW = PREV; in xfs_rmap_convert_shared()
1798 NEW = PREV; in xfs_rmap_convert_shared()
1833 NEW = PREV; in xfs_rmap_convert_shared()
1857 NEW = PREV; in xfs_rmap_convert_shared()
1892 NEW = PREV; in xfs_rmap_convert_shared()
1921 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1923 NEW.rm_flags = PREV.rm_flags; in xfs_rmap_convert_shared()
1930 NEW = PREV; in xfs_rmap_convert_shared()
1982 #undef PREV
2579 struct xfs_bmbt_irec *PREV) in xfs_rmap_map_extent() argument
2589 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_map_extent()
2598 struct xfs_bmbt_irec *PREV) in xfs_rmap_unmap_extent() argument
2608 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_unmap_extent()
2623 struct xfs_bmbt_irec *PREV) in xfs_rmap_convert_extent() argument
2633 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_convert_extent()