v3.21.2
Collateralized Agreements and Financings - Offsetting Arrangements (Detail) - USD ($)
$ in Millions
Sep. 30, 2021
Dec. 31, 2020
Collateralized Agreements And Financings [Abstract]    
Resale agreements, Gross carrying value $ 323,886 $ 205,817
Resale agreements, Counterparty Netting (110,824) (97,757)
Resale agreements 213,062 108,060
Resale agreements, Counterparty Netting (32,117) (8,920)
Resale agreements, Collateral (178,668) (96,140)
Resale agreements 2,277 3,000
Securities borrowed, Gross carrying value 191,023 147,593
Securities borrowed, Counterparty Netting (4,352) (5,433)
Securities borrowed 186,671 142,160
Securities borrowed, Counterparty Netting (12,313) (3,525)
Securities borrowed, Collateral (164,478) (132,893)
Securities borrowed 9,880 5,742
Repurchase agreements, Gross carrying value 278,163 224,328
Repurchase agreements, Counterparty Netting (110,824) (97,757)
Repurchase agreements 167,339 126,571
Repurchase agreements, Counterparty Netting (32,117) (8,920)
Repurchase agreements, Collateral (131,121) (116,819)
Repurchase agreements 4,101 832
Securities loaned, Gross carrying value 45,886 27,054
Securities loaned, Counterparty Netting (4,352) (5,433)
Securities loaned 41,534 21,621
Securities loaned, Counterparty Netting (12,313) (3,525)
Securities loaned, Collateral (28,295) (17,693)
Securities loaned $ 926 $ 403