Searched refs:AHC_SCB_MAX_ALLOC (Results 1 – 2 of 2) sorted by relevance
4783 scb_data->scbarray = kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC); in ahc_init_scbdata()4786 memset(scb_data->scbarray, 0, sizeof(struct scb) * AHC_SCB_MAX_ALLOC); in ahc_init_scbdata()4812 AHC_SCB_MAX_ALLOC * sizeof(struct hardware_scb), in ahc_init_scbdata()4833 AHC_SCB_MAX_ALLOC * sizeof(struct hardware_scb), in ahc_init_scbdata()4844 AHC_SCB_MAX_ALLOC * sizeof(struct scsi_sense_data), in ahc_init_scbdata()4865 AHC_SCB_MAX_ALLOC * sizeof(struct scsi_sense_data), in ahc_init_scbdata()4886 AHC_SCB_MAX_ALLOC * sizeof(struct hardware_scb)); in ahc_init_scbdata()4977 if (scb_data->numscbs >= AHC_SCB_MAX_ALLOC) in ahc_alloc_scbs()5006 newcount = min(newcount, (AHC_SCB_MAX_ALLOC - scb_data->numscbs)); in ahc_alloc_scbs()5429 if (ahc->scb_data->maxhscbs < AHC_SCB_MAX_ALLOC) { in ahc_init()
162 #define AHC_SCB_MAX_ALLOC (AHC_MAX_QUEUE+1) macro