| /xnu-12377.61.12/bsd/skywalk/nexus/ |
| H A D | nexus_mbq.h | 163 __nx_mbq_enq_multi(struct nx_mbq *q, struct mbuf *m_head, struct mbuf *m_tail, in __nx_mbq_enq_multi() argument 168 CLASSQ_PKT_INIT_MBUF(&head, m_head); in __nx_mbq_enq_multi() 175 nx_mbq_safe_enq_multi(struct nx_mbq *q, struct mbuf *m_head, in nx_mbq_safe_enq_multi() argument 179 __nx_mbq_enq_multi(q, m_head, m_tail, cnt, size); in nx_mbq_safe_enq_multi() 185 nx_mbq_enq_multi(struct nx_mbq *q, struct mbuf *m_head, struct mbuf *m_tail, in nx_mbq_enq_multi() argument 188 __nx_mbq_enq_multi(q, m_head, m_tail, cnt, size); in nx_mbq_enq_multi()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_host.c | 443 struct mbuf *m_head = m_chain, *m = NULL, *drop_list = NULL, *free_list = NULL; in nx_netif_host_output() local 452 static_assert(sizeof(m_head->m_pkthdr.pkt_mpriv_qsetid) == sizeof(uint64_t)); in nx_netif_host_output() 458 while (m_head) { in nx_netif_host_output() 462 m = m_head; in nx_netif_host_output() 463 m_head = m_head->m_nextpkt; in nx_netif_host_output() 622 drop_list = m_head; in nx_netif_host_output() 623 while (m_head != NULL) { in nx_netif_host_output() 624 m_head = m_head->m_nextpkt; in nx_netif_host_output()
|
| H A D | nx_netif_filter_compat.c | 84 struct mbuf *m, *__single m_head = NULL; in nx_netif_filter_tx_processed_mbuf_dequeue() local 85 struct mbuf **m_tailp = &m_head; in nx_netif_filter_tx_processed_mbuf_dequeue() 115 nifna, uint32_t, cnt, uint32_t, bytes, struct mbuf *, m_head); in nx_netif_filter_tx_processed_mbuf_dequeue() 116 return m_head; in nx_netif_filter_tx_processed_mbuf_dequeue()
|
| H A D | nx_netif_poll.c | 305 struct mbuf *__single m_head = NULL, *__single m_tail = NULL; in netif_rxpoll_poll_driver() local 310 ((*ifp->if_input_poll)(ifp, 0, m_lim, &m_head, &m_tail, &m_cnt, in netif_rxpoll_poll_driver() 312 VERIFY((m_cnt > 0) || ((m_head == NULL) && (m_tail == NULL))); in netif_rxpoll_poll_driver() 321 (void) ifnet_input_poll(ifp, m_head, m_tail, in netif_rxpoll_poll_driver() 322 (m_head != NULL) ? s : NULL); in netif_rxpoll_poll_driver()
|
| H A D | nx_netif_util.c | 285 struct mbuf *__single m_head = NULL, *m; in nx_netif_filter_pkt_to_mbuf_chain() local 286 struct mbuf **m_tailp = &m_head; in nx_netif_filter_pkt_to_mbuf_chain() 301 DTRACE_SKYWALK2(mbuf__chain, struct mbuf *, m_head, int, c); in nx_netif_filter_pkt_to_mbuf_chain() 302 return m_head; in nx_netif_filter_pkt_to_mbuf_chain() 686 nx_netif_mbuf_chain_info(struct mbuf *m_head, struct mbuf **m_tail, in nx_netif_mbuf_chain_info() argument 689 struct mbuf *m = m_head, *tail = NULL; in nx_netif_mbuf_chain_info()
|
| H A D | nx_netif_compat.c | 64 static errno_t nx_netif_compat_receive(struct ifnet *ifp, struct mbuf *m_head, 1049 nx_netif_compat_receive(struct ifnet *ifp, struct mbuf *m_head, in nx_netif_compat_receive() argument 1066 if (__improbable(m_head == NULL)) { in nx_netif_compat_receive() 1120 m_freem_list(m_head); in nx_netif_compat_receive() 1132 if (__improbable(m_head == NULL)) { in nx_netif_compat_receive() 1158 m_freem_list(m_head); in nx_netif_compat_receive() 1163 nx_mbq_enq_multi(q, m_head, m_tail, s->packets_in, s->bytes_in); in nx_netif_compat_receive()
|
| /xnu-12377.61.12/bsd/net/ |
| H A D | dlil_input.c | 59 …t_async(struct dlil_threading_info *inp, struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_ta… 60 …ut_sync(struct dlil_threading_info *inp, struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_ta… 280 dlil_input_handler(struct ifnet *ifp, struct mbuf *m_head, in dlil_input_handler() argument 292 return dlil_input_sync(inp, ifp, m_head, m_tail, s, poll, tp); in dlil_input_handler() 296 return inp->dlth_strategy(inp, ifp, m_head, m_tail, s, poll, tp); in dlil_input_handler() 357 struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_tail, in dlil_input_async() argument 400 VERIFY(m_head != NULL || (m_tail == NULL && m_cnt == 0)); in dlil_input_async() 409 if (m_head != NULL) { in dlil_input_async() 412 CLASSQ_PKT_INIT_MBUF(&head, m_head); in dlil_input_async() 448 for (m0 = m_head; m0; m0 = mbuf_nextpkt(m0)) { in dlil_input_async() [all …]
|
| H A D | dlil.c | 186 static errno_t ifp_if_input(struct ifnet *ifp, struct mbuf *m_head, 2051 ifnet_input(struct ifnet *ifp, struct mbuf *m_head, in ifnet_input() argument 2054 return ifnet_input_common(ifp, m_head, NULL, s, FALSE, FALSE); in ifnet_input() 2058 ifnet_input_extended(struct ifnet *ifp, struct mbuf *m_head, in ifnet_input_extended() argument 2061 return ifnet_input_common(ifp, m_head, m_tail, s, TRUE, FALSE); in ifnet_input_extended() 2065 ifnet_input_poll(struct ifnet *ifp, struct mbuf *m_head, in ifnet_input_poll() argument 2068 return ifnet_input_common(ifp, m_head, m_tail, s, in ifnet_input_poll() 2069 (m_head != NULL), TRUE); in ifnet_input_poll() 2073 ifnet_input_common(struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_tail, in ifnet_input_common() argument 2082 if ((m_head == NULL && !poll) || (s == NULL && ext)) { in ifnet_input_common() [all …]
|
| H A D | if_var_private.h | 694 typedef errno_t (*dlil_input_func)(ifnet_t ifp, mbuf_t m_head,
|
| /xnu-12377.61.12/bsd/net/classq/ |
| H A D | classq.c | 159 struct mbuf *m_head = pkt_head->cp_mbuf; in _addq_multi() local 161 MBUFQ_ENQUEUE_MULTI(&qmbufq(q), m_head, m_tail); in _addq_multi()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 1550 struct mbuf **m_head, struct mbuf **m_tail, uint32_t *cnt, uint32_t *bytes) in convert_compat_pktq_to_mbufs() argument 1569 *m_head = head; in convert_compat_pktq_to_mbufs() 1615 struct mbuf *__single m_head = NULL, *__single m_tail = NULL; in fsw_host_rx_enqueue_mbq() local 1626 convert_compat_pktq_to_mbufs(fsw, pktq, &m_head, &m_tail, &cnt, in fsw_host_rx_enqueue_mbq() 1629 convert_native_pktq_to_mbufs(fsw, pktq, &m_head, &m_tail, &cnt, in fsw_host_rx_enqueue_mbq() 1632 if (__improbable(m_head == NULL)) { in fsw_host_rx_enqueue_mbq() 1637 mbufq_enqueue(host_mq, m_head, m_tail, cnt, bytes); in fsw_host_rx_enqueue_mbq() 2894 struct mbuf *__single m_head = NULL, **__single m_tailp = &m_head; in convert_pkt_to_mbuf_list() local 2911 *head = m_head; in convert_pkt_to_mbuf_list() 3013 struct mbuf *__single m_head = NULL, *__single m_tail = NULL; in classq_enqueue_flow_chain() local [all …]
|
| /xnu-12377.61.12/bsd/kern/ |
| H A D | uipc_mbuf.c | 2818 m_drop_list(mbuf_t m_head, struct ifnet *ifp, uint16_t flags, uint32_t reason, const char *funcname, in m_drop_list() argument 2821 struct mbuf *m = m_head; in m_drop_list() 2824 if (m_head == NULL) { in m_drop_list() 2829 m_freem_list(m_head); in m_drop_list() 2865 m_freem_list(m_head); in m_drop_list()
|