Some of those non-performing loans will be directed into one of the many foreclosure alternatives now available to lenders: from loan modification to short sale to even sale of the loan at a discount to another entity who then can try to get that loan performing again.
They typically involve the sale of shares in a privately held company at a discount, and a loan plus a gift from the business or its owner to finance the purchase.