Lines Matching refs:blockif_ctxt
61 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);
76 int blockif_is_ro(struct blockif_ctxt *bc);
77 int blockif_candelete(struct blockif_ctxt *bc);
79 int blockif_set_wce(struct blockif_ctxt *bc, int enable);
81 int blockif_read(struct blockif_ctxt *bc, struct blockif_req *breq);
82 int blockif_write(struct blockif_ctxt *bc, struct blockif_req *breq);
83 int blockif_flush(struct blockif_ctxt *bc, struct blockif_req *breq);
84 int blockif_delete(struct blockif_ctxt *bc, struct blockif_req *breq);
85 int blockif_cancel(struct blockif_ctxt *bc, struct blockif_req *breq);
86 int blockif_close(struct blockif_ctxt *bc);