v3.20.4
Collateralized Agreements and Financings - Offsetting Arrangements (Detail) - USD ($)
$ in Millions
Dec. 31, 2020
Dec. 31, 2019
Collateralized Agreements And Financings [Abstract]    
Resale agreements, Gross carrying value $ 205,817 $ 152,982
Resale agreements, Counterparty Netting (97,757) (67,291)
Resale agreements 108,060 85,691
Resale agreements, Counterparty Netting (8,920) (3,058)
Resale agreements, Collateral (96,140) (78,528)
Resale agreements 3,000 4,105
Securities borrowed, Gross carrying value 147,593 140,677
Securities borrowed, Counterparty Netting (5,433) (4,606)
Securities borrowed 142,160 136,071
Securities borrowed, Counterparty Netting (3,525) (2,211)
Securities borrowed, Collateral (132,893) (127,901)
Securities borrowed 5,742 5,959
Repurchase agreements, Gross carrying value 224,328 185,047
Repurchase agreements, Counterparty Netting (97,757) (67,291)
Repurchase agreements 126,571 117,756
Repurchase agreements, Counterparty Netting (8,920) (3,058)
Repurchase agreements, Collateral (116,819) (114,065)
Repurchase agreements 832 633
Securities loaned, Gross carrying value 27,054 19,591
Securities loaned, Counterparty Netting (5,433) (4,606)
Securities loaned 21,621 14,985
Securities loaned, Counterparty Netting (3,525) (2,211)
Securities loaned, Collateral (17,693) (12,614)
Securities loaned $ 403 $ 160