Lines Matching defs:ms
3337 struct mbuf *ms = NULL, *me = NULL;
3361 ms = tulip_dequeue_mbuf(ri, eop, SYNC_RX);
3363 "tulip_rx_intr: single packet mbuf %p from descriptor %td", ms,
3365 me = ms;
3408 ms = tulip_dequeue_mbuf(ri, dip, SYNC_RX);
3410 "tulip_rx_intr: start packet mbuf %p from descriptor %td", ms,
3413 for (me = ms; total_len > 0; total_len--) {
3471 mtod(ms, u_char *) + 6, ":",
3494 KASSERT(ms != NULL, ("no packet to accept"));
3499 * reuse the same rx buffer ('ms') below for another packet
3502 m0 = m_devget(mtod(ms, caddr_t), total_len, ETHER_ALIGN, ifp, NULL);
3518 ms->m_pkthdr.len = total_len;
3519 ms->m_pkthdr.rcvif = ifp;
3520 m0 = ms;
3521 ms = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
3527 } else if (ms == NULL)
3532 ms = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
3537 if (ms == NULL) {
3557 M_ASSERTPKTHDR(ms);
3558 KASSERT(ms->m_data == ms->m_ext.ext_buf,
3560 ms->m_len = ms->m_pkthdr.len = TULIP_RX_BUFLEN;
3561 error = bus_dmamap_load_mbuf(ri->ri_data_tag, *nextout->di_map, ms,
3570 nextout->di_mbuf = ms;
3572 ms, nextout - ri->ri_first);
3577 me = ms->m_next;
3578 ms->m_next = NULL;
3579 } while ((ms = me) != NULL);