MCPcopy Index your code
hub / github.com/cloud-hypervisor/cloud-hypervisor / enabled

Method enabled

pci/src/msi.rs:88–90  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

86 }
87
88 fn enabled(&self) -> bool {
89 self.msg_ctl & MSI_CTL_ENABLE == MSI_CTL_ENABLE
90 }
91
92 fn num_enabled_vectors(&self) -> usize {
93 msi_num_enabled_vectors(self.msg_ctl)

Callers 2

newMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected