Lines Matching refs:PREV

750 #define	PREV		r[2]
768 xfs_bmbt_get_all(ep, &PREV);
770 ASSERT(PREV.br_startoff <= new->br_startoff);
771 ASSERT(PREV.br_startoff + PREV.br_blockcount >= new_endoff);
776 STATE_SET(LEFT_FILLING, PREV.br_startoff == new->br_startoff);
778 PREV.br_startoff + PREV.br_blockcount == new_endoff);
829 LEFT.br_blockcount + PREV.br_blockcount +
856 PREV.br_blockcount +
864 PREV.br_blockcount +
876 LEFT.br_blockcount + PREV.br_blockcount);
895 PREV.br_blockcount, LEFT.br_state)))
902 PREV.br_blockcount;
914 PREV.br_blockcount + RIGHT.br_blockcount);
930 if ((error = xfs_bmbt_update(cur, PREV.br_startoff,
932 PREV.br_blockcount +
933 RIGHT.br_blockcount, PREV.br_state)))
938 temp = PREV.br_startoff;
939 temp2 = PREV.br_blockcount +
986 PREV.br_startoff + new->br_blockcount);
989 temp = PREV.br_blockcount - new->br_blockcount;
1011 STARTBLOCKVAL(PREV.br_startblock));
1019 PREV.br_blockcount;
1029 temp = PREV.br_blockcount - new->br_blockcount;
1060 STARTBLOCKVAL(PREV.br_startblock) -
1068 temp = PREV.br_startoff;
1069 temp2 = PREV.br_blockcount;
1077 temp = PREV.br_blockcount - new->br_blockcount;
1107 STARTBLOCKVAL(PREV.br_startblock));
1113 temp = PREV.br_startoff;
1114 temp2 = PREV.br_blockcount +
1123 temp = PREV.br_blockcount - new->br_blockcount;
1155 STARTBLOCKVAL(PREV.br_startblock) -
1162 temp = PREV.br_startoff;
1163 temp2 = PREV.br_blockcount;
1172 temp = new->br_startoff - PREV.br_startoff;
1177 temp2 = PREV.br_startoff + PREV.br_blockcount - new_endoff;
1209 diff = (int)(temp + temp2 - STARTBLOCKVAL(PREV.br_startblock) -
1247 temp = PREV.br_startoff;
1248 temp2 = PREV.br_blockcount;
1276 #undef PREV
1326 #define PREV r[2]
1345 xfs_bmbt_get_all(ep, &PREV);
1349 ASSERT(PREV.br_state == oldext);
1351 ASSERT(PREV.br_startoff <= new->br_startoff);
1352 ASSERT(PREV.br_startoff + PREV.br_blockcount >= new_endoff);
1357 STATE_SET(LEFT_FILLING, PREV.br_startoff == new->br_startoff);
1359 PREV.br_startoff + PREV.br_blockcount == new_endoff);
1409 LEFT.br_blockcount + PREV.br_blockcount +
1441 LEFT.br_blockcount + PREV.br_blockcount +
1448 PREV.br_blockcount +
1460 LEFT.br_blockcount + PREV.br_blockcount);
1472 if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff,
1473 PREV.br_startblock, PREV.br_blockcount,
1485 LEFT.br_blockcount + PREV.br_blockcount,
1492 PREV.br_blockcount;
1503 PREV.br_blockcount + RIGHT.br_blockcount);
1534 temp = PREV.br_startoff;
1535 temp2 = PREV.br_blockcount +
1580 PREV.br_startoff + new->br_blockcount);
1588 PREV.br_blockcount - new->br_blockcount);
1596 if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff,
1597 PREV.br_startblock, PREV.br_blockcount,
1602 PREV.br_startoff + new->br_blockcount,
1603 PREV.br_startblock + new->br_blockcount,
1604 PREV.br_blockcount - new->br_blockcount,
1618 PREV.br_blockcount;
1630 PREV.br_blockcount - new->br_blockcount);
1643 if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff,
1644 PREV.br_startblock, PREV.br_blockcount,
1649 PREV.br_startoff + new->br_blockcount,
1650 PREV.br_startblock + new->br_blockcount,
1651 PREV.br_blockcount - new->br_blockcount,
1660 temp = PREV.br_startoff;
1661 temp2 = PREV.br_blockcount;
1674 PREV.br_blockcount - new->br_blockcount);
1687 if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff,
1688 PREV.br_startblock,
1689 PREV.br_blockcount, &i)))
1692 if ((error = xfs_bmbt_update(cur, PREV.br_startoff,
1693 PREV.br_startblock,
1694 PREV.br_blockcount - new->br_blockcount,
1706 temp = PREV.br_startoff;
1707 temp2 = PREV.br_blockcount +
1718 PREV.br_blockcount - new->br_blockcount);
1729 if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff,
1730 PREV.br_startblock, PREV.br_blockcount,
1734 if ((error = xfs_bmbt_update(cur, PREV.br_startoff,
1735 PREV.br_startblock,
1736 PREV.br_blockcount - new->br_blockcount,
1750 temp = PREV.br_startoff;
1751 temp2 = PREV.br_blockcount;
1762 new->br_startoff - PREV.br_startoff);
1767 PREV.br_startoff + PREV.br_blockcount - new_endoff;
1779 if ((error = xfs_bmbt_lookup_eq(cur, PREV.br_startoff,
1780 PREV.br_startblock, PREV.br_blockcount,
1790 PREV.br_blockcount =
1791 new->br_startoff - PREV.br_startoff;
1792 cur->bc_rec.b = PREV;
1806 temp = PREV.br_startoff;
1807 temp2 = PREV.br_blockcount;
1835 #undef PREV