Home
last modified time | relevance | path

Searched refs:bctxt (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_virtio_block.c417 pci_vtblk_resized(struct blockif_ctxt *bctxt __unused, void *arg, in pci_vtblk_resized()
433 struct blockif_ctxt *bctxt; in pci_vtblk_init() local
445 bctxt = blockif_open(nvl, bident); in pci_vtblk_init()
446 if (bctxt == NULL) { in pci_vtblk_init()
451 if (blockif_add_boot_device(pi, bctxt)) { in pci_vtblk_init()
456 size = blockif_size(bctxt); in pci_vtblk_init()
457 sectsz = blockif_sectsz(bctxt); in pci_vtblk_init()
458 blockif_psectsz(bctxt, &sts, &sto); in pci_vtblk_init()
461 sc->bc = bctxt; in pci_vtblk_init()
H A Dpci_ahci.c2415 struct blockif_ctxt *bctxt; in pci_ahci_init() local
2463 bctxt = blockif_open(port_nvl, bident); in pci_ahci_init()
2464 if (bctxt == NULL) { in pci_ahci_init()
2470 ret = blockif_add_boot_device(pi, bctxt); in pci_ahci_init()
2476 sc->port[p].bctx = bctxt; in pci_ahci_init()
2523 (void) blockif_set_wce(bctxt, 1); in pci_ahci_init()
H A Dpci_nvme.c3242 pci_nvme_resized(struct blockif_ctxt *bctxt __unused, void *arg, in pci_nvme_resized()