Lines Matching full:stm
44 skb = alloc_skb_with_frags(0, strp->stm.full_len, TLS_PAGE_ORDER, in tls_strp_msg_make_copy()
49 offset = strp->stm.offset; in tls_strp_msg_make_copy()
116 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow()
146 offset = strp->stm.offset; in tls_strp_msg_hold()
147 len = strp->stm.full_len; in tls_strp_msg_hold()
203 if (!strp->stm.full_len) { in tls_strp_copyin()
228 strp->stm.full_len = sz; in tls_strp_copyin()
229 if (!strp->stm.full_len) in tls_strp_copyin()
234 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin()
235 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin()
250 if (strp->stm.full_len == skb->len) { in tls_strp_copyin()
293 need_spc = strp->stm.full_len ?: TLS_MAX_PAYLOAD_SIZE + PAGE_SIZE; in tls_strp_read_copy()
307 strp->stm.offset = 0; in tls_strp_read_copy()
320 unsigned int len = strp->stm.offset + strp->stm.full_len; in tls_strp_check_no_dup()
359 strp->stm.offset = offset; in tls_strp_load_anchor_with_queue()
368 DEBUG_NET_WARN_ON_ONCE(!strp->stm.full_len); in tls_strp_msg_load()
371 if (WARN_ON(tcp_inq(strp->sk) < strp->stm.full_len)) in tls_strp_msg_load()
374 tls_strp_load_anchor_with_queue(strp, strp->stm.full_len); in tls_strp_msg_load()
378 rxm->full_len = strp->stm.full_len; in tls_strp_msg_load()
379 rxm->offset = strp->stm.offset; in tls_strp_msg_load()
396 if (inq < strp->stm.full_len) in tls_strp_read_sock()
399 if (!strp->stm.full_len) { in tls_strp_read_sock()
408 strp->stm.full_len = sz; in tls_strp_read_sock()
410 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
462 WARN_ON(!strp->stm.full_len); in tls_strp_msg_done()
465 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_done()
470 memset(&strp->stm, 0, sizeof(strp->stm)); in tls_strp_msg_done()