Lines Matching refs:prepend_size
350 size_t prepend_size) in tls_create_new_record() argument
362 skb_frag_size_set(frag, prepend_size); in tls_create_new_record()
365 pfrag->offset += prepend_size; in tls_create_new_record()
368 record->len = prepend_size; in tls_create_new_record()
376 size_t prepend_size) in tls_do_allocation() argument
381 if (unlikely(!skb_page_frag_refill(prepend_size, pfrag, in tls_do_allocation()
388 ret = tls_create_new_record(offload_ctx, pfrag, prepend_size); in tls_do_allocation()
474 prot->prepend_size; in tls_push_data()
476 rc = tls_do_allocation(sk, ctx, pfrag, prot->prepend_size); in tls_push_data()
494 } else if (record->len > prot->prepend_size) { in tls_push_data()
1136 prot->prepend_size = TLS_HEADER_SIZE + cipher_sz->iv; in tls_set_device_offload()
1138 prot->overhead_size = prot->prepend_size + prot->tag_size; in tls_set_device_offload()