Lines Matching refs:fi
25 static void l2m_debug(struct FsmInst *fi, char *fmt, ...);
499 establishlink(struct FsmInst *fi) in establishlink() argument
501 struct PStack *st = fi->userdata; in establishlink()
512 FsmChangeState(fi, ST_L2_5); in establishlink()
516 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument
519 struct PStack *st = fi->userdata; in l2_mdl_error_ua()
528 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() argument
531 struct PStack *st = fi->userdata; in l2_mdl_error_dm()
537 establishlink(fi); in l2_mdl_error_dm()
543 l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_st8_mdl_error_dm() argument
546 struct PStack *st = fi->userdata; in l2_st8_mdl_error_dm()
553 establishlink(fi); in l2_st8_mdl_error_dm()
558 l2_go_st3(struct FsmInst *fi, int event, void *arg) in l2_go_st3() argument
560 FsmChangeState(fi, ST_L2_3); in l2_go_st3()
564 l2_mdl_assign(struct FsmInst *fi, int event, void *arg) in l2_mdl_assign() argument
566 struct PStack *st = fi->userdata; in l2_mdl_assign()
568 FsmChangeState(fi, ST_L2_3); in l2_mdl_assign()
573 l2_queue_ui_assign(struct FsmInst *fi, int event, void *arg) in l2_queue_ui_assign() argument
575 struct PStack *st = fi->userdata; in l2_queue_ui_assign()
579 FsmChangeState(fi, ST_L2_2); in l2_queue_ui_assign()
584 l2_queue_ui(struct FsmInst *fi, int event, void *arg) in l2_queue_ui() argument
586 struct PStack *st = fi->userdata; in l2_queue_ui()
608 l2_send_ui(struct FsmInst *fi, int event, void *arg) in l2_send_ui() argument
610 struct PStack *st = fi->userdata; in l2_send_ui()
618 l2_got_ui(struct FsmInst *fi, int event, void *arg) in l2_got_ui() argument
620 struct PStack *st = fi->userdata; in l2_got_ui()
633 l2_establish(struct FsmInst *fi, int event, void *arg) in l2_establish() argument
635 struct PStack *st = fi->userdata; in l2_establish()
637 establishlink(fi); in l2_establish()
642 l2_discard_i_setl3(struct FsmInst *fi, int event, void *arg) in l2_discard_i_setl3() argument
644 struct PStack *st = fi->userdata; in l2_discard_i_setl3()
652 l2_l3_reestablish(struct FsmInst *fi, int event, void *arg) in l2_l3_reestablish() argument
654 struct PStack *st = fi->userdata; in l2_l3_reestablish()
657 establishlink(fi); in l2_l3_reestablish()
662 l2_release(struct FsmInst *fi, int event, void *arg) in l2_release() argument
664 struct PStack *st = fi->userdata; in l2_release()
670 l2_pend_rel(struct FsmInst *fi, int event, void *arg) in l2_pend_rel() argument
672 struct PStack *st = fi->userdata; in l2_pend_rel()
678 l2_disconnect(struct FsmInst *fi, int event, void *arg) in l2_disconnect() argument
680 struct PStack *st = fi->userdata; in l2_disconnect()
684 FsmChangeState(fi, ST_L2_6); in l2_disconnect()
692 l2_start_multi(struct FsmInst *fi, int event, void *arg) in l2_start_multi() argument
694 struct PStack *st = fi->userdata; in l2_start_multi()
704 FsmChangeState(fi, ST_L2_7); in l2_start_multi()
711 l2_send_UA(struct FsmInst *fi, int event, void *arg) in l2_send_UA() argument
713 struct PStack *st = fi->userdata; in l2_send_UA()
720 l2_send_DM(struct FsmInst *fi, int event, void *arg) in l2_send_DM() argument
722 struct PStack *st = fi->userdata; in l2_send_DM()
729 l2_restart_multi(struct FsmInst *fi, int event, void *arg) in l2_restart_multi() argument
731 struct PStack *st = fi->userdata; in l2_restart_multi()
735 state = fi->state; in l2_restart_multi()
751 FsmChangeState(fi, ST_L2_7); in l2_restart_multi()
764 l2_stop_multi(struct FsmInst *fi, int event, void *arg) in l2_stop_multi() argument
766 struct PStack *st = fi->userdata; in l2_stop_multi()
769 FsmChangeState(fi, ST_L2_4); in l2_stop_multi()
781 l2_connected(struct FsmInst *fi, int event, void *arg) in l2_connected() argument
783 struct PStack *st = fi->userdata; in l2_connected()
788 l2_mdl_error_ua(fi, event, arg); in l2_connected()
794 l2_disconnect(fi, event, arg); in l2_connected()
809 FsmChangeState(fi, ST_L2_7); in l2_connected()
820 l2_released(struct FsmInst *fi, int event, void *arg) in l2_released() argument
822 struct PStack *st = fi->userdata; in l2_released()
826 l2_mdl_error_ua(fi, event, arg); in l2_released()
833 FsmChangeState(fi, ST_L2_4); in l2_released()
837 l2_reestablish(struct FsmInst *fi, int event, void *arg) in l2_reestablish() argument
839 struct PStack *st = fi->userdata; in l2_reestablish()
843 establishlink(fi); in l2_reestablish()
849 l2_st5_dm_release(struct FsmInst *fi, int event, void *arg) in l2_st5_dm_release() argument
851 struct PStack *st = fi->userdata; in l2_st5_dm_release()
861 FsmChangeState(fi, ST_L2_4); in l2_st5_dm_release()
866 l2_st6_dm_release(struct FsmInst *fi, int event, void *arg) in l2_st6_dm_release() argument
868 struct PStack *st = fi->userdata; in l2_st6_dm_release()
874 FsmChangeState(fi, ST_L2_4); in l2_st6_dm_release()
924 nrerrorrecovery(struct FsmInst *fi) in nrerrorrecovery() argument
926 struct PStack *st = fi->userdata; in nrerrorrecovery()
929 establishlink(fi); in nrerrorrecovery()
965 l2_st7_got_super(struct FsmInst *fi, int event, void *arg) in l2_st7_got_super() argument
967 struct PStack *st = fi->userdata; in l2_st7_got_super()
1022 nrerrorrecovery(fi); in l2_st7_got_super()
1026 l2_feed_i_if_reest(struct FsmInst *fi, int event, void *arg) in l2_feed_i_if_reest() argument
1028 struct PStack *st = fi->userdata; in l2_feed_i_if_reest()
1040 l2_feed_i_pull(struct FsmInst *fi, int event, void *arg) in l2_feed_i_pull() argument
1042 struct PStack *st = fi->userdata; in l2_feed_i_pull()
1052 l2_feed_iqueue(struct FsmInst *fi, int event, void *arg) in l2_feed_iqueue() argument
1054 struct PStack *st = fi->userdata; in l2_feed_iqueue()
1063 l2_got_iframe(struct FsmInst *fi, int event, void *arg) in l2_got_iframe() argument
1065 struct PStack *st = fi->userdata; in l2_got_iframe()
1111 if (!test_bit(FLG_PEER_BUSY, &st->l2.flag) && (fi->state == ST_L2_7)) { in l2_got_iframe()
1121 nrerrorrecovery(fi); in l2_got_iframe()
1125 if (!skb_queue_empty(&st->l2.i_queue) && (fi->state == ST_L2_7)) in l2_got_iframe()
1132 l2_got_tei(struct FsmInst *fi, int event, void *arg) in l2_got_tei() argument
1134 struct PStack *st = fi->userdata; in l2_got_tei()
1138 if (fi->state == ST_L2_3) { in l2_got_tei()
1139 establishlink(fi); in l2_got_tei()
1142 FsmChangeState(fi, ST_L2_4); in l2_got_tei()
1148 l2_st5_tout_200(struct FsmInst *fi, int event, void *arg) in l2_st5_tout_200() argument
1150 struct PStack *st = fi->userdata; in l2_st5_tout_200()
1156 FsmChangeState(fi, ST_L2_4); in l2_st5_tout_200()
1172 l2_st6_tout_200(struct FsmInst *fi, int event, void *arg) in l2_st6_tout_200() argument
1174 struct PStack *st = fi->userdata; in l2_st6_tout_200()
1180 FsmChangeState(fi, ST_L2_4); in l2_st6_tout_200()
1193 l2_st7_tout_200(struct FsmInst *fi, int event, void *arg) in l2_st7_tout_200() argument
1195 struct PStack *st = fi->userdata; in l2_st7_tout_200()
1204 FsmChangeState(fi, ST_L2_8); in l2_st7_tout_200()
1211 l2_st8_tout_200(struct FsmInst *fi, int event, void *arg) in l2_st8_tout_200() argument
1213 struct PStack *st = fi->userdata; in l2_st8_tout_200()
1223 establishlink(fi); in l2_st8_tout_200()
1232 l2_st7_tout_203(struct FsmInst *fi, int event, void *arg) in l2_st7_tout_203() argument
1234 struct PStack *st = fi->userdata; in l2_st7_tout_203()
1241 FsmChangeState(fi, ST_L2_8); in l2_st7_tout_203()
1247 l2_pull_iqueue(struct FsmInst *fi, int event, void *arg) in l2_pull_iqueue() argument
1249 struct PStack *st = fi->userdata; in l2_pull_iqueue()
1306 l2_st8_got_super(struct FsmInst *fi, int event, void *arg) in l2_st8_got_super() argument
1308 struct PStack *st = fi->userdata; in l2_st8_got_super()
1346 FsmChangeState(fi, ST_L2_7); in l2_st8_got_super()
1350 nrerrorrecovery(fi); in l2_st8_got_super()
1357 nrerrorrecovery(fi); in l2_st8_got_super()
1362 l2_got_FRMR(struct FsmInst *fi, int event, void *arg) in l2_got_FRMR() argument
1364 struct PStack *st = fi->userdata; in l2_got_FRMR()
1370 (IsUA(skb->data) && (fi->state == ST_L2_7))) { in l2_got_FRMR()
1372 establishlink(fi); in l2_got_FRMR()
1379 l2_st24_tei_remove(struct FsmInst *fi, int event, void *arg) in l2_st24_tei_remove() argument
1381 struct PStack *st = fi->userdata; in l2_st24_tei_remove()
1385 FsmChangeState(fi, ST_L2_1); in l2_st24_tei_remove()
1389 l2_st3_tei_remove(struct FsmInst *fi, int event, void *arg) in l2_st3_tei_remove() argument
1391 struct PStack *st = fi->userdata; in l2_st3_tei_remove()
1396 FsmChangeState(fi, ST_L2_1); in l2_st3_tei_remove()
1400 l2_st5_tei_remove(struct FsmInst *fi, int event, void *arg) in l2_st5_tei_remove() argument
1402 struct PStack *st = fi->userdata; in l2_st5_tei_remove()
1410 FsmChangeState(fi, ST_L2_1); in l2_st5_tei_remove()
1414 l2_st6_tei_remove(struct FsmInst *fi, int event, void *arg) in l2_st6_tei_remove() argument
1416 struct PStack *st = fi->userdata; in l2_st6_tei_remove()
1422 FsmChangeState(fi, ST_L2_1); in l2_st6_tei_remove()
1426 l2_tei_remove(struct FsmInst *fi, int event, void *arg) in l2_tei_remove() argument
1428 struct PStack *st = fi->userdata; in l2_tei_remove()
1437 FsmChangeState(fi, ST_L2_1); in l2_tei_remove()
1441 l2_st14_persistent_da(struct FsmInst *fi, int event, void *arg) in l2_st14_persistent_da() argument
1443 struct PStack *st = fi->userdata; in l2_st14_persistent_da()
1452 l2_st5_persistent_da(struct FsmInst *fi, int event, void *arg) in l2_st5_persistent_da() argument
1454 struct PStack *st = fi->userdata; in l2_st5_persistent_da()
1461 FsmChangeState(fi, ST_L2_4); in l2_st5_persistent_da()
1465 l2_st6_persistent_da(struct FsmInst *fi, int event, void *arg) in l2_st6_persistent_da() argument
1467 struct PStack *st = fi->userdata; in l2_st6_persistent_da()
1472 FsmChangeState(fi, ST_L2_4); in l2_st6_persistent_da()
1476 l2_persistent_da(struct FsmInst *fi, int event, void *arg) in l2_persistent_da() argument
1478 struct PStack *st = fi->userdata; in l2_persistent_da()
1486 FsmChangeState(fi, ST_L2_4); in l2_persistent_da()
1490 l2_set_own_busy(struct FsmInst *fi, int event, void *arg) in l2_set_own_busy() argument
1492 struct PStack *st = fi->userdata; in l2_set_own_busy()
1501 l2_clear_own_busy(struct FsmInst *fi, int event, void *arg) in l2_clear_own_busy() argument
1503 struct PStack *st = fi->userdata; in l2_clear_own_busy()
1512 l2_frame_error(struct FsmInst *fi, int event, void *arg) in l2_frame_error() argument
1514 struct PStack *st = fi->userdata; in l2_frame_error()
1520 l2_frame_error_reest(struct FsmInst *fi, int event, void *arg) in l2_frame_error_reest() argument
1522 struct PStack *st = fi->userdata; in l2_frame_error_reest()
1525 establishlink(fi); in l2_frame_error_reest()
1760 l2m_debug(struct FsmInst *fi, char *fmt, ...) in l2m_debug() argument
1763 struct PStack *st = fi->userdata; in l2m_debug()