Lines Matching defs:context
599 struct tls_record_info *tls_get_record(struct tls_offload_context_tx *context,
602 u64 record_sn = context->hint_record_sn;
605 info = context->retransmit_hint;
611 info = list_first_entry_or_null(&context->records_list,
626 last = list_last_entry(&context->records_list,
633 record_sn = context->unacked_record_sn;
638 list_for_each_entry_from_rcu(info, &context->records_list, list) {
640 if (!context->retransmit_hint ||
642 context->retransmit_hint->end_seq)) {
643 context->hint_record_sn = record_sn;
644 context->retransmit_hint = info;
1162 * will return true and the context might be accessed
1192 struct tls_offload_context_rx *context;
1224 context = kzalloc(TLS_OFFLOAD_CONTEXT_SIZE_RX, GFP_KERNEL);
1225 if (!context) {
1229 context->resync_nh_reset = 1;
1231 ctx->priv_ctx_rx = context;
1328 /* Release the offload context on the driver side. */
1339 /* Move the context to a separate list for two reasons:
1340 * 1. When the context is deallocated, list_del is called.
1341 * 2. It's no longer an offloaded context, so we don't want to
1342 * run offload-specific code on this context.