Lines Matching refs:LEFT
1437 #define LEFT r[0]
1466 if (xfs_iext_peek_prev_extent(ifp, &bma->icur, &LEFT)) {
1468 if (isnullstartblock(LEFT.br_startblock))
1473 LEFT.br_startoff + LEFT.br_blockcount == new->br_startoff &&
1474 LEFT.br_startblock + LEFT.br_blockcount == new->br_startblock &&
1475 LEFT.br_state == new->br_state &&
1476 LEFT.br_blockcount + new->br_blockcount <= XFS_MAX_BMBT_EXTLEN)
1499 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount
1515 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount;
1520 xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
1548 error = xfs_bmbt_update(bma->cur, &LEFT);
1559 old = LEFT;
1560 LEFT.br_blockcount += PREV.br_blockcount;
1564 xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
1577 error = xfs_bmbt_update(bma->cur, &LEFT);
1653 old = LEFT;
1658 LEFT.br_blockcount += new->br_blockcount;
1666 xfs_iext_update_extent(bma->ip, state, &bma->icur, &LEFT);
1679 error = xfs_bmbt_update(bma->cur, &LEFT);
1837 * PREV @ idx LEFT RIGHT
1842 /* LEFT is the new middle */
1843 LEFT = *new;
1863 xfs_iext_insert(bma->ip, &bma->icur, &LEFT, state);
1948 #undef LEFT
1987 #define LEFT r[0]
2014 if (xfs_iext_peek_prev_extent(ifp, icur, &LEFT)) {
2016 if (isnullstartblock(LEFT.br_startblock))
2021 LEFT.br_startoff + LEFT.br_blockcount == new->br_startoff &&
2022 LEFT.br_startblock + LEFT.br_blockcount == new->br_startblock &&
2023 LEFT.br_state == new->br_state &&
2024 LEFT.br_blockcount + new->br_blockcount <= XFS_MAX_BMBT_EXTLEN)
2047 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount
2062 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount;
2067 xfs_iext_update_extent(ip, state, icur, &LEFT);
2104 error = xfs_bmbt_update(cur, &LEFT);
2115 LEFT.br_blockcount += PREV.br_blockcount;
2119 xfs_iext_update_extent(ip, state, icur, &LEFT);
2144 error = xfs_bmbt_update(cur, &LEFT);
2224 LEFT.br_blockcount += new->br_blockcount;
2233 xfs_iext_update_extent(ip, state, icur, &LEFT);
2252 error = xfs_bmbt_update(cur, &LEFT);
2483 #undef LEFT