Home
last modified time | relevance | path

Searched refs:M_WRITABLE (Results 1 – 20 of 20) sorted by relevance

/f-stack/tools/compat/include/sys/
H A Dmbuf.h858 #define M_WRITABLE(m) (!((m)->m_flags & M_RDONLY) && \ macro
934 (M_WRITABLE(m) ? ((m)->m_data - M_START(m)) : 0)
947 (M_WRITABLE(m) ? \
/f-stack/freebsd/sys/
H A Dmbuf.h1084 #define M_WRITABLE(m) (((m)->m_flags & (M_RDONLY | M_EXTPG)) == 0 && \ macro
1166 (M_WRITABLE(m) ? ((m)->m_data - M_START(m)) : 0)
1179 (M_WRITABLE(m) ? \
/f-stack/freebsd/kern/
H A Duipc_mbuf2.c157 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n))) in m_pulldown()
H A Duipc_sockbuf.c163 M_WRITABLE(m) && in sbready_compress()
1324 M_WRITABLE(n) && in sbcompress()
1398 M_WRITABLE(n) && in sbcompress_ktls_rx()
H A Duipc_mbuf.c754 if (!M_WRITABLE(m) || in m_cat()
1498 if (M_WRITABLE(m) && in m_collapse()
1956 if (M_WRITABLE(m)) { in m_unshare()
/f-stack/freebsd/netinet6/
H A Dip6_mroute.c1154 if (mb0 && (!M_WRITABLE(mb0) || mb0->m_len < sizeof(struct ip6_hdr))) in X_ip6_mforward()
1411 (!M_WRITABLE(mm) || in ip6_mdq()
1544 (!M_WRITABLE(mb_copy) || mb_copy->m_len < sizeof(struct ip6_hdr))) in phyint_send()
H A Dip6_output.c1432 if (M_WRITABLE(mlast) && in ip6_insertfraghdr()
3304 if (!M_WRITABLE(copym) || in ip6_mloopback()
H A Dicmp6.c544 if (!M_WRITABLE(n) in icmp6_input()
/f-stack/freebsd/netgraph/
H A Dng_ether.c693 if (!M_WRITABLE(m) in ng_ether_rcv_lower()
H A Dng_source.c897 KASSERT(M_WRITABLE(m), ("%s: packet not writable", __func__)); in ng_source_dup_mod()
/f-stack/freebsd/netinet/
H A Dip_options.c521 if (!M_WRITABLE(m) || M_LEADINGSPACE(m) < optlen) { in ip_insertoptions()
H A Dip_mroute.c1309 if (mb0 && (!M_WRITABLE(mb0) || mb0->m_len < hlen)) in X_ip_mforward()
1548 if (mm && (!M_WRITABLE(mm) || mm->m_len < hlen)) in ip_mdq()
1668 if (mb_copy && (!M_WRITABLE(mb_copy) || mb_copy->m_len < hlen)) in phyint_send()
H A Digmp.c1510 if ((!M_WRITABLE(m) || m->m_len < minlen) && in igmp_input()
1601 if ((!M_WRITABLE(m) || in igmp_input()
H A Dip_output.c1608 if (copym != NULL && (!M_WRITABLE(copym) || copym->m_len < hlen)) in ip_mloopback()
H A Dtcp_subr.c1459 } else if (!M_WRITABLE(m)) { in tcp_respond()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c708 #ifdef M_WRITABLE
720 if (M_WRITABLE(m) == 0) {
/f-stack/freebsd/mips/atheros/ar531x/
H A Dif_are.c723 if (M_WRITABLE(m) == 0) { in are_encap()
/f-stack/freebsd/netinet/libalias/
H A Dalias.c1775 if (m->m_next == NULL && M_WRITABLE(m)) in m_megapullup()
/f-stack/freebsd/net/
H A Dif_bridge.c3182 KASSERT(M_WRITABLE(*mp), ("%s: modifying a shared mbuf", __func__)); in bridge_pfil()
H A Diflib.c3135 M_WRITABLE(m) == 0) { in iflib_parse_header()
3359 if (!M_WRITABLE(*m_head)) { in iflib_ether_pad()