Searched refs:AHC_SCB_MAX_ALLOC (Results 1 – 2 of 2) sorted by relevance
4270 (struct scb *)malloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, in ahc_init_scbdata()4274 memset(scb_data->scbarray, 0, sizeof(struct scb) * AHC_SCB_MAX_ALLOC); in ahc_init_scbdata()4300 AHC_SCB_MAX_ALLOC * sizeof(struct hardware_scb), in ahc_init_scbdata()4321 AHC_SCB_MAX_ALLOC * sizeof(struct hardware_scb), in ahc_init_scbdata()4332 AHC_SCB_MAX_ALLOC * sizeof(struct scsi_sense_data), in ahc_init_scbdata()4353 AHC_SCB_MAX_ALLOC * sizeof(struct scsi_sense_data), in ahc_init_scbdata()4374 AHC_SCB_MAX_ALLOC * sizeof(struct hardware_scb)); in ahc_init_scbdata()4465 if (scb_data->numscbs >= AHC_SCB_MAX_ALLOC) in ahc_alloc_scbs()4494 newcount = MIN(newcount, (AHC_SCB_MAX_ALLOC - scb_data->numscbs)); in ahc_alloc_scbs()4918 if (ahc->scb_data->maxhscbs < AHC_SCB_MAX_ALLOC) { in ahc_init()
172 #define AHC_SCB_MAX_ALLOC (AHC_MAX_QUEUE+1) macro