Lines Matching refs:listen_ctx

616 	__skb_unlink((struct sk_buff *)&csk->synq, &csk->listen_ctx->synq);  in cleanup_syn_rcv_conn()
621 static void chtls_reset_synq(struct listen_ctx *listen_ctx) in chtls_reset_synq() argument
623 struct sock *listen_sk = listen_ctx->lsk; in chtls_reset_synq()
625 while (!skb_queue_empty(&listen_ctx->synq)) { in chtls_reset_synq()
628 (&listen_ctx->synq), struct chtls_sock, synq); in chtls_reset_synq()
649 struct listen_ctx *ctx; in chtls_listen_start()
732 struct listen_ctx *listen_ctx; in chtls_listen_stop() local
739 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_listen_stop()
740 chtls_reset_synq(listen_ctx); in chtls_listen_stop()
764 struct listen_ctx *listen_ctx; in chtls_pass_open_rpl() local
766 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_pass_open_rpl()
767 if (!listen_ctx) in chtls_pass_open_rpl()
770 if (listen_ctx->state == T4_LISTEN_START_PENDING) { in chtls_pass_open_rpl()
771 listen_ctx->state = T4_LISTEN_STARTED; in chtls_pass_open_rpl()
779 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_pass_open_rpl()
780 sock_put(listen_ctx->lsk); in chtls_pass_open_rpl()
781 kfree(listen_ctx); in chtls_pass_open_rpl()
790 struct listen_ctx *listen_ctx; in chtls_close_listsrv_rpl() local
796 listen_ctx = (struct listen_ctx *)data; in chtls_close_listsrv_rpl()
802 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_close_listsrv_rpl()
803 sock_put(listen_ctx->lsk); in chtls_close_listsrv_rpl()
804 kfree(listen_ctx); in chtls_close_listsrv_rpl()
920 parent = ((struct listen_ctx *)data)->lsk; in chtls_pass_open_arp_failure()
1292 struct listen_ctx *listen_ctx; in chtls_pass_accept_request() local
1410 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_pass_accept_request()
1411 csk->listen_ctx = listen_ctx; in chtls_pass_accept_request()
1412 __skb_queue_tail(&listen_ctx->synq, (struct sk_buff *)&csk->synq); in chtls_pass_accept_request()
1429 struct listen_ctx *ctx; in chtls_pass_accept_req()
1442 ctx = (struct listen_ctx *)data; in chtls_pass_accept_req()
1550 __skb_unlink((struct sk_buff *)&csk->synq, &csk->listen_ctx->synq); in add_pass_open_to_parent()
1606 lsk = ((struct listen_ctx *)data)->lsk; in chtls_pass_establish()
1609 if (unlikely(skb_queue_empty(&csk->listen_ctx->synq))) { in chtls_pass_establish()
2072 struct listen_ctx *listen_ctx; in abort_syn_rcv() local
2089 listen_ctx = (struct listen_ctx *)ctx; in abort_syn_rcv()
2090 psk = listen_ctx->lsk; in abort_syn_rcv()