Lines Matching defs:top
1377 struct mbuf *top, struct mbuf *control, int flags, struct thread *td)
1390 resid = top->m_pkthdr.len;
1462 top->m_flags |= M_EOR;
1469 top = m_uiotombuf(uio, M_WAITOK, space, max_hdr,
1471 if (top == NULL) {
1510 top, addr, control, td);
1518 top = NULL;
1520 if (top != NULL)
1521 m_freem(top);
1533 * by the mbuf chain "top" (which must be null if uio is not). Data provided
1542 struct mbuf *top, struct mbuf *control, int flags, struct thread *td)
1547 int atomic = sosendallatonce(so) || top;
1559 else if ((top->m_flags & M_PKTHDR) != 0)
1560 resid = top->m_pkthdr.len;
1562 resid = m_length(top, NULL);
1679 top->m_flags |= M_EOR;
1682 ktls_frame(top, tls, &tls_enq_cnt,
1698 top = m_uiotombuf(uio, M_WAITOK, space,
1702 if (top != NULL) {
1703 ktls_frame(top, tls,
1709 top = m_uiotombuf(uio, M_WAITOK, space,
1713 if (top == NULL) {
1756 pru_flag, top, addr, control, td);
1767 m_freem(top);
1768 top = NULL;
1771 ktls_enqueue(top, so, tls_enq_cnt);
1777 top = NULL;
1790 if (top != NULL)
1791 m_freem(top);
1799 struct mbuf *top, struct mbuf *control, int flags, struct thread *td)
1806 top, control, flags, td);
1808 m_freem(top);
3775 struct mbuf *top, struct mbuf *control, int flags, struct thread *td)