Lines Matching refs:stm
1120 struct strp_msg *stm; in kcm_recvmsg() local
1134 stm = strp_msg(skb); in kcm_recvmsg()
1136 if (len > stm->full_len) in kcm_recvmsg()
1137 len = stm->full_len; in kcm_recvmsg()
1139 err = skb_copy_datagram_msg(skb, stm->offset, msg, len); in kcm_recvmsg()
1146 if (copied < stm->full_len) { in kcm_recvmsg()
1152 stm->offset += copied; in kcm_recvmsg()
1153 stm->full_len -= copied; in kcm_recvmsg()
1177 struct strp_msg *stm; in kcm_splice_read() local
1194 stm = strp_msg(skb); in kcm_splice_read()
1196 if (len > stm->full_len) in kcm_splice_read()
1197 len = stm->full_len; in kcm_splice_read()
1199 copied = skb_splice_bits(skb, sk, stm->offset, pipe, len, flags); in kcm_splice_read()
1207 stm->offset += copied; in kcm_splice_read()
1208 stm->full_len -= copied; in kcm_splice_read()