Lines Matching full:stm
73 skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset, in tls_strp_msg_make_copy()
74 strp->stm.full_len); in tls_strp_msg_make_copy()
134 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow()
164 offset = strp->stm.offset; in tls_strp_msg_hold()
165 len = strp->stm.full_len; in tls_strp_msg_hold()
221 if (!strp->stm.full_len) { in tls_strp_copyin_frag()
253 strp->stm.full_len = sz; in tls_strp_copyin_frag()
254 if (!strp->stm.full_len) in tls_strp_copyin_frag()
259 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin_frag()
260 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin_frag()
288 if (strp->stm.full_len) in tls_strp_copyin_skb()
289 chunk = strp->stm.full_len - skb->len; in tls_strp_copyin_skb()
312 if (!strp->stm.full_len) { in tls_strp_copyin_skb()
329 strp->stm.full_len = sz; in tls_strp_copyin_skb()
360 if (strp->stm.full_len && strp->stm.full_len == skb->len) { in tls_strp_copyin()
401 need_spc = strp->stm.full_len ?: TLS_MAX_PAYLOAD_SIZE + PAGE_SIZE; in tls_strp_read_copy()
415 strp->stm.offset = 0; in tls_strp_read_copy()
428 unsigned int len = strp->stm.offset + strp->stm.full_len; in tls_strp_check_queue_ok()
473 strp->stm.offset = offset; in tls_strp_load_anchor_with_queue()
482 DEBUG_NET_WARN_ON_ONCE(!strp->stm.full_len); in tls_strp_msg_load()
485 if (WARN_ON(tcp_inq(strp->sk) < strp->stm.full_len)) in tls_strp_msg_load()
488 tls_strp_load_anchor_with_queue(strp, strp->stm.full_len); in tls_strp_msg_load()
492 rxm->full_len = strp->stm.full_len; in tls_strp_msg_load()
493 rxm->offset = strp->stm.offset; in tls_strp_msg_load()
510 if (inq < strp->stm.full_len) in tls_strp_read_sock()
513 if (!strp->stm.full_len) { in tls_strp_read_sock()
522 strp->stm.full_len = sz; in tls_strp_read_sock()
524 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
576 WARN_ON(!strp->stm.full_len); in tls_strp_msg_done()
579 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_done()
584 memset(&strp->stm, 0, sizeof(strp->stm)); in tls_strp_msg_done()