Home
last modified time | relevance | path

Searched refs:tab_index (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_virtio_viona.c837 uint16_t tab_index; in pci_viona_ring_set_msix() local
849 tab_index = sc->vsc_queues[ring].vq_msix_idx; in pci_viona_ring_set_msix()
851 if (tab_index != VIRTIO_MSI_NO_VECTOR && sc->vsc_msix_active) { in pci_viona_ring_set_msix()
852 mte = pi->pi_msix.table[tab_index]; in pci_viona_ring_set_msix()
890 uint_t tab_index, i; in pci_viona_msix_update() local
904 tab_index = offset / MSIX_TABLE_ENTRY_SIZE; in pci_viona_msix_update()
907 if (sc->vsc_queues[i].vq_msix_idx != tab_index) { in pci_viona_msix_update()
H A Dpci_emul.c416 int tab_index; in pci_emul_msix_twrite() local
426 tab_index = offset / MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_twrite()
427 if (tab_index >= pi->pi_msix.table_count) in pci_emul_msix_twrite()
436 dest = (char *)(pi->pi_msix.table + tab_index); in pci_emul_msix_twrite()
452 int tab_index; in pci_emul_msix_tread() local
470 tab_index = offset / MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_tread()
472 if (tab_index < pi->pi_msix.table_count) { in pci_emul_msix_tread()
474 dest = (char *)(pi->pi_msix.table + tab_index); in pci_emul_msix_tread()