If you incur a wash sale, the loss must be deferred and it is then added to the cost basis of the replacement shares. If you close all positions by the end of the year then you get to claim your losses in that tax year as long as you do not reacquire replacement shares within 30 days in January.
If you have an end of year carry forward loss then you'll get to claim it on the following year's tax return as long as the trade(s) in question are closed in that next tax year with no subsequent wash sale violations.
Throughout your tax form it lists completed trades. If there is a wash sale, it provides the wash sale deferral amount in column (g). These are the individual deferrals. At the bottom it will show the totals. Box (h) in the Total line is your taxable gain (or loss) for the year. Assuming that you did your own reconciliation correctly, Box (h) will match your calculations unless there is a carry forward wash sale violation.