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

Method table_range

pci/src/msix.rs:620–624  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

618 }
619
620 pub fn table_range(&self) -> (u64, u64) {
621 // The table takes 16 bytes per entry.
622 let size = self.table_size() as u64 * 16;
623 (self.table_offset() as u64, size)
624 }
625
626 pub fn pba_range(&self) -> (u64, u64) {
627 // The table takes 1 bit per entry modulo 8 bytes.

Callers 2

fixup_msix_regionMethod · 0.80
generate_sparse_areasMethod · 0.80

Calls 2

table_sizeMethod · 0.80
table_offsetMethod · 0.80

Tested by

no test coverage detected