mnew 2211 dev/ic/acx.c struct mbuf *mnew;
mnew 2215 dev/ic/acx.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 2216 dev/ic/acx.c if (mnew == NULL) {
mnew 2223 dev/ic/acx.c M_DUP_PKTHDR(mnew, m);
mnew 2225 dev/ic/acx.c MCLGET(mnew, M_DONTWAIT);
mnew 2226 dev/ic/acx.c if (!(mnew->m_flags & M_EXT)) {
mnew 2228 dev/ic/acx.c m_freem(mnew);
mnew 2238 dev/ic/acx.c m_copydata(m, 0, m->m_pkthdr.len, mtod(mnew, caddr_t));
mnew 2240 dev/ic/acx.c mnew->m_len = mnew->m_pkthdr.len;
mnew 2241 dev/ic/acx.c m = mnew;
mnew 1538 dev/ic/malo.c struct mbuf *mnew;
mnew 1594 dev/ic/malo.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1595 dev/ic/malo.c if (mnew == NULL)
mnew 1597 dev/ic/malo.c MCLGET(mnew, M_DONTWAIT);
mnew 1598 dev/ic/malo.c if (!(mnew->m_flags & M_EXT)) {
mnew 1599 dev/ic/malo.c m_free(mnew);
mnew 1603 dev/ic/malo.c *mtod(mnew, uint16_t *) = htole16(m0->m_pkthdr.len - 24); /* FW len */
mnew 1604 dev/ic/malo.c bcopy(wh, mtod(mnew, caddr_t) + 2, sizeof(*wh));
mnew 1605 dev/ic/malo.c bzero(mtod(mnew, caddr_t) + 26, 6);
mnew 1607 dev/ic/malo.c mtod(mnew, caddr_t) + 32);
mnew 1608 dev/ic/malo.c mnew->m_pkthdr.len = mnew->m_len = m0->m_pkthdr.len + 8;
mnew 1610 dev/ic/malo.c m0 = mnew;
mnew 1666 dev/ic/malo.c struct mbuf *mnew, *m;
mnew 1692 dev/ic/malo.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1693 dev/ic/malo.c if (mnew == NULL) {
mnew 1698 dev/ic/malo.c MCLGET(mnew, M_DONTWAIT);
mnew 1699 dev/ic/malo.c if (!(mnew->m_flags & M_EXT)) {
mnew 1700 dev/ic/malo.c m_freem(mnew);
mnew 1710 dev/ic/malo.c mtod(mnew, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT);
mnew 1712 dev/ic/malo.c m_freem(mnew);
mnew 1729 dev/ic/malo.c data->m = mnew;
mnew 1080 dev/ic/rt2560.c struct mbuf *mnew, *m;
mnew 1119 dev/ic/rt2560.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1120 dev/ic/rt2560.c if (mnew == NULL) {
mnew 1124 dev/ic/rt2560.c MCLGET(mnew, M_DONTWAIT);
mnew 1125 dev/ic/rt2560.c if (!(mnew->m_flags & M_EXT)) {
mnew 1126 dev/ic/rt2560.c m_freem(mnew);
mnew 1136 dev/ic/rt2560.c mtod(mnew, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT);
mnew 1138 dev/ic/rt2560.c m_freem(mnew);
mnew 1158 dev/ic/rt2560.c data->m = mnew;
mnew 1703 dev/ic/rt2560.c struct mbuf *mnew;
mnew 1833 dev/ic/rt2560.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1834 dev/ic/rt2560.c if (mnew == NULL) {
mnew 1838 dev/ic/rt2560.c M_DUP_PKTHDR(mnew, m0);
mnew 1840 dev/ic/rt2560.c MCLGET(mnew, M_DONTWAIT);
mnew 1841 dev/ic/rt2560.c if (!(mnew->m_flags & M_EXT)) {
mnew 1843 dev/ic/rt2560.c m_freem(mnew);
mnew 1848 dev/ic/rt2560.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, caddr_t));
mnew 1850 dev/ic/rt2560.c mnew->m_len = mnew->m_pkthdr.len;
mnew 1851 dev/ic/rt2560.c m0 = mnew;
mnew 1004 dev/ic/rt2661.c struct mbuf *mnew, *m;
mnew 1042 dev/ic/rt2661.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1043 dev/ic/rt2661.c if (mnew == NULL) {
mnew 1047 dev/ic/rt2661.c MCLGET(mnew, M_DONTWAIT);
mnew 1048 dev/ic/rt2661.c if (!(mnew->m_flags & M_EXT)) {
mnew 1049 dev/ic/rt2661.c m_freem(mnew);
mnew 1059 dev/ic/rt2661.c mtod(mnew, void *), MCLBYTES, NULL, BUS_DMA_NOWAIT);
mnew 1061 dev/ic/rt2661.c m_freem(mnew);
mnew 1081 dev/ic/rt2661.c data->m = mnew;
mnew 1551 dev/ic/rt2661.c struct mbuf *mnew;
mnew 1678 dev/ic/rt2661.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1679 dev/ic/rt2661.c if (mnew == NULL) {
mnew 1683 dev/ic/rt2661.c M_DUP_PKTHDR(mnew, m0);
mnew 1685 dev/ic/rt2661.c MCLGET(mnew, M_DONTWAIT);
mnew 1686 dev/ic/rt2661.c if (!(mnew->m_flags & M_EXT)) {
mnew 1688 dev/ic/rt2661.c m_freem(mnew);
mnew 1693 dev/ic/rt2661.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, caddr_t));
mnew 1695 dev/ic/rt2661.c mnew->m_len = mnew->m_pkthdr.len;
mnew 1696 dev/ic/rt2661.c m0 = mnew;
mnew 821 dev/pci/if_ipw.c struct mbuf *mnew, *m;
mnew 834 dev/pci/if_ipw.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 835 dev/pci/if_ipw.c if (mnew == NULL) {
mnew 840 dev/pci/if_ipw.c MCLGET(mnew, M_DONTWAIT);
mnew 841 dev/pci/if_ipw.c if (!(mnew->m_flags & M_EXT)) {
mnew 842 dev/pci/if_ipw.c m_freem(mnew);
mnew 851 dev/pci/if_ipw.c error = bus_dmamap_load(sc->sc_dmat, sbuf->map, mtod(mnew, void *),
mnew 854 dev/pci/if_ipw.c m_freem(mnew);
mnew 869 dev/pci/if_ipw.c sbuf->m = mnew;
mnew 1128 dev/pci/if_ipw.c struct mbuf *mnew;
mnew 1190 dev/pci/if_ipw.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1191 dev/pci/if_ipw.c if (mnew == NULL) {
mnew 1196 dev/pci/if_ipw.c M_DUP_PKTHDR(mnew, m);
mnew 1198 dev/pci/if_ipw.c MCLGET(mnew, M_DONTWAIT);
mnew 1199 dev/pci/if_ipw.c if (!(mnew->m_flags & M_EXT)) {
mnew 1201 dev/pci/if_ipw.c m_freem(mnew);
mnew 1206 dev/pci/if_ipw.c m_copydata(m, 0, m->m_pkthdr.len, mtod(mnew, caddr_t));
mnew 1208 dev/pci/if_ipw.c mnew->m_len = mnew->m_pkthdr.len;
mnew 1209 dev/pci/if_ipw.c m = mnew;
mnew 870 dev/pci/if_iwi.c struct mbuf *mnew, *m;
mnew 891 dev/pci/if_iwi.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 892 dev/pci/if_iwi.c if (mnew == NULL) {
mnew 897 dev/pci/if_iwi.c MCLGET(mnew, M_DONTWAIT);
mnew 898 dev/pci/if_iwi.c if (!(mnew->m_flags & M_EXT)) {
mnew 899 dev/pci/if_iwi.c m_freem(mnew);
mnew 906 dev/pci/if_iwi.c error = bus_dmamap_load(sc->sc_dmat, data->map, mtod(mnew, void *),
mnew 909 dev/pci/if_iwi.c m_freem(mnew);
mnew 924 dev/pci/if_iwi.c data->m = mnew;
mnew 1264 dev/pci/if_iwi.c struct mbuf *mnew;
mnew 1314 dev/pci/if_iwi.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1315 dev/pci/if_iwi.c if (mnew == NULL) {
mnew 1320 dev/pci/if_iwi.c M_DUP_PKTHDR(mnew, m0);
mnew 1322 dev/pci/if_iwi.c MCLGET(mnew, M_DONTWAIT);
mnew 1323 dev/pci/if_iwi.c if (!(mnew->m_flags & M_EXT)) {
mnew 1325 dev/pci/if_iwi.c m_freem(mnew);
mnew 1330 dev/pci/if_iwi.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, caddr_t));
mnew 1332 dev/pci/if_iwi.c mnew->m_len = mnew->m_pkthdr.len;
mnew 1333 dev/pci/if_iwi.c m0 = mnew;
mnew 640 dev/pci/if_nfe.c struct mbuf *m, *mnew;
mnew 695 dev/pci/if_nfe.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 696 dev/pci/if_nfe.c if (mnew == NULL) {
mnew 703 dev/pci/if_nfe.c m_freem(mnew);
mnew 707 dev/pci/if_nfe.c MEXTADD(mnew, jbuf->buf, NFE_JBYTES, 0, nfe_jfree, sc);
mnew 715 dev/pci/if_nfe.c MCLGET(mnew, M_DONTWAIT);
mnew 716 dev/pci/if_nfe.c if (!(mnew->m_flags & M_EXT)) {
mnew 717 dev/pci/if_nfe.c m_freem(mnew);
mnew 727 dev/pci/if_nfe.c mtod(mnew, void *), MCLBYTES, NULL,
mnew 730 dev/pci/if_nfe.c m_freem(mnew);
mnew 752 dev/pci/if_nfe.c data->m = mnew;
mnew 693 dev/pci/if_txp.c struct mbuf *mnew;
mnew 695 dev/pci/if_txp.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 696 dev/pci/if_txp.c if (mnew == NULL) {
mnew 701 dev/pci/if_txp.c MCLGET(mnew, M_DONTWAIT);
mnew 702 dev/pci/if_txp.c if (!(mnew->m_flags & M_EXT)) {
mnew 703 dev/pci/if_txp.c m_freem(mnew);
mnew 708 dev/pci/if_txp.c mnew->m_pkthdr.rcvif = ifp;
mnew 709 dev/pci/if_txp.c mnew->m_pkthdr.len = mnew->m_len = m->m_len;
mnew 710 dev/pci/if_txp.c mnew->m_data += 2;
mnew 711 dev/pci/if_txp.c bcopy(m->m_data, mnew->m_data, m->m_len);
mnew 713 dev/pci/if_txp.c m = mnew;
mnew 1385 dev/pci/if_txp.c struct mbuf *m, *mnew;
mnew 1402 dev/pci/if_txp.c mnew = NULL;
mnew 1412 dev/pci/if_txp.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1413 dev/pci/if_txp.c if (mnew == NULL)
mnew 1416 dev/pci/if_txp.c MCLGET(mnew, M_DONTWAIT);
mnew 1417 dev/pci/if_txp.c if ((mnew->m_flags & M_EXT) == 0) {
mnew 1418 dev/pci/if_txp.c m_freem(mnew);
mnew 1422 dev/pci/if_txp.c m_copydata(m, 0, m->m_pkthdr.len, mtod(mnew, caddr_t));
mnew 1423 dev/pci/if_txp.c mnew->m_pkthdr.len = mnew->m_len = m->m_pkthdr.len;
mnew 1426 dev/pci/if_txp.c m = mnew;
mnew 1512 dev/pci/if_txp.c if (mnew == NULL)
mnew 1294 dev/pci/if_vge.c struct mbuf *mnew = NULL;
mnew 1344 dev/pci/if_vge.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1345 dev/pci/if_vge.c if (mnew == NULL)
mnew 1349 dev/pci/if_vge.c MCLGET(mnew, M_DONTWAIT);
mnew 1350 dev/pci/if_vge.c if (!(mnew->m_flags & M_EXT)) {
mnew 1351 dev/pci/if_vge.c m_freem(mnew);
mnew 1356 dev/pci/if_vge.c mtod(mnew, caddr_t));
mnew 1357 dev/pci/if_vge.c mnew->m_pkthdr.len = mnew->m_len = m_head->m_pkthdr.len;
mnew 1360 dev/pci/if_vge.c m_head = mnew;
mnew 1403 dev/pci/if_vge.c if (mnew == NULL) {
mnew 1207 dev/pci/if_wpi.c struct mbuf *m, *mnew;
mnew 1237 dev/pci/if_wpi.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1238 dev/pci/if_wpi.c if (mnew == NULL) {
mnew 1243 dev/pci/if_wpi.c m_freem(mnew);
mnew 1248 dev/pci/if_wpi.c MEXTADD(mnew, rbuf->vaddr, WPI_RBUF_SIZE, 0, wpi_free_rbuf, rbuf);
mnew 1251 dev/pci/if_wpi.c data->m = mnew;
mnew 1566 dev/pci/if_wpi.c struct mbuf *mnew;
mnew 1704 dev/pci/if_wpi.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 1705 dev/pci/if_wpi.c if (mnew == NULL) {
mnew 1709 dev/pci/if_wpi.c M_DUP_PKTHDR(mnew, m0);
mnew 1711 dev/pci/if_wpi.c MCLGET(mnew, M_DONTWAIT);
mnew 1712 dev/pci/if_wpi.c if (!(mnew->m_flags & M_EXT)) {
mnew 1714 dev/pci/if_wpi.c m_freem(mnew);
mnew 1719 dev/pci/if_wpi.c m_copydata(m0, 0, m0->m_pkthdr.len, mtod(mnew, caddr_t));
mnew 1721 dev/pci/if_wpi.c mnew->m_len = mnew->m_pkthdr.len;
mnew 1722 dev/pci/if_wpi.c m0 = mnew;
mnew 717 dev/usb/if_ral.c struct mbuf *mnew, *m;
mnew 751 dev/usb/if_ral.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 752 dev/usb/if_ral.c if (mnew == NULL) {
mnew 758 dev/usb/if_ral.c MCLGET(mnew, M_DONTWAIT);
mnew 759 dev/usb/if_ral.c if (!(mnew->m_flags & M_EXT)) {
mnew 762 dev/usb/if_ral.c m_freem(mnew);
mnew 767 dev/usb/if_ral.c data->m = mnew;
mnew 776 dev/usb/if_rum.c struct mbuf *mnew, *m;
mnew 809 dev/usb/if_rum.c MGETHDR(mnew, M_DONTWAIT, MT_DATA);
mnew 810 dev/usb/if_rum.c if (mnew == NULL) {
mnew 816 dev/usb/if_rum.c MCLGET(mnew, M_DONTWAIT);
mnew 817 dev/usb/if_rum.c if (!(mnew->m_flags & M_EXT)) {
mnew 820 dev/usb/if_rum.c m_freem(mnew);
mnew 825 dev/usb/if_rum.c data->m = mnew;