Lines Matching refs:ISDN_MAX_CHANNELS
77 static struct ippp_struct *ippp_table[ISDN_MAX_CHANNELS];
112 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_free()
129 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_free()
165 char exclusive[ISDN_MAX_CHANNELS]; /* exclusive flags */ in isdn_ppp_bind()
166 memset(exclusive, 0, ISDN_MAX_CHANNELS); in isdn_ppp_bind()
176 for (i = 0; i < ISDN_MAX_CHANNELS; i++) { in isdn_ppp_bind()
182 for (i = 0; i < ISDN_MAX_CHANNELS; i++) { in isdn_ppp_bind()
189 if (i >= ISDN_MAX_CHANNELS) { in isdn_ppp_bind()
228 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_wakeup_daemon()
247 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_closewait()
267 for (i = 0; i < ISDN_MAX_CHANNELS; i++) { in isdn_ppp_get_slot()
284 if (min < 0 || min >= ISDN_MAX_CHANNELS) in isdn_ppp_open()
348 if (min < 0 || min >= ISDN_MAX_CHANNELS) in isdn_ppp_release()
740 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_fill_rq()
918 for (i = 0; i < ISDN_MAX_CHANNELS; i++) { in isdn_ppp_init()
945 for (i = 0; i < ISDN_MAX_CHANNELS; i++) in isdn_ppp_cleanup()
1017 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive()
1072 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_push_higher()
1082 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_push_higher()
1266 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_xmit()
1304 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_xmit()
1568 int sz = ISDN_MAX_CHANNELS * sizeof(ippp_bundle); in isdn_ppp_mp_bundle_array_init()
1571 for (i = 0; i < ISDN_MAX_CHANNELS; i++) in isdn_ppp_mp_bundle_array_init()
1579 for (i = 0; i < ISDN_MAX_CHANNELS; i++) in isdn_ppp_mp_bundle_alloc()
1640 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_receive()
1677 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_receive()
1911 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_reassembly()
1990 if (nlp->ppp_slot < 0 || nlp->ppp_slot >= ISDN_MAX_CHANNELS || in isdn_ppp_bundle()
1991 lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_bundle()
1993 nlp->ppp_slot < 0 || nlp->ppp_slot >= ISDN_MAX_CHANNELS ? in isdn_ppp_bundle()
2685 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive_ccp()
2695 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive_ccp()
2859 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_send_ccp()
2882 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_send_ccp()