MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mbufq_enqueue

Function mbufq_enqueue

freebsd/sys/mbuf.h:1545–1554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1543}
1544
1545static inline int
1546mbufq_enqueue(struct mbufq *mq, struct mbuf *m)
1547{
1548
1549 if (mbufq_full(mq))
1550 return (ENOBUFS);
1551 STAILQ_INSERT_TAIL(&mq->mq_head, m, m_stailqpkt);
1552 mq->mq_len++;
1553 return (0);
1554}
1555
1556static inline struct mbuf *
1557mbufq_dequeue(struct mbufq *mq)

Callers 12

nat64_fragment6Function · 0.50
ampdu_rx_add_slotFunction · 0.50
tcp_pcap_addFunction · 0.50
dn_buf_releaseFunction · 0.50

Calls 1

mbufq_fullFunction · 0.70

Tested by

no test coverage detected