Lines Matching defs:next_scb
5822 struct scb *next_scb;
5947 next_scb = (struct scb *)malloc(sizeof(*next_scb),
5949 if (next_scb == NULL)
5952 next_scb->hscb_map = hscb_map;
5953 next_scb->sg_map = sg_map;
5954 next_scb->sense_map = sense_map;
5955 next_scb->sg_list = segs;
5956 next_scb->sense_data = sense_data;
5957 next_scb->sense_busaddr = sense_busaddr;
5959 next_scb->hscb = hscb;
5968 next_scb->sg_list_busaddr = sg_busaddr;
5970 next_scb->sg_list_busaddr
5973 next_scb->sg_list_busaddr += sizeof(struct ahd_dma_seg);
5974 next_scb->ahd_softc = ahd;
5975 next_scb->flags = SCB_FLAG_NONE;
5979 BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW, &next_scb->dmamap);
5982 free(next_scb, M_DEVBUF, 0);
5985 next_scb->hscb->tag = aic_htole16(scb_data->numscbs);
5986 ahd_scb_free(ahd, next_scb);