Home
last modified time | relevance | path

Searched refs:blockif_ctxt (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dblock_if.h61 struct blockif_ctxt;
63 typedef void blockif_resize_cb(struct blockif_ctxt *, void *, size_t);
66 int blockif_add_boot_device(struct pci_devinst *const pi, struct blockif_ctxt *const bc);
67 struct blockif_ctxt *blockif_open(nvlist_t *nvl, const char *ident);
68 int blockif_register_resize_callback(struct blockif_ctxt *bc,
70 off_t blockif_size(struct blockif_ctxt *bc);
71 void blockif_chs(struct blockif_ctxt *bc, uint16_t *c, uint8_t *h,
73 int blockif_sectsz(struct blockif_ctxt *bc);
74 void blockif_psectsz(struct blockif_ctxt *bc, int *size, int *off);
75 int blockif_queuesz(struct blockif_ctxt *bc);
[all …]
H A Dblock_if.c119 struct blockif_ctxt { struct
161 blockif_enqueue(struct blockif_ctxt *bc, struct blockif_req *breq, in blockif_enqueue() argument
208 blockif_dequeue(struct blockif_ctxt *bc, pthread_t t, struct blockif_elem **bep) in blockif_dequeue()
228 blockif_complete(struct blockif_ctxt *bc, struct blockif_elem *be) in blockif_complete()
247 blockif_flush_bc(struct blockif_ctxt *bc) in blockif_flush_bc()
270 blockif_proc(struct blockif_ctxt *bc, struct blockif_elem *be, uint8_t *buf) in blockif_proc()
443 blockif_empty(const struct blockif_ctxt *bc) in blockif_empty()
451 struct blockif_ctxt *bc; in blockif_thr()
548 struct blockif_ctxt *const bc) in blockif_add_boot_device()
556 struct blockif_ctxt *
[all …]
H A Dpci_virtio_block.c201 struct blockif_ctxt *bc;
417 pci_vtblk_resized(struct blockif_ctxt *bctxt __unused, void *arg, in pci_vtblk_resized()
433 struct blockif_ctxt *bctxt; in pci_vtblk_init()
H A Dpci_ahci.c134 struct blockif_ctxt *bctx;
2415 struct blockif_ctxt *bctxt; in pci_ahci_init()
H A Dpci_nvme.c3242 pci_nvme_resized(struct blockif_ctxt *bctxt __unused, void *arg, in pci_nvme_resized()