/haiku/src/libs/compat/freebsd_network/ |
H A D | mbuf.c | 100 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 D | fbsd_kern_mbuf.c | 126 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 D | fbsd_uipc_mbuf.c | 157 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 D | fbsd_uipc_mbuf2.c | 159 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n))) in m_pulldown()
|
H A D | device_hooks.c | 184 length = min_c(length, mb->m_ext.ext_size); in compat_send()
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | mbuf-fbsd.h | 37 (((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 D | mbuf.h | 234 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 D | ieee80211_crypto_wep.c | 102 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 D | ieee80211_crypto_ccmp.c | 189 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 D | ieee80211_crypto_tkip.c | 206 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 D | if_ath_rx_edma.c | 690 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 D | if_ath_rx.c | 271 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 D | if_fxp.c | 1934 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 D | if_mwl.c | 2314 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 D | if_pcn.c | 816 m_new->m_data = m_new->m_ext.ext_buf;
|
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/de/ |
H A D | if_de.c | 3558 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 D | if_iwx.c | 4474 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 D | if_iwm.c | 4592 m->m_len = m->m_pkthdr.len = m->m_ext.ext_size; in iwm_rx_addbuf()
|