Lines Matching refs:new_cep
642 struct erdma_cep *new_cep = NULL; in erdma_accept_newconn() local
648 new_cep = erdma_cep_alloc(cep->dev); in erdma_accept_newconn()
649 if (!new_cep) in erdma_accept_newconn()
657 if (erdma_cm_alloc_work(new_cep, 4) != 0) in erdma_accept_newconn()
664 new_cep->sk_state_change = cep->sk_state_change; in erdma_accept_newconn()
665 new_cep->sk_data_ready = cep->sk_data_ready; in erdma_accept_newconn()
666 new_cep->sk_error_report = cep->sk_error_report; in erdma_accept_newconn()
672 new_cep->sock = new_s; in erdma_accept_newconn()
673 erdma_cep_get(new_cep); in erdma_accept_newconn()
674 new_s->sk->sk_user_data = new_cep; in erdma_accept_newconn()
677 new_cep->state = ERDMA_EPSTATE_AWAIT_MPAREQ; in erdma_accept_newconn()
679 ret = erdma_cm_queue_work(new_cep, ERDMA_CM_WORK_MPATIMEOUT); in erdma_accept_newconn()
683 new_cep->listen_cep = cep; in erdma_accept_newconn()
688 erdma_cep_set_inuse(new_cep); in erdma_accept_newconn()
689 ret = erdma_proc_mpareq(new_cep); in erdma_accept_newconn()
692 new_cep->listen_cep = NULL; in erdma_accept_newconn()
694 erdma_cep_set_free(new_cep); in erdma_accept_newconn()
698 erdma_cep_set_free(new_cep); in erdma_accept_newconn()
703 if (new_cep) { in erdma_accept_newconn()
704 new_cep->state = ERDMA_EPSTATE_CLOSED; in erdma_accept_newconn()
705 erdma_cancel_mpatimer(new_cep); in erdma_accept_newconn()
707 erdma_cep_put(new_cep); in erdma_accept_newconn()
708 new_cep->sock = NULL; in erdma_accept_newconn()