Searched refs:sw_ctx_rx (Results 1 – 1 of 1) sorted by relevance
2637 struct tls_sw_context_rx *sw_ctx_rx; in init_ctx_rx() local2640 sw_ctx_rx = kzalloc(sizeof(*sw_ctx_rx), GFP_KERNEL); in init_ctx_rx()2641 if (!sw_ctx_rx) in init_ctx_rx()2644 sw_ctx_rx = ctx->priv_ctx_rx; in init_ctx_rx()2647 crypto_init_wait(&sw_ctx_rx->async_wait); in init_ctx_rx()2648 atomic_set(&sw_ctx_rx->decrypt_pending, 1); in init_ctx_rx()2649 init_waitqueue_head(&sw_ctx_rx->wq); in init_ctx_rx()2650 skb_queue_head_init(&sw_ctx_rx->rx_list); in init_ctx_rx()2651 skb_queue_head_init(&sw_ctx_rx->async_hold); in init_ctx_rx()2653 return sw_ctx_rx; in init_ctx_rx()[all …]