Searched refs:scbarray (Results 1 – 2 of 2) sorted by relevance
596 struct scb *scbarray; /* Array of kernel SCBs */ member
658 offset = scb - ahc->scb_data->scbarray; in ahc_get_sense_buf()667 offset = scb - ahc->scb_data->scbarray; in ahc_get_sense_bufaddr()4783 scb_data->scbarray = kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC); in ahc_init_scbdata()4784 if (scb_data->scbarray == NULL) in ahc_init_scbdata()4786 memset(scb_data->scbarray, 0, sizeof(struct scb) * AHC_SCB_MAX_ALLOC); in ahc_init_scbdata()4961 if (scb_data->scbarray != NULL) in ahc_fini_scbdata()4962 kfree(scb_data->scbarray); in ahc_fini_scbdata()4981 next_scb = &scb_data->scbarray[scb_data->numscbs]; in ahc_alloc_scbs()