Lines Matching defs:fc_max_opens
46 static int fc_max_opens = 32; /* Up to this many simultaneous opens */
206 fc_max_opens * sizeof (struct fc_state), KM_SLEEP);
211 fc_max_opens * sizeof (struct fc_state));
238 kmem_free(fc_states, fc_max_opens * sizeof (struct fc_state));
267 while (fc_open_count >= fc_max_opens) {
282 for (m = 0, st = fc_states; m < fc_max_opens; m++, st++) {
292 ASSERT(m < fc_max_opens);
311 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
368 if (fc_open_count >= fc_max_opens) {
386 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
426 if (m >= fc_max_opens) {
502 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
574 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
627 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
784 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
836 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
899 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));