Lines Matching refs:NEW
980 #define NEW r[3] macro
1201 NEW = LEFT; in xfs_rmap_convert()
1202 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert()
1203 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1231 NEW = LEFT; in xfs_rmap_convert()
1232 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert()
1233 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1268 NEW = PREV; in xfs_rmap_convert()
1269 NEW.rm_blockcount = len + RIGHT.rm_blockcount; in xfs_rmap_convert()
1270 NEW.rm_flags = newext; in xfs_rmap_convert()
1271 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1282 NEW = PREV; in xfs_rmap_convert()
1283 NEW.rm_flags = newext; in xfs_rmap_convert()
1284 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1294 NEW = PREV; in xfs_rmap_convert()
1295 NEW.rm_offset += len; in xfs_rmap_convert()
1296 NEW.rm_startblock += len; in xfs_rmap_convert()
1297 NEW.rm_blockcount -= len; in xfs_rmap_convert()
1298 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1304 NEW = LEFT; in xfs_rmap_convert()
1305 NEW.rm_blockcount += len; in xfs_rmap_convert()
1306 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1316 NEW = PREV; in xfs_rmap_convert()
1317 NEW.rm_startblock += len; in xfs_rmap_convert()
1318 NEW.rm_offset += len; in xfs_rmap_convert()
1319 NEW.rm_blockcount -= len; in xfs_rmap_convert()
1320 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1323 NEW.rm_startblock = bno; in xfs_rmap_convert()
1324 NEW.rm_owner = owner; in xfs_rmap_convert()
1325 NEW.rm_offset = offset; in xfs_rmap_convert()
1326 NEW.rm_blockcount = len; in xfs_rmap_convert()
1327 NEW.rm_flags = newext; in xfs_rmap_convert()
1328 cur->bc_rec.r = NEW; in xfs_rmap_convert()
1345 NEW = PREV; in xfs_rmap_convert()
1346 NEW.rm_blockcount -= len; in xfs_rmap_convert()
1347 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1353 NEW = RIGHT; in xfs_rmap_convert()
1354 NEW.rm_offset = offset; in xfs_rmap_convert()
1355 NEW.rm_startblock = bno; in xfs_rmap_convert()
1356 NEW.rm_blockcount += len; in xfs_rmap_convert()
1357 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1367 NEW = PREV; in xfs_rmap_convert()
1368 NEW.rm_blockcount -= len; in xfs_rmap_convert()
1369 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1380 NEW.rm_startblock = bno; in xfs_rmap_convert()
1381 NEW.rm_owner = owner; in xfs_rmap_convert()
1382 NEW.rm_offset = offset; in xfs_rmap_convert()
1383 NEW.rm_blockcount = len; in xfs_rmap_convert()
1384 NEW.rm_flags = newext; in xfs_rmap_convert()
1385 cur->bc_rec.r = NEW; in xfs_rmap_convert()
1404 NEW.rm_startblock = bno + len; in xfs_rmap_convert()
1405 NEW.rm_owner = owner; in xfs_rmap_convert()
1406 NEW.rm_offset = new_endoff; 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()
1410 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert()
1414 NEW = PREV; in xfs_rmap_convert()
1415 NEW.rm_blockcount = offset - PREV.rm_offset; in xfs_rmap_convert()
1416 cur->bc_rec.r = NEW; in xfs_rmap_convert()
1418 NEW.rm_startblock, NEW.rm_blockcount, in xfs_rmap_convert()
1419 NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert()
1420 NEW.rm_flags); in xfs_rmap_convert()
1615 NEW = LEFT; in xfs_rmap_convert_shared()
1616 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1617 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1618 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1625 NEW.rm_blockcount += PREV.rm_blockcount + RIGHT.rm_blockcount; in xfs_rmap_convert_shared()
1626 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1641 NEW = LEFT; in xfs_rmap_convert_shared()
1642 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1643 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1644 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1651 NEW.rm_blockcount += PREV.rm_blockcount; in xfs_rmap_convert_shared()
1652 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1667 NEW = PREV; in xfs_rmap_convert_shared()
1668 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1669 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1670 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1677 NEW.rm_blockcount += RIGHT.rm_blockcount; in xfs_rmap_convert_shared()
1678 NEW.rm_flags = RIGHT.rm_flags; in xfs_rmap_convert_shared()
1679 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1690 NEW = PREV; in xfs_rmap_convert_shared()
1691 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1692 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1693 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1700 NEW.rm_flags = newext; in xfs_rmap_convert_shared()
1701 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1711 NEW = PREV; in xfs_rmap_convert_shared()
1712 error = xfs_rmap_delete(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1713 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1714 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1717 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1718 NEW.rm_startblock += len; in xfs_rmap_convert_shared()
1719 NEW.rm_blockcount -= len; in xfs_rmap_convert_shared()
1720 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1721 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1722 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1725 NEW = LEFT; in xfs_rmap_convert_shared()
1726 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1727 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1728 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1735 NEW.rm_blockcount += len; in xfs_rmap_convert_shared()
1736 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1746 NEW = PREV; in xfs_rmap_convert_shared()
1747 error = xfs_rmap_delete(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1748 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1749 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1752 NEW.rm_offset += len; in xfs_rmap_convert_shared()
1753 NEW.rm_startblock += len; in xfs_rmap_convert_shared()
1754 NEW.rm_blockcount -= len; in xfs_rmap_convert_shared()
1755 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1756 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1757 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1770 NEW = PREV; in xfs_rmap_convert_shared()
1771 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1772 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1773 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1780 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1781 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1784 NEW = RIGHT; in xfs_rmap_convert_shared()
1785 error = xfs_rmap_delete(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1786 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1787 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1790 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1791 NEW.rm_startblock = bno; in xfs_rmap_convert_shared()
1792 NEW.rm_blockcount += len; in xfs_rmap_convert_shared()
1793 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1794 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1795 NEW.rm_offset, NEW.rm_flags); in xfs_rmap_convert_shared()
1805 NEW = PREV; in xfs_rmap_convert_shared()
1806 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1807 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1808 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1815 NEW.rm_blockcount -= len; in xfs_rmap_convert_shared()
1816 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1831 NEW.rm_startblock = bno + len; in xfs_rmap_convert_shared()
1832 NEW.rm_owner = owner; in xfs_rmap_convert_shared()
1833 NEW.rm_offset = new_endoff; 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()
1837 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1838 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1839 NEW.rm_flags); in xfs_rmap_convert_shared()
1843 NEW = PREV; in xfs_rmap_convert_shared()
1844 error = xfs_rmap_lookup_eq(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1845 NEW.rm_blockcount, NEW.rm_owner, in xfs_rmap_convert_shared()
1846 NEW.rm_offset, NEW.rm_flags, &i); in xfs_rmap_convert_shared()
1853 NEW.rm_blockcount = offset - NEW.rm_offset; in xfs_rmap_convert_shared()
1854 error = xfs_rmap_update(cur, &NEW); in xfs_rmap_convert_shared()
1858 NEW.rm_startblock = bno; in xfs_rmap_convert_shared()
1859 NEW.rm_blockcount = len; in xfs_rmap_convert_shared()
1860 NEW.rm_owner = owner; in xfs_rmap_convert_shared()
1861 NEW.rm_offset = offset; in xfs_rmap_convert_shared()
1862 NEW.rm_flags = newext; in xfs_rmap_convert_shared()
1863 error = xfs_rmap_insert(cur, NEW.rm_startblock, in xfs_rmap_convert_shared()
1864 NEW.rm_blockcount, NEW.rm_owner, NEW.rm_offset, in xfs_rmap_convert_shared()
1865 NEW.rm_flags); in xfs_rmap_convert_shared()
1892 #undef NEW