/src/sys/dev/pci/ |
if_ipw.c | 1010 struct mbuf *mnew, *m; local in function:ipw_data_intr 1028 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 1029 if (mnew == NULL) { 1035 MCLGET(mnew, M_DONTWAIT); 1036 if (!(mnew->m_flags & M_EXT)) { 1038 m_freem(mnew); 1043 mnew->m_pkthdr.len = mnew->m_len = mnew->m_ext.ext_size; 1049 error = bus_dmamap_load_mbuf(sc->sc_dmat, sbuf->map, mnew, 1356 struct mbuf *mnew; local in function:ipw_tx_start [all...] |
if_age.c | 1237 struct mbuf *mnew = m_defrag(m, M_NOWAIT); local in function:age_encap 1238 if (mnew != NULL) { 1239 KASSERT(m == mnew); 1240 error = bus_dmamap_load_mbuf(sc->sc_dmat, map, mnew,
|
if_ale.c | 929 struct mbuf *mnew = m_defrag(m, M_NOWAIT); local in function:ale_encap 930 if (mnew != NULL) { 931 KASSERT(m == mnew); 932 error = bus_dmamap_load_mbuf(sc->sc_dmat, map, mnew,
|
if_nfe.c | 806 struct mbuf *m, *mnew; local in function:nfe_rxeof 865 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 866 if (mnew == NULL) { 876 m_freem(mnew); 880 MCLGET(mnew, M_DONTWAIT); 881 if ((mnew->m_flags & M_EXT) == 0) { 882 m_freem(mnew); 887 (void)memcpy(mtod(mnew, void *), 889 m = mnew; 892 MEXTADD(mnew, jbuf->buf, NFE_JBYTES, 0, nfe_jfree, sc) [all...] |
if_txp.c | 1450 struct mbuf *m, *mnew; local in function:txp_start 1470 mnew = NULL; 1482 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 1483 if (mnew == NULL) { 1488 MCLAIM(mnew, &sc->sc_arpcom.ec_tx_mowner); 1490 MCLGET(mnew, M_DONTWAIT); 1491 if ((mnew->m_flags & M_EXT) == 0) { 1495 m_freem(mnew); 1499 m_copydata(m, 0, m->m_pkthdr.len, mtod(mnew, void *)); 1500 mnew->m_pkthdr.len = mnew->m_len = m->m_pkthdr.len [all...] |
if_iwi.c | 1609 struct mbuf *mnew; local in function:iwi_tx_start 1676 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 1677 if (mnew == NULL) { 1682 m_copy_pkthdr(mnew, m0); 1686 MCLGET(mnew, M_DONTWAIT); 1687 if (!(mnew->m_flags & M_EXT)) { 1689 m_freem(mnew); 1693 m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, void *)); 1695 mnew->m_len = mnew->m_pkthdr.len [all...] |
if_wpi.c | 1489 struct mbuf *m, *mnew; local in function:wpi_rx_intr 1524 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 1525 if (mnew == NULL) { 1532 m_freem(mnew); 1538 MEXTADD(mnew, rbuf->vaddr, WPI_RBUF_SIZE, 0, wpi_free_rbuf, 1540 mnew->m_flags |= M_EXT_RW; 1545 mtod(mnew, void *), WPI_RBUF_SIZE, NULL, 1550 m_freem(mnew); 1564 data->m = mnew; 1910 struct mbuf *mnew; local in function:wpi_tx_data [all...] |
/src/sys/dev/ic/ |
dwc_gmac.c | 1255 struct mbuf *m, *mnew; local in function:dwc_gmac_rx_intr 1296 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 1297 if (mnew == NULL) { 1301 MCLGET(mnew, M_DONTWAIT); 1302 if ((mnew->m_flags & M_EXT) == 0) { 1303 m_freem(mnew); 1307 mnew->m_len = mnew->m_pkthdr.len = mnew->m_ext.ext_size; 1308 m_adj(mnew, ETHER_ALIGN) [all...] |
rt2661.c | 1025 struct mbuf *mnew, *m; local in function:rt2661_rx_intr 1063 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 1064 if (mnew == NULL) { 1069 MCLGET(mnew, M_DONTWAIT); 1070 if (!(mnew->m_flags & M_EXT)) { 1071 m_freem(mnew); 1081 mtod(mnew, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); 1083 m_freem(mnew); 1105 data->m = mnew; 1617 struct mbuf *mnew; local in function:rt2661_tx_data [all...] |
rt2560.c | 1238 struct mbuf *mnew, *m; local in function:rt2560_decryption_intr 1275 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 1276 if (mnew == NULL) { 1281 MCLGET(mnew, M_DONTWAIT); 1282 if (!(mnew->m_flags & M_EXT)) { 1283 m_freem(mnew); 1293 mtod(mnew, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT); 1295 m_freem(mnew); 1317 data->m = mnew; 1887 struct mbuf *mnew; local in function:rt2560_tx_data [all...] |
malo.c | 1399 struct mbuf *mnew; local in function:malo_tx_data 1450 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 1451 if (mnew == NULL) 1453 MCLGET(mnew, M_DONTWAIT); 1454 if (!(mnew->m_flags & M_EXT)) { 1455 m_free(mnew); 1459 *mtod(mnew, uint16_t *) = htole16(m0->m_pkthdr.len - 24); /* FW len */ 1460 memmove(mtod(mnew, char*) + 2, wh, sizeof(*wh)); 1461 memset(mtod(mnew, char*) + 26, 0, 6); 1463 mtod(mnew, char*) + 32) 1521 struct mbuf *mnew, *m; local in function:malo_rx_intr [all...] |
/src/sys/dev/usb/ |
if_rum.c | 812 struct mbuf *mnew, *m; local in function:rum_rxeof 846 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 847 if (mnew == NULL) { 854 MCLGET(mnew, M_DONTWAIT); 855 if (!(mnew->m_flags & M_EXT)) { 858 m_freem(mnew); 864 data->m = mnew;
|
if_ural.c | 904 struct mbuf *mnew, *m; local in function:ural_rxeof 939 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 940 if (mnew == NULL) { 945 MCLGET(mnew, M_DONTWAIT); 946 if (!(mnew->m_flags & M_EXT)) { 948 m_freem(mnew); 953 data->m = mnew;
|
if_urtw.c | 3061 struct mbuf *m, *mnew; local in function:urtw_rxeof 3113 MGETHDR(mnew, M_DONTWAIT, MT_DATA); 3114 if (mnew == NULL) { 3120 MCLGET(mnew, M_DONTWAIT); 3121 if (!(mnew->m_flags & M_EXT)) { 3124 m_freem(mnew); 3130 data->m = mnew; 3131 data->buf = mtod(mnew, uint8_t *);
|