Home
last modified time | relevance | path

Searched refs:m_ext (Results 1 – 18 of 18) sorted by relevance

/haiku/src/libs/compat/freebsd_network/
H A Dmbuf.c100 memoryBuffer->m_ext.ext_buf = allocate_ext_buf(how, size, &extType); in construct_ext_sized_mbuf()
101 if (memoryBuffer->m_ext.ext_buf == NULL) in construct_ext_sized_mbuf()
104 memoryBuffer->m_data = memoryBuffer->m_ext.ext_buf; in construct_ext_sized_mbuf()
106 memoryBuffer->m_ext.ext_size = size; in construct_ext_sized_mbuf()
107 memoryBuffer->m_ext.ext_type = extType; in construct_ext_sized_mbuf()
108 memoryBuffer->m_ext.ext_flags = EXT_FLAG_EMBREF; in construct_ext_sized_mbuf()
109 memoryBuffer->m_ext.ext_count = 1; in construct_ext_sized_mbuf()
129 memoryBuffer->m_ext.ext_type = EXT_CLUSTER; in construct_pkt_mbuf()
220 memoryBuffer->m_ext.ext_buf = NULL; in m_clget()
233 memoryBuffer->m_ext.ext_buf = NULL; in m_cljget()
[all …]
H A Dfbsd_kern_mbuf.c126 mb->m_ext.ext_buf = buf; in m_extadd()
127 mb->m_data = mb->m_ext.ext_buf; in m_extadd()
128 mb->m_ext.ext_size = size; in m_extadd()
130 mb->m_ext.ext_free = freef; in m_extadd()
131 mb->m_ext.ext_arg1 = arg1; in m_extadd()
132 mb->m_ext.ext_arg2 = arg2; in m_extadd()
137 mb->m_ext.ext_type = type; in m_extadd()
140 mb->m_ext.ext_count = 1; in m_extadd()
141 mb->m_ext.ext_flags = EXT_FLAG_EMBREF; in m_extadd()
143 mb->m_ext.ext_flags = 0; in m_extadd()
H A Dfbsd_uipc_mbuf.c157 CTASSERT(sizeof(struct m_ext) == 48);
161 CTASSERT(sizeof(struct m_ext) == 28);
189 n->m_ext = m->m_ext; in mb_dupcl()
194 if (m->m_ext.ext_flags & EXT_FLAG_EMBREF) { in mb_dupcl()
195 refcnt = n->m_ext.ext_cnt = &m->m_ext.ext_count; in mb_dupcl()
196 n->m_ext.ext_flags &= ~EXT_FLAG_EMBREF; in mb_dupcl()
198 KASSERT(m->m_ext.ext_cnt != NULL, in mb_dupcl()
200 refcnt = m->m_ext.ext_cnt; in mb_dupcl()
1748 wasted += MHLEN - sizeof(m->m_ext) + in m_profile()
1749 m->m_ext.ext_size - m->m_len; in m_profile()
H A Dfbsd_uipc_mbuf2.c159 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n))) in m_pulldown()
H A Ddevice_hooks.c184 length = min_c(length, mb->m_ext.ext_size); in compat_send()
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmbuf-fbsd.h37 (((m)->m_flags & M_EXT) ? (m)->m_ext.ext_buf : \
46 (((m)->m_flags & M_EXT) ? (m)->m_ext.ext_size : \
152 return ((m->m_ext.ext_flags & EXT_FLAG_EMBREF) ? m->m_ext.ext_count : in m_extrefcnt()
153 *m->m_ext.ext_cnt); in m_extrefcnt()
207 m->m_data = m->m_ext.ext_buf = (caddr_t)cl; in m_cljset()
208 m->m_ext.ext_size = size; in m_cljset()
209 m->m_ext.ext_type = type; in m_cljset()
210 m->m_ext.ext_flags = EXT_FLAG_EMBREF; in m_cljset()
211 m->m_ext.ext_count = 1; in m_cljset()
H A Dmbuf.h234 struct m_ext { struct
265 struct m_ext MH_ext; argument
278 #define m_ext M_dat.MH.MH_dat.MH_ext macro
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_wep.c102 n0->m_len = n0->m_ext.ext_size; in ieee80211_wep_encrypt()
153 n->m_len = n->m_ext.ext_size; in ieee80211_wep_encrypt()
236 n0->m_len = n0->m_ext.ext_size; in ieee80211_wep_decrypt()
269 n->m_len = n->m_ext.ext_size; in ieee80211_wep_decrypt()
H A Dieee80211_crypto_ccmp.c189 n0->m_len = n0->m_ext.ext_size; in ieee80211_ccmp_encrypt()
245 n->m_len = n->m_ext.ext_size; in ieee80211_ccmp_encrypt()
391 n0->m_len = n0->m_ext.ext_size; in ieee80211_ccmp_decrypt()
434 n->m_len = n->m_ext.ext_size; in ieee80211_ccmp_decrypt()
H A Dieee80211_crypto_tkip.c206 n0->m_len = n0->m_ext.ext_size; in ieee80211_tkip_encrypt()
262 n->m_len = n->m_ext.ext_size; in ieee80211_tkip_encrypt()
401 n0->m_len = n0->m_ext.ext_size; in ieee80211_tkip_decrypt()
443 n->m_len = n->m_ext.ext_size; in ieee80211_tkip_decrypt()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_rx_edma.c690 len = m->m_ext.ext_size; in ath_edma_rxbuf_init()
699 m->m_pkthdr.len = m->m_len = m->m_ext.ext_size; in ath_edma_rxbuf_init()
H A Dif_ath_rx.c271 m->m_pkthdr.len = m->m_len = m->m_ext.ext_size; in ath_legacy_rxbuf_init()
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/
H A Dif_fxp.c1934 rfa = (struct fxp_rfa *)(m->m_ext.ext_buf + in fxp_intr_body()
2712 (p_rx->rx_mbuf->m_ext.ext_buf + RFA_ALIGNMENT_FUDGE); in fxp_add_rfabuf()
2732 m->m_data = m->m_ext.ext_buf; in fxp_discard_rfabuf()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c2314 m->m_ext.ext_free != mwl_ext_free) in mwl_ampdu_rxdma_reclaim()
2319 off = m->m_data - m->m_ext.ext_buf; in mwl_ampdu_rxdma_reclaim()
2325 &m->m_ext.ext_paddr); in mwl_ampdu_rxdma_reclaim()
2531 mwl_putrxdma(sc, m->m_ext.ext_buf); in mwl_ext_free()
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/pcn/
H A Dif_pcn.c816 m_new->m_data = m_new->m_ext.ext_buf;
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/de/
H A Dif_de.c3558 KASSERT(ms->m_data == ms->m_ext.ext_buf, in tulip_rx_intr()
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c4474 m->m_len = m->m_pkthdr.len = m->m_ext.ext_size; in iwx_rx_addbuf()
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c4592 m->m_len = m->m_pkthdr.len = m->m_ext.ext_size; in iwm_rx_addbuf()