/openbsd-current/sys/dev/ic/ |
H A D | rtl81x9.c | 790 struct mbuf *m_new; local 797 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 798 if (m_new == NULL) { 803 MCLGET(m_new, M_DONTWAIT); 804 if (!(m_new->m_flags & M_EXT)) { 805 m_freem(m_new); 810 m_copydata(m_head, 0, m_head->m_pkthdr.len, mtod(m_new, caddr_t)); 811 m_new->m_pkthdr.len = m_new->m_len = m_head->m_pkthdr.len; 814 if (m_new [all...] |
H A D | ti.c | 561 struct mbuf *m_new = NULL; local 579 m_new = MCLGETL(NULL, M_DONTWAIT, MCLBYTES); 580 if (m_new == NULL) 583 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 584 m_adj(m_new, ETHER_ALIGN); 586 if (bus_dmamap_load_mbuf(sc->sc_dmatag, dmamap, m_new, 588 m_freem(m_new); 597 m_new = m; 598 m_new 622 struct mbuf *m_new = NULL; local 682 struct mbuf *m_new = NULL; local [all...] |
H A D | mtd8xx.c | 488 struct mbuf *m_new = NULL; local 495 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 496 if (m_new == NULL) 499 MCLGET(m_new, M_DONTWAIT); 500 if (!(m_new->m_flags & M_EXT)) { 501 m_freem(m_new); 504 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 506 mtod(m_new, caddr_t), MCLBYTES, NULL, 508 m_freem(m_new); [all...] |
H A D | xl.c | 1080 struct mbuf *m_new = NULL; local 1083 m_new = MCLGETL(NULL, M_DONTWAIT, MCLBYTES); 1084 if (!m_new) 1087 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 1089 mtod(m_new, caddr_t), MCLBYTES, NULL, BUS_DMA_NOWAIT) != 0) { 1090 m_freem(m_new); 1106 m_adj(m_new, ETHER_ALIGN); 1111 c->xl_mbuf = m_new; 1570 struct mbuf *m_new local [all...] |
H A D | dc.c | 1856 struct mbuf *m_new = NULL; local 1863 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 1864 if (m_new == NULL) 1867 MCLGET(m_new, M_DONTWAIT); 1868 if (!(m_new->m_flags & M_EXT)) { 1869 m_freem(m_new); 1872 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 1874 m_new, BUS_DMA_NOWAIT) != 0) { 1875 m_freem(m_new); [all...] |
/openbsd-current/sys/dev/usb/ |
H A D | if_cue.c | 568 struct mbuf *m_new = NULL; local 571 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 572 if (m_new == NULL) { 578 MCLGET(m_new, M_DONTWAIT); 579 if (!(m_new->m_flags & M_EXT)) { 582 m_freem(m_new); 585 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 587 m_new = m; 588 m_new [all...] |
H A D | if_cdce.c | 618 struct mbuf *m_new = NULL; local 621 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 622 if (m_new == NULL) { 627 MCLGET(m_new, M_DONTWAIT); 628 if (!(m_new->m_flags & M_EXT)) { 631 m_freem(m_new); 634 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 636 m_new = m; 637 m_new [all...] |
H A D | if_ugl.c | 303 struct mbuf *m_new = NULL; local 308 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 309 if (m_new == NULL) { 315 MCLGET(m_new, M_DONTWAIT); 316 if (!(m_new->m_flags & M_EXT)) { 319 m_freem(m_new); 322 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 324 m_new = m; 325 m_new [all...] |
H A D | if_upl.c | 310 struct mbuf *m_new = NULL; local 315 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 316 if (m_new == NULL) { 322 MCLGET(m_new, M_DONTWAIT); 323 if (!(m_new->m_flags & M_EXT)) { 326 m_freem(m_new); 329 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 331 m_new = m; 332 m_new [all...] |
H A D | if_kue.c | 575 struct mbuf *m_new = NULL; local 580 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 581 if (m_new == NULL) { 587 MCLGET(m_new, M_DONTWAIT); 588 if (!(m_new->m_flags & M_EXT)) { 591 m_freem(m_new); 594 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 596 m_new = m; 597 m_new [all...] |
H A D | if_udav.c | 804 struct mbuf *m_new = NULL; local 809 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 810 if (m_new == NULL) { 815 MCLGET(m_new, M_DONTWAIT); 816 if (!(m_new->m_flags & M_EXT)) { 819 m_freem(m_new); 822 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 824 m_new = m; 825 m_new [all...] |
H A D | if_url.c | 670 struct mbuf *m_new = NULL; local 675 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 676 if (m_new == NULL) { 681 MCLGET(m_new, M_DONTWAIT); 682 if (!(m_new->m_flags & M_EXT)) { 685 m_freem(m_new); 688 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 690 m_new = m; 691 m_new [all...] |
H A D | if_aue.c | 862 struct mbuf *m_new = NULL; local 867 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 868 if (m_new == NULL) { 874 MCLGET(m_new, M_DONTWAIT); 875 if (!(m_new->m_flags & M_EXT)) { 878 m_freem(m_new); 881 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 883 m_new = m; 884 m_new [all...] |
H A D | if_urndis.c | 925 struct mbuf *m_new = NULL; local 927 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 928 if (m_new == NULL) { 933 MCLGET(m_new, M_DONTWAIT); 934 if (!(m_new->m_flags & M_EXT)) { 937 m_freem(m_new); 940 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 942 m_adj(m_new, ETHER_ALIGN); 943 c->sc_mbuf = m_new; [all...] |
H A D | if_atu.c | 1497 struct mbuf *m_new = NULL; local 1500 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 1501 if (m_new == NULL) { 1507 MCLGET(m_new, M_DONTWAIT); 1508 if (!(m_new->m_flags & M_EXT)) { 1511 m_freem(m_new); 1514 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 1516 m_new = m; 1517 m_new [all...] |
/openbsd-current/sys/dev/pci/ |
H A D | if_lge.c | 622 struct mbuf *m_new = NULL; local 625 m_new = MCLGETL(NULL, M_DONTWAIT, LGE_JLEN); 626 if (m_new == NULL) 634 m_new = m; 635 m_new->m_data = m_new->m_ext.ext_buf; 637 m_new->m_len = m_new->m_pkthdr.len = LGE_JLEN; 644 m_adj(m_new, ETHER_ALIGN); 646 c->lge_mbuf = m_new; [all...] |
H A D | if_ste.c | 936 struct mbuf *m_new = NULL; local 939 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 940 if (m_new == NULL) 942 MCLGET(m_new, M_DONTWAIT); 943 if (!(m_new->m_flags & M_EXT)) { 944 m_freem(m_new); 947 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 949 m_new = m; 950 m_new [all...] |
H A D | if_tl.c | 972 struct mbuf *m_new = NULL; local 974 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 975 if (m_new == NULL) { 979 MCLGET(m_new, M_DONTWAIT); 980 if (!(m_new->m_flags & M_EXT)) { 981 m_freem(m_new); 986 m_new->m_data += 2; 989 c->tl_mbuf = m_new; 993 c->tl_ptr->tl_frag.tlist_dadr = VTOPHYS(mtod(m_new, caddr_t)); 1393 struct mbuf *m_new local [all...] |
H A D | if_wb.c | 1186 struct mbuf *m_new = NULL; local 1188 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 1189 if (m_new == NULL) 1192 MCLGET(m_new, M_DONTWAIT); 1193 if (!(m_new->m_flags & M_EXT)) { 1194 m_freem(m_new); 1199 mtod(m_new, caddr_t)); 1200 m_new->m_pkthdr.len = m_new->m_len = m_head->m_pkthdr.len; 1202 m_head = m_new; [all...] |
H A D | if_nge.c | 958 struct mbuf *m_new = NULL; local 961 m_new = MCLGETL(NULL, M_DONTWAIT, NGE_MCLBYTES); 962 if (m_new == NULL) 970 m_new = m; 971 m_new->m_data = m_new->m_ext.ext_buf; 974 m_new->m_len = m_new->m_pkthdr.len = NGE_MCLBYTES; 975 m_adj(m_new, sizeof(u_int64_t)); 977 c->nge_mbuf = m_new; [all...] |
H A D | if_vge.c | 843 struct mbuf *m_new = NULL; local 850 MGETHDR(m_new, M_DONTWAIT, MT_DATA); 851 if (m_new == NULL) 855 MCLGET(m_new, M_DONTWAIT); 856 if (!(m_new->m_flags & M_EXT)) { 857 m_freem(m_new); 861 m = m_new; 914 if (m_new != NULL) 915 m_freem(m_new);
|
H A D | if_sis.c | 1317 struct mbuf *m_new = NULL; local 1322 m_new = MCLGETL(NULL, M_DONTWAIT, MCLBYTES); 1323 if (!m_new) 1326 m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; 1328 if (bus_dmamap_load_mbuf(sc->sc_dmat, c->map, m_new, 1330 m_free(m_new); 1337 c->sis_mbuf = m_new;
|
/openbsd-current/lib/libmenu/ |
H A D | Makefile | 6 m_item_use.c m_item_val.c m_item_vis.c m_items.c m_new.c m_opts.c \
|