Lines Matching refs:m_cur
161 struct mbuf *m_cur = m; in tcp_pcap_copy_bestfit() local
186 m_cur = m; in tcp_pcap_copy_bestfit()
208 while (m_cur) { in tcp_pcap_copy_bestfit()
209 if ((caddr_t) th >= (caddr_t) m_cur->m_data && in tcp_pcap_copy_bestfit()
210 (caddr_t) th < (caddr_t) (m_cur->m_data + m_cur->m_len)) in tcp_pcap_copy_bestfit()
212 bytes_to_copy += m_cur->m_len; in tcp_pcap_copy_bestfit()
213 m_cur = m_cur->m_next; in tcp_pcap_copy_bestfit()
215 if (m_cur) in tcp_pcap_copy_bestfit()
216 bytes_to_copy += (caddr_t) th - (caddr_t) m_cur->m_data; in tcp_pcap_copy_bestfit()
246 trailing_data = m_cur->m_len - tcp_off; in tcp_pcap_copy_bestfit()
247 trailing_data -= (caddr_t) th - (caddr_t) m_cur->m_data; in tcp_pcap_copy_bestfit()
248 m_cur = m_cur->m_next; in tcp_pcap_copy_bestfit()
249 while (m_cur) { in tcp_pcap_copy_bestfit()
250 trailing_data += m_cur->m_len; in tcp_pcap_copy_bestfit()
251 m_cur = m_cur->m_next; in tcp_pcap_copy_bestfit()