Searched refs:mbuf_copyback (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dkpi_mbuf.h783 @function mbuf_copyback
785 mbuf_copyback will grow the chain to fit the specified buffer.
792 If an offset is specified, mbuf_copyback will skip that many
804 extern errno_t mbuf_copyback(mbuf_t mbuf, size_t offset, size_t length,
/darwin-on-arm/xnu/bsd/kern/
H A Dkpi_mbuf.c1017 * mbuf_copyback differs from m_copyback in a few ways:
1018 * 1) mbuf_copyback will allocate clusters for new mbufs we append
1019 * 2) mbuf_copyback will grow the last mbuf in the chain if possible
1020 * 3) mbuf_copyback reports whether or not the operation succeeded
1021 * 4) mbuf_copyback allows the caller to specify M_WAITOK or M_NOWAIT
1024 mbuf_copyback( function

Completed in 26 milliseconds