Lines Matching full:stm

74 	skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset,  in tls_strp_msg_make_copy()
75 strp->stm.full_len); in tls_strp_msg_make_copy()
135 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow()
165 offset = strp->stm.offset; in tls_strp_msg_hold()
166 len = strp->stm.full_len; in tls_strp_msg_hold()
222 if (!strp->stm.full_len) { in tls_strp_copyin_frag()
254 strp->stm.full_len = sz; in tls_strp_copyin_frag()
255 if (!strp->stm.full_len) in tls_strp_copyin_frag()
260 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin_frag()
261 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin_frag()
289 if (strp->stm.full_len) in tls_strp_copyin_skb()
290 chunk = strp->stm.full_len - skb->len; in tls_strp_copyin_skb()
313 if (!strp->stm.full_len) { in tls_strp_copyin_skb()
330 strp->stm.full_len = sz; in tls_strp_copyin_skb()
361 if (strp->stm.full_len && strp->stm.full_len == skb->len) { in tls_strp_copyin()
402 need_spc = strp->stm.full_len ?: TLS_MAX_PAYLOAD_SIZE + PAGE_SIZE; in tls_strp_read_copy()
416 strp->stm.offset = 0; in tls_strp_read_copy()
429 unsigned int len = strp->stm.offset + strp->stm.full_len; in tls_strp_check_queue_ok()
474 strp->stm.offset = offset; in tls_strp_load_anchor_with_queue()
483 DEBUG_NET_WARN_ON_ONCE(!strp->stm.full_len); in tls_strp_msg_load()
486 if (WARN_ON(tcp_inq(strp->sk) < strp->stm.full_len)) in tls_strp_msg_load()
489 tls_strp_load_anchor_with_queue(strp, strp->stm.full_len); in tls_strp_msg_load()
493 rxm->full_len = strp->stm.full_len; in tls_strp_msg_load()
494 rxm->offset = strp->stm.offset; in tls_strp_msg_load()
511 if (inq < strp->stm.full_len) in tls_strp_read_sock()
514 if (!strp->stm.full_len) { in tls_strp_read_sock()
523 strp->stm.full_len = sz; in tls_strp_read_sock()
525 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
577 WARN_ON(!strp->stm.full_len); in tls_strp_msg_done()
580 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_done()
585 memset(&strp->stm, 0, sizeof(strp->stm)); in tls_strp_msg_done()