v3.21.2
Collateralized Agreements and Financings - Offsetting Arrangements (Detail) - USD ($)
$ in Millions
Jun. 30, 2021
Dec. 31, 2020
Collateralized Agreements And Financings [Abstract]    
Resale agreements, Gross carrying value $ 267,924 $ 205,817
Resale agreements, Counterparty Netting (113,801) (97,757)
Resale agreements 154,123 108,060
Resale agreements, Counterparty Netting (28,495) (8,920)
Resale agreements, Collateral (120,865) (96,140)
Resale agreements 4,763 3,000
Securities borrowed, Gross carrying value 200,633 147,593
Securities borrowed, Counterparty Netting (4,379) (5,433)
Securities borrowed 196,254 142,160
Securities borrowed, Counterparty Netting (11,866) (3,525)
Securities borrowed, Collateral (176,921) (132,893)
Securities borrowed 7,467 5,742
Repurchase agreements, Gross carrying value 265,493 224,328
Repurchase agreements, Counterparty Netting (113,801) (97,757)
Repurchase agreements 151,692 126,571
Repurchase agreements, Counterparty Netting (28,495) (8,920)
Repurchase agreements, Collateral (119,180) (116,819)
Repurchase agreements 4,017 832
Securities loaned, Gross carrying value 42,536 27,054
Securities loaned, Counterparty Netting (4,379) (5,433)
Securities loaned 38,157 21,621
Securities loaned, Counterparty Netting (11,866) (3,525)
Securities loaned, Collateral (23,138) (17,693)
Securities loaned $ 3,153 $ 403