Lines Matching refs:LEFT
1517 #define LEFT r[0]
1546 if (xfs_iext_peek_prev_extent(ifp, &bma->icur, &LEFT)) {
1548 if (isnullstartblock(LEFT.br_startblock))
1553 LEFT.br_startoff + LEFT.br_blockcount == new->br_startoff &&
1554 LEFT.br_startblock + LEFT.br_blockcount == new->br_startblock &&
1555 LEFT.br_state == new->br_state &&
1556 LEFT.br_blockcount + new->br_blockcount <= MAXEXTLEN)
1579 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount
1595 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount;
1600 xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
1628 error = xfs_bmbt_update(bma->cur, &LEFT);
1639 old = LEFT;
1640 LEFT.br_blockcount += PREV.br_blockcount;
1644 xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
1657 error = xfs_bmbt_update(bma->cur, &LEFT);
1733 old = LEFT;
1738 LEFT.br_blockcount += new->br_blockcount;
1746 xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
1759 error = xfs_bmbt_update(bma->cur, &LEFT);
1917 * PREV @ idx LEFT RIGHT
1922 /* LEFT is the new middle */
1923 LEFT = *new;
1943 xfs_iext_insert(bma->ip, &bma->icur, &LEFT, state);
2028 #undef LEFT
2067 #define LEFT r[0]
2094 if (xfs_iext_peek_prev_extent(ifp, icur, &LEFT)) {
2096 if (isnullstartblock(LEFT.br_startblock))
2101 LEFT.br_startoff + LEFT.br_blockcount == new->br_startoff &&
2102 LEFT.br_startblock + LEFT.br_blockcount == new->br_startblock &&
2103 LEFT.br_state == new->br_state &&
2104 LEFT.br_blockcount + new->br_blockcount <= MAXEXTLEN)
2127 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount
2142 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount;
2147 xfs_iext_update_extent(ip, state, icur, &LEFT);
2184 error = xfs_bmbt_update(cur, &LEFT);
2195 LEFT.br_blockcount += PREV.br_blockcount;
2199 xfs_iext_update_extent(ip, state, icur, &LEFT);
2224 error = xfs_bmbt_update(cur, &LEFT);
2304 LEFT.br_blockcount += new->br_blockcount;
2313 xfs_iext_update_extent(ip, state, icur, &LEFT);
2332 error = xfs_bmbt_update(cur, &LEFT);
2563 #undef LEFT