Lines Matching defs:RIGHT
1518 #define RIGHT r[1]
1564 if (xfs_iext_peek_next_extent(ifp, &bma->icur, &RIGHT)) {
1566 if (isnullstartblock(RIGHT.br_startblock))
1571 new_endoff == RIGHT.br_startoff &&
1572 new->br_startblock + new->br_blockcount == RIGHT.br_startblock &&
1573 new->br_state == RIGHT.br_state &&
1574 new->br_blockcount + RIGHT.br_blockcount <= MAXEXTLEN &&
1579 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount
1595 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount;
1607 error = xfs_bmbt_lookup_eq(bma->cur, &RIGHT, &i);
1671 PREV.br_blockcount += RIGHT.br_blockcount;
1683 error = xfs_bmbt_lookup_eq(bma->cur, &RIGHT, &i);
1819 old = RIGHT;
1820 RIGHT.br_startoff = new->br_startoff;
1821 RIGHT.br_startblock = new->br_startblock;
1822 RIGHT.br_blockcount += new->br_blockcount;
1835 error = xfs_bmbt_update(bma->cur, &RIGHT);
1849 xfs_iext_update_extent(bma->ip, state, &bma->icur, &RIGHT);
1917 * PREV @ idx LEFT RIGHT
1925 /* RIGHT is the new right */
1926 RIGHT.br_state = PREV.br_state;
1927 RIGHT.br_startoff = new_endoff;
1928 RIGHT.br_blockcount =
1930 RIGHT.br_startblock =
1932 RIGHT.br_blockcount));
1942 xfs_iext_insert(bma->ip, &bma->icur, &RIGHT, state);
1975 startblockval(RIGHT.br_startblock);
2029 #undef RIGHT
2068 #define RIGHT r[1]
2112 if (xfs_iext_peek_next_extent(ifp, icur, &RIGHT)) {
2114 if (isnullstartblock(RIGHT.br_startblock))
2119 new_endoff == RIGHT.br_startoff &&
2120 new->br_startblock + new->br_blockcount == RIGHT.br_startblock &&
2121 new->br_state == RIGHT.br_state &&
2122 new->br_blockcount + RIGHT.br_blockcount <= MAXEXTLEN &&
2127 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount
2142 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount;
2153 error = xfs_bmbt_lookup_eq(cur, &RIGHT, &i);
2235 PREV.br_blockcount += RIGHT.br_blockcount;
2248 error = xfs_bmbt_lookup_eq(cur, &RIGHT, &i);
2384 RIGHT.br_startoff = new->br_startoff;
2385 RIGHT.br_startblock = new->br_startblock;
2386 RIGHT.br_blockcount += new->br_blockcount;
2390 xfs_iext_update_extent(ip, state, icur, &RIGHT);
2409 error = xfs_bmbt_update(cur, &RIGHT);
2564 #undef RIGHT