Searched refs:m_new (Results 1 – 1 of 1) sorted by relevance
528 struct pbuf *m_new; in uether_newbuf() local529 m_new = pbuf_alloc(PBUF_RAW, length, PBUF_RAM); in uether_newbuf()531 if (m_new == NULL) { in uether_newbuf()536 pbuf_header(m_new, -ETH_PAD_SIZE); /* drop the padding word */ in uether_newbuf()539 return (m_new); in uether_newbuf()545 struct pbuf *m_new = (struct pbuf *)zalloc(sizeof(struct pbuf)); in uether_newbuf() local546 if (m_new == NULL) { in uether_newbuf()550 m_new->payload = memalign(USB_CACHE_ALIGN_SIZE, SKB_DATA_ALIGN(length)); in uether_newbuf()551 if (m_new->payload == NULL) { in uether_newbuf()553 free(m_new); in uether_newbuf()[all …]