Lines Matching refs:PREV

1024 #define PREV		r[2]  macro
1066 error = xfs_rmap_lookup_le(cur, bno, owner, offset, oldext, &PREV, &i); in xfs_rmap_convert()
1075 cur->bc_ag.pag->pag_agno, PREV.rm_startblock, in xfs_rmap_convert()
1076 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert()
1077 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert()
1079 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert()
1080 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert()
1081 ASSERT((PREV.rm_flags & XFS_RMAP_UNWRITTEN) == oldext); in xfs_rmap_convert()
1088 if (PREV.rm_offset == offset) in xfs_rmap_convert()
1090 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert()
1222 PREV.rm_startblock, PREV.rm_blockcount, in xfs_rmap_convert()
1223 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1224 PREV.rm_flags); in xfs_rmap_convert()
1240 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert()
1252 PREV.rm_startblock, PREV.rm_blockcount, in xfs_rmap_convert()
1253 PREV.rm_owner, PREV.rm_offset, in xfs_rmap_convert()
1254 PREV.rm_flags); in xfs_rmap_convert()
1270 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert()
1306 NEW = PREV; in xfs_rmap_convert()
1320 NEW = PREV; in xfs_rmap_convert()
1332 NEW = PREV; in xfs_rmap_convert()
1354 NEW = PREV; in xfs_rmap_convert()
1383 NEW = PREV; in xfs_rmap_convert()
1405 NEW = PREV; in xfs_rmap_convert()
1445 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert()
1447 NEW.rm_flags = PREV.rm_flags; in xfs_rmap_convert()
1452 NEW = PREV; in xfs_rmap_convert()
1453 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1556 &PREV, &i); in xfs_rmap_convert_shared()
1564 ASSERT(PREV.rm_offset <= offset); in xfs_rmap_convert_shared()
1565 ASSERT(PREV.rm_offset + PREV.rm_blockcount >= new_endoff); in xfs_rmap_convert_shared()
1566 ASSERT((PREV.rm_flags & XFS_RMAP_UNWRITTEN) == oldext); in xfs_rmap_convert_shared()
1573 if (PREV.rm_offset == offset) in xfs_rmap_convert_shared()
1575 if (PREV.rm_offset + PREV.rm_blockcount == new_endoff) in xfs_rmap_convert_shared()
1648 error = xfs_rmap_delete(cur, PREV.rm_startblock, in xfs_rmap_convert_shared()
1649 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert_shared()
1650 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1663 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert_shared()
1674 error = xfs_rmap_delete(cur, PREV.rm_startblock, in xfs_rmap_convert_shared()
1675 PREV.rm_blockcount, PREV.rm_owner, in xfs_rmap_convert_shared()
1676 PREV.rm_offset, PREV.rm_flags); in xfs_rmap_convert_shared()
1689 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert_shared()
1705 NEW = PREV; in xfs_rmap_convert_shared()
1728 NEW = PREV; in xfs_rmap_convert_shared()
1749 NEW = PREV; in xfs_rmap_convert_shared()
1784 NEW = PREV; in xfs_rmap_convert_shared()
1808 NEW = PREV; in xfs_rmap_convert_shared()
1843 NEW = PREV; in xfs_rmap_convert_shared()
1872 NEW.rm_blockcount = PREV.rm_offset + PREV.rm_blockcount - in xfs_rmap_convert_shared()
1874 NEW.rm_flags = PREV.rm_flags; in xfs_rmap_convert_shared()
1881 NEW = PREV; in xfs_rmap_convert_shared()
1933 #undef PREV
2540 struct xfs_bmbt_irec *PREV) in xfs_rmap_map_extent() argument
2550 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_map_extent()
2559 struct xfs_bmbt_irec *PREV) in xfs_rmap_unmap_extent() argument
2569 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_unmap_extent()
2584 struct xfs_bmbt_irec *PREV) in xfs_rmap_convert_extent() argument
2594 __xfs_rmap_add(tp, type, ip->i_ino, whichfork, PREV); in xfs_rmap_convert_extent()