Lines Matching refs:PREV

979 #define PREV		r[2]  macro
1029 error = xfs_rmap_get_rec(cur, &PREV, &i); in xfs_rmap_convert()
1037 cur->bc_ag.agno, PREV.rm_startblock, in xfs_rmap_convert()
1038 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert()
1039 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1041 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
1042 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
1043 ASSERT((PREV.rm_flags & XFS_RMAP_UNWRITTEN) == oldext); in xfs_rmap_convert()
1050 if (PREV.rm_offset == offset) in xfs_rmap_convert()
1052 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1184 PREV.rm_startblock, PREV.rm_blockcount, in xfs_rmap_convert()
1185 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1186 PREV.rm_flags); in xfs_rmap_convert()
1202 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert()
1214 PREV.rm_startblock, PREV.rm_blockcount, in xfs_rmap_convert()
1215 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1216 PREV.rm_flags); in xfs_rmap_convert()
1232 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert()
1268 NEW = PREV; in xfs_rmap_convert()
1282 NEW = PREV; in xfs_rmap_convert()
1294 NEW = PREV; in xfs_rmap_convert()
1316 NEW = PREV; in xfs_rmap_convert()
1345 NEW = PREV; in xfs_rmap_convert()
1367 NEW = PREV; in xfs_rmap_convert()
1407 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1409 NEW.rm_flags = PREV.rm_flags; in xfs_rmap_convert()
1414 NEW = PREV; in xfs_rmap_convert()
1415 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1518 &PREV, &i); in xfs_rmap_convert_shared()
1526 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1527 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1528 ASSERT((PREV.rm_flags & XFS_RMAP_UNWRITTEN) == oldext); in xfs_rmap_convert_shared()
1535 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1537 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1610 error = xfs_rmap_delete(cur, PREV.rm_startblock, in xfs_rmap_convert_shared()
1611 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert_shared()
1612 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1625 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert_shared()
1636 error = xfs_rmap_delete(cur, PREV.rm_startblock, in xfs_rmap_convert_shared()
1637 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert_shared()
1638 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1651 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert_shared()
1667 NEW = PREV; in xfs_rmap_convert_shared()
1690 NEW = PREV; in xfs_rmap_convert_shared()
1711 NEW = PREV; in xfs_rmap_convert_shared()
1746 NEW = PREV; in xfs_rmap_convert_shared()
1770 NEW = PREV; in xfs_rmap_convert_shared()
1805 NEW = PREV; in xfs_rmap_convert_shared()
1834 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1836 NEW.rm_flags = PREV.rm_flags; in xfs_rmap_convert_shared()
1843 NEW = PREV; in xfs_rmap_convert_shared()
1895 #undef PREV
2506 struct xfs_bmbt_irec *PREV) in xfs_rmap_map_extent() argument
2516 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_map_extent()
2525 struct xfs_bmbt_irec *PREV) in xfs_rmap_unmap_extent() argument
2535 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_unmap_extent()
2550 struct xfs_bmbt_irec *PREV) in xfs_rmap_convert_extent() argument
2560 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_convert_extent()