MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / pci_device_ref

Method pci_device_ref

crates/openshell-vfio/src/sysfs.rs:46–48  ·  view source on GitHub ↗
(&'a self, bdf: &'a str)

Source from the content-addressed store, hash-verified

44 }
45
46 pub(crate) fn pci_device_ref<'a>(&'a self, bdf: &'a str) -> SysfsPciDevice<'a> {
47 SysfsPciDevice { sysfs: self, bdf }
48 }
49
50 pub fn drivers_probe(&self) -> PathBuf {
51 self.base.join("bus/pci/drivers_probe")

Callers 11

reconcile_stale_bindingsFunction · 0.80
current_driver_nameFunction · 0.80
vfio_id_stringFunction · 0.80
cleanup_partial_bindFunction · 0.80
bind_device_to_vfioFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected