Lines Matching refs:frag
250 skb_frag_t *frag; in tls_append_frag() local
252 frag = &record->frags[record->num_frags - 1]; in tls_append_frag()
253 if (skb_frag_page(frag) == pfrag->page && in tls_append_frag()
254 skb_frag_off(frag) + skb_frag_size(frag) == pfrag->offset) { in tls_append_frag()
255 skb_frag_size_add(frag, size); in tls_append_frag()
257 ++frag; in tls_append_frag()
258 __skb_frag_set_page(frag, pfrag->page); in tls_append_frag()
259 skb_frag_off_set(frag, pfrag->offset); in tls_append_frag()
260 skb_frag_size_set(frag, size); in tls_append_frag()
277 skb_frag_t *frag; in tls_push_record() local
290 frag = &record->frags[i]; in tls_push_record()
292 sg_set_page(&offload_ctx->sg_tx_data[i], skb_frag_page(frag), in tls_push_record()
293 skb_frag_size(frag), skb_frag_off(frag)); in tls_push_record()
294 sk_mem_charge(sk, skb_frag_size(frag)); in tls_push_record()
295 get_page(skb_frag_page(frag)); in tls_push_record()
340 skb_frag_t *frag; in tls_create_new_record() local
346 frag = &record->frags[0]; in tls_create_new_record()
347 __skb_frag_set_page(frag, pfrag->page); in tls_create_new_record()
348 skb_frag_off_set(frag, pfrag->offset); in tls_create_new_record()
349 skb_frag_size_set(frag, prepend_size); in tls_create_new_record()