Lines Matching refs:max_dccbs
212 } else if (dpt->total_dccbs < dpt->max_dccbs) { in dptgetccb()
347 for (i = 0; dpt->total_dccbs < dpt->max_dccbs && i < newcount; i++) { in dptallocccbs()
1247 dpt->max_dccbs = ntohs(conf.queuesiz); in dpt_init()
1249 if (dpt->max_dccbs > 256) { in dpt_init()
1251 "256 due to tag algorithm\n", dpt->max_dccbs); in dpt_init()
1252 dpt->max_dccbs = 256; in dpt_init()
1301 /* maxsize */ (dpt->max_dccbs * in dpt_init()
1330 (dpt->max_dccbs * sizeof(struct dpt_ccb)) in dpt_init()
1336 (dpt->max_dccbs * sizeof(struct dpt_ccb)) + sizeof(dpt_sp_t)); in dpt_init()
1340 dpt->sp = (dpt_sp_t*)&dpt->dpt_dccbs[dpt->max_dccbs]; in dpt_init()
1342 + (dpt->max_dccbs * sizeof(dpt_ccb_t)); in dpt_init()
1377 printf("%d CCBs\n", dpt->max_dccbs); in dpt_init()
1395 devq = cam_simq_alloc(dpt->max_dccbs); in dpt_attach()
1407 /*tagged*/dpt->max_dccbs, devq); in dpt_attach()