pci_vtscsi_softc
static void pci_vtscsi_tmf_handle(struct pci_vtscsi_softc *,
static void pci_vtscsi_an_handle(struct pci_vtscsi_softc *,
static void pci_vtscsi_control_handle(struct pci_vtscsi_softc *, void *,
struct pci_vtscsi_softc *);
static void pci_vtscsi_free_request(struct pci_vtscsi_softc *,
struct pci_vtscsi_softc *sc = arg;
struct pci_vtscsi_softc *sc = arg;
static void pci_vtscsi_queue_request(struct pci_vtscsi_softc *,
static int pci_vtscsi_request_handle(struct pci_vtscsi_softc *, int,
struct pci_vtscsi_softc *sc;
sc = calloc(1, sizeof(struct pci_vtscsi_softc));
static int pci_vtscsi_init_queue(struct pci_vtscsi_softc *,
struct pci_vtscsi_softc *sc = q->vsq_sc;
struct pci_vtscsi_softc *sc;
struct pci_vtscsi_softc *sc = vsc;
struct pci_vtscsi_softc *sc = vsc;
pci_vtscsi_tmf_handle(struct pci_vtscsi_softc *sc,
pci_vtscsi_an_handle(struct pci_vtscsi_softc *sc, struct pci_vtscsi_ctrl_an *an)
pci_vtscsi_control_handle(struct pci_vtscsi_softc *sc, void *buf,
pci_vtscsi_alloc_request(struct pci_vtscsi_softc *sc)
pci_vtscsi_free_request(struct pci_vtscsi_softc *sc,
pci_vtscsi_queue_request(struct pci_vtscsi_softc *sc, struct vqueue_info *vq)
struct pci_vtscsi_softc *sc = q->vsq_sc;
pci_vtscsi_request_handle(struct pci_vtscsi_softc *sc, int fd,
struct pci_vtscsi_softc *sc = vsc;
pci_vtscsi_init_queue(struct pci_vtscsi_softc *sc,
struct pci_vtscsi_softc *vsq_sc;
int (*vsb_init)(struct pci_vtscsi_softc *,
int (*vsb_open)(struct pci_vtscsi_softc *, const char *,
void (*vsb_reset)(struct pci_vtscsi_softc *);
void* (*vsb_req_alloc)(struct pci_vtscsi_softc *);
void (*vsb_tmf_hdl)(struct pci_vtscsi_softc *, int,
void (*vsb_an_hdl)(struct pci_vtscsi_softc *, int,
int (*vsb_req_hdl)(struct pci_vtscsi_softc *, int,
pci_vtscsi_check_lun(struct pci_vtscsi_softc *sc, const uint8_t *lun)
pci_vtscsi_get_target(struct pci_vtscsi_softc *sc, const uint8_t *lun)
pci_vtscsi_get_lun(struct pci_vtscsi_softc *sc, const uint8_t *lun)
vtscsi_ctl_init(struct pci_vtscsi_softc *sc, struct pci_vtscsi_backend *backend,
vtscsi_ctl_open(struct pci_vtscsi_softc *sc __unused, const char *devname,
vtscsi_ctl_reset(struct pci_vtscsi_softc *sc __unused)
static void *vtscsi_ctl_req_alloc(struct pci_vtscsi_softc *sc)
vtscsi_ctl_tmf_hdl(struct pci_vtscsi_softc *sc, int fd,
vtscsi_ctl_an_hdl(struct pci_vtscsi_softc *sc __unused, int fd __unused,
vtscsi_ctl_req_hdl(struct pci_vtscsi_softc *sc, int fd,
static int vtscsi_ctl_init(struct pci_vtscsi_softc *,
static int vtscsi_ctl_open(struct pci_vtscsi_softc *, const char *, long);
static void vtscsi_ctl_reset(struct pci_vtscsi_softc *);
static void *vtscsi_ctl_req_alloc(struct pci_vtscsi_softc *);
static void vtscsi_ctl_tmf_hdl(struct pci_vtscsi_softc *, int,
static void vtscsi_ctl_an_hdl(struct pci_vtscsi_softc *, int,
static int vtscsi_ctl_req_hdl(struct pci_vtscsi_softc *, int,
vtscsi_uscsi_open(struct pci_vtscsi_softc *sc, const char *path, long target)
vtscsi_uscsi_reset(struct pci_vtscsi_softc *sc)
vtscsi_uscsi_req_alloc(struct pci_vtscsi_softc *sc)
vtscsi_uscsi_tmf_hdl(struct pci_vtscsi_softc *sc __unused, int fd,
vtscsi_uscsi_an_hdl(struct pci_vtscsi_softc *sc __unused, int fd __unused,
vtscsi_uscsi_req_hdl(struct pci_vtscsi_softc *sc, int fd,
static int vtscsi_uscsi_init(struct pci_vtscsi_softc *,
static int vtscsi_uscsi_open(struct pci_vtscsi_softc *, const char *, long);
static void vtscsi_uscsi_reset(struct pci_vtscsi_softc *);
static void *vtscsi_uscsi_req_alloc(struct pci_vtscsi_softc *);
static void vtscsi_uscsi_tmf_hdl(struct pci_vtscsi_softc *, int,
static void vtscsi_uscsi_an_hdl(struct pci_vtscsi_softc *, int,
static int vtscsi_uscsi_req_hdl(struct pci_vtscsi_softc *, int,
vtscsi_uscsi_init(struct pci_vtscsi_softc *sc,