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()
908 for (i = 0; i < ISDN_MAX_CHANNELS; i++) { in isdn_ppp_init()
935 for (i = 0; i < ISDN_MAX_CHANNELS; i++) in isdn_ppp_cleanup()
1007 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive()
1062 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_push_higher()
1072 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_push_higher()
1256 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_xmit()
1294 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_xmit()
1558 int sz = ISDN_MAX_CHANNELS * sizeof(ippp_bundle); in isdn_ppp_mp_bundle_array_init()
1561 for (i = 0; i < ISDN_MAX_CHANNELS; i++) in isdn_ppp_mp_bundle_array_init()
1569 for (i = 0; i < ISDN_MAX_CHANNELS; i++) in isdn_ppp_mp_bundle_alloc()
1630 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_receive()
1667 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_receive()
1901 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_reassembly()
1980 if (nlp->ppp_slot < 0 || nlp->ppp_slot >= ISDN_MAX_CHANNELS || in isdn_ppp_bundle()
1981 lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_bundle()
1983 nlp->ppp_slot < 0 || nlp->ppp_slot >= ISDN_MAX_CHANNELS ? in isdn_ppp_bundle()
2681 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive_ccp()
2691 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive_ccp()
2855 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_send_ccp()
2878 if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_send_ccp()