Home
last modified time | relevance | path

Searched refs:extbuf (Results 1 – 4 of 4) sorted by relevance

/xnu-11417.121.6/bsd/kern/
H A Dkpi_mbuf.c158 caddr_t extbuf __sized_by_or_null(extsize), void (*extfree)(caddr_t, u_int, caddr_t), in mbuf_attachcluster()
161 if (mbuf == NULL || extbuf == NULL || extfree == NULL || extsize == 0) { in mbuf_attachcluster()
165 if ((*mbuf = m_clattach(*mbuf, type, extbuf, in mbuf_attachcluster()
178 caddr_t extbuf __sized_by_or_null(extsize) = NULL; in mbuf_ring_cluster_alloc()
186 extbuf = NULL; in mbuf_ring_cluster_alloc()
188 if ((err = mbuf_alloccluster(how, &extsize, &extbuf)) != 0) { in mbuf_ring_cluster_alloc()
192 VERIFY((extsize == 0 && extbuf == NULL) || (extsize != 0 && extbuf != NULL)); in mbuf_ring_cluster_alloc()
194 if ((*mbuf = m_clattach(*mbuf, type, extbuf, in mbuf_ring_cluster_alloc()
196 mbuf_freecluster(extbuf, extsize); in mbuf_ring_cluster_alloc()
H A Duipc_mbuf.c4622 m_clattach(struct mbuf *m, int type, caddr_t extbuf __sized_by(extsize),
4742 MEXT_INIT(m, extbuf, extsize, extfree, extarg, rfa,
4745 MEXT_INIT(m, extbuf, extsize, extfree, (caddr_t)m, rfa,
9552 caddr_t extbuf; local
9562 extbuf = m->m_ext.ext_buf;
9567 VERIFY(extbuf != NULL && rfa != NULL);
9576 MEXT_INIT(m, extbuf, extsize, extfree, (caddr_t)m, rfa,
/xnu-11417.121.6/tools/lldbmacros/
H A Dmbufs.py206 extbuf = mp.M_dat.MH.MH_dat.MH_ext.ext_buf
215 extbuf = mp.M_hdr_common.M_ext.ext_buf
223 out_string += m_ext_format.format(extbuf)
/xnu-11417.121.6/bsd/sys/
H A Dkpi_mbuf.h427 …mbuf_t *mbuf, caddr_t extbuf __sized_by_or_null(extsize), void (*extfree)(caddr_t, u_int, caddr_t),