Lines Matching refs:next_scb

6642 		struct scb *next_scb;  in ahd_rem_col_list()  local
6649 next_scb = LIST_NEXT(scb, collision_links); in ahd_rem_col_list()
6650 if (next_scb != NULL) { in ahd_rem_col_list()
6652 next_scb, links.tqe); in ahd_rem_col_list()
6754 struct scb *next_scb; in ahd_alloc_scbs() local
6885 next_scb = kmalloc(sizeof(*next_scb), GFP_ATOMIC); in ahd_alloc_scbs()
6886 if (next_scb == NULL) in ahd_alloc_scbs()
6891 kfree(next_scb); in ahd_alloc_scbs()
6894 next_scb->platform_data = pdata; in ahd_alloc_scbs()
6895 next_scb->hscb_map = hscb_map; in ahd_alloc_scbs()
6896 next_scb->sg_map = sg_map; in ahd_alloc_scbs()
6897 next_scb->sense_map = sense_map; in ahd_alloc_scbs()
6898 next_scb->sg_list = segs; in ahd_alloc_scbs()
6899 next_scb->sense_data = sense_data; in ahd_alloc_scbs()
6900 next_scb->sense_busaddr = sense_busaddr; in ahd_alloc_scbs()
6902 next_scb->hscb = hscb; in ahd_alloc_scbs()
6909 next_scb->sg_list_busaddr = sg_busaddr; in ahd_alloc_scbs()
6911 next_scb->sg_list_busaddr in ahd_alloc_scbs()
6914 next_scb->sg_list_busaddr += sizeof(struct ahd_dma_seg); in ahd_alloc_scbs()
6915 next_scb->ahd_softc = ahd; in ahd_alloc_scbs()
6916 next_scb->flags = SCB_FLAG_NONE; in ahd_alloc_scbs()
6917 next_scb->hscb->tag = ahd_htole16(scb_data->numscbs); in ahd_alloc_scbs()
6919 next_scb->col_scb = ahd_find_scb_by_tag(ahd, col_tag); in ahd_alloc_scbs()
6920 if (next_scb->col_scb != NULL) in ahd_alloc_scbs()
6921 next_scb->col_scb->col_scb = next_scb; in ahd_alloc_scbs()
6922 ahd_free_scb(ahd, next_scb); in ahd_alloc_scbs()