Lines Matching refs:tfb
498 struct tcp_function_block *tfb; in tcp_switch_back_to_default() local
513 tfb = find_and_ref_tcp_default_fb(); in tcp_switch_back_to_default()
514 if (tfb == tp->t_fb) { in tcp_switch_back_to_default()
515 refcount_release(&tfb->tfb_refcnt); in tcp_switch_back_to_default()
516 tfb = NULL; in tcp_switch_back_to_default()
519 if (tfb != NULL && (*tfb->tfb_tcp_handoff_ok)(tp)) { in tcp_switch_back_to_default()
520 refcount_release(&tfb->tfb_refcnt); in tcp_switch_back_to_default()
521 tfb = NULL; in tcp_switch_back_to_default()
524 if (tfb != NULL) { in tcp_switch_back_to_default()
526 if (tfb->tfb_tcp_fb_init == NULL || in tcp_switch_back_to_default()
527 (*tfb->tfb_tcp_fb_init)(tp, &ptr) == 0) { in tcp_switch_back_to_default()
533 tp->t_fb = tfb; in tcp_switch_back_to_default()
541 refcount_release(&tfb->tfb_refcnt); in tcp_switch_back_to_default()
548 tfb = find_and_ref_tcp_fb(&tcp_def_funcblk); in tcp_switch_back_to_default()
549 if (tfb == NULL) { in tcp_switch_back_to_default()
553 if ((*tfb->tfb_tcp_handoff_ok)(tp)) { in tcp_switch_back_to_default()
557 if (tfb->tfb_tcp_fb_init != NULL && in tcp_switch_back_to_default()
558 (*tfb->tfb_tcp_fb_init)(tp, &ptr)) { in tcp_switch_back_to_default()
567 tp->t_fb = tfb; in tcp_switch_back_to_default()