Lines Matching refs:offset

43 		  int offset, int len)  in tls_strp_skb_copy()  argument
56 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_skb_copy()
59 offset += skb_frag_size(frag); in tls_strp_skb_copy()
74 skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset, in tls_strp_msg_make_copy()
80 rxm->offset = 0; in tls_strp_msg_make_copy()
163 int chunk, len, offset; in tls_strp_msg_hold() local
165 offset = strp->stm.offset; in tls_strp_msg_hold()
170 if (iter->len <= offset) { in tls_strp_msg_hold()
171 offset -= iter->len; in tls_strp_msg_hold()
175 chunk = iter->len - offset; in tls_strp_msg_hold()
176 offset = 0; in tls_strp_msg_hold()
211 struct sk_buff *in_skb, unsigned int offset, in tls_strp_copyin_frag() argument
225 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin_frag()
252 offset += chunk; in tls_strp_copyin_frag()
263 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin_frag()
273 offset += chunk; in tls_strp_copyin_frag()
281 struct sk_buff *in_skb, unsigned int offset, in tls_strp_copyin_skb() argument
295 nskb = tls_strp_skb_copy(strp, in_skb, offset, chunk); in tls_strp_copyin_skb()
337 unsigned int offset, size_t in_len) in tls_strp_copyin() argument
353 ret = tls_strp_copyin_skb(strp, skb, in_skb, offset, in_len); in tls_strp_copyin()
355 ret = tls_strp_copyin_frag(strp, skb, in_skb, offset, in_len); in tls_strp_copyin()
417 strp->stm.offset = 0; in tls_strp_read_copy()
430 unsigned int len = strp->stm.offset + strp->stm.full_len; in tls_strp_check_queue_ok()
459 u32 offset; in tls_strp_load_anchor_with_queue() local
461 first = tcp_recv_skb(strp->sk, tp->copied_seq, &offset); in tls_strp_load_anchor_with_queue()
466 strp->anchor->len = offset + len; in tls_strp_load_anchor_with_queue()
467 strp->anchor->data_len = offset + len; in tls_strp_load_anchor_with_queue()
468 strp->anchor->truesize = offset + len; in tls_strp_load_anchor_with_queue()
475 strp->stm.offset = offset; in tls_strp_load_anchor_with_queue()
498 rxm->offset = strp->stm.offset; in tls_strp_msg_load()