Lines Matching defs:fc_max_opens
45 static int fc_max_opens = 32; /* Up to this many simultaneous opens */
209 fc_max_opens * sizeof (struct fc_state), KM_SLEEP);
214 fc_max_opens * sizeof (struct fc_state));
241 kmem_free(fc_states, fc_max_opens * sizeof (struct fc_state));
270 while (fc_open_count >= fc_max_opens) {
285 for (m = 0, st = fc_states; m < fc_max_opens; m++, st++) {
295 ASSERT(m < fc_max_opens);
314 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
371 if (fc_open_count >= fc_max_opens) {
389 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
429 if (m >= fc_max_opens) {
505 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
577 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
630 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
787 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
839 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));
902 ASSERT(m < fc_max_opens && FC_STATE_ACTIVE(st->state));