MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / msix_read_table

Method msix_read_table

pci/src/vfio.rs:253–258  ·  view source on GitHub ↗
(&self, offset: u64, data: &mut [u8])

Source from the content-addressed store, hash-verified

251 }
252
253 fn msix_read_table(&self, offset: u64, data: &mut [u8]) {
254 if let Some(msix) = &self.msix {
255 let offset = offset - u64::from(msix.cap.table_offset());
256 msix.bar.read_table(offset, data);
257 }
258 }
259
260 pub(crate) fn intx_in_use(&self) -> bool {
261 if let Some(intx) = &self.intx {

Callers 1

read_barMethod · 0.80

Calls 2

table_offsetMethod · 0.80
read_tableMethod · 0.80

Tested by

no test coverage detected