Searched refs:snap_init (Results 1 – 1 of 1) sorted by relevance
1313 let snap_init = serde_json::to_value(&cfg).context("failed to snapshot")?; in pci_configuration_capability_snapshot_restore() localVariable1325 cfg.restore(snap_init.clone()) in pci_configuration_capability_snapshot_restore()1329 assert_eq!(snap_init, snap_restore_init); in pci_configuration_capability_snapshot_restore()1330 assert_ne!(snap_init, snap_mod); in pci_configuration_capability_snapshot_restore()1353 let snap_init = serde_json::to_value(&cfg).context("failed to snapshot")?; in pci_configuration_pci_bar_snapshot_restore() localVariable1368 cfg.restore(snap_init.clone()) in pci_configuration_pci_bar_snapshot_restore()1372 assert_eq!(snap_init, snap_restore_init); in pci_configuration_pci_bar_snapshot_restore()1373 assert_ne!(snap_init, snap_mod); in pci_configuration_pci_bar_snapshot_restore()1396 let snap_init = serde_json::to_value(&cfg).context("failed to snapshot")?; in pci_configuration_capability_pci_bar_snapshot_restore() localVariable1420 cfg.restore(snap_init.clone()) in pci_configuration_capability_pci_bar_snapshot_restore()[all …]