Home
last modified time | relevance | path

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

/dragonfly/sys/dev/virtual/vmware/pvscsi/
HDpvscsi.c101 struct pvscsi_hcb *hcb);
105 static void pvscsi_hcb_put(struct pvscsi_softc *sc, struct pvscsi_hcb *hcb);
348 struct pvscsi_hcb *hcb) in pvscsi_hcb_to_context() argument
352 return (hcb - sc->hcbs + 1); in pvscsi_hcb_to_context()
365 struct pvscsi_hcb *hcb; in pvscsi_hcb_get() local
369 hcb = SLIST_FIRST(&sc->free_list); in pvscsi_hcb_get()
370 if (hcb) { in pvscsi_hcb_get()
374 return (hcb); in pvscsi_hcb_get()
378 pvscsi_hcb_put(struct pvscsi_softc *sc, struct pvscsi_hcb *hcb) in pvscsi_hcb_put() argument
382 hcb->ccb = NULL; in pvscsi_hcb_put()
[all …]
/dragonfly/sys/dev/disk/nata/
HDatapi-cam.c117 static void free_hcb(struct atapi_hcb *hcb);
349 struct atapi_hcb *hcb = NULL; in atapi_action() local
536 if ((hcb = allocate_hcb(softc, unit, bus, ccb)) == NULL) { in atapi_action()
552 kprintf("atapi_action: hcb@%p: %s\n", hcb, in atapi_action()
604 if ((buf = hcb->dxfer_alloc in atapi_action()
619 request->driver = hcb; in atapi_action()
634 TAILQ_INSERT_TAIL(&softc->pending_hcbs, hcb, chain); in atapi_action()
635 hcb->flags |= QUEUED; in atapi_action()
654 if (hcb != NULL) in atapi_action()
655 free_hcb(hcb); in atapi_action()
[all …]