Home
last modified time | relevance | path

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

12

/freebsd/sys/kern/
H A Duipc_mbuf2.c153 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n))) in m_pulldown()
H A Duipc_sockbuf.c161 M_WRITABLE(m) && in sbready_compress()
1400 M_WRITABLE(n) && in sbcompress()
1474 M_WRITABLE(n) && in sbcompress_ktls_rx()
H A Duipc_mbuf.c792 if (!M_WRITABLE(m) || in m_cat()
1703 if (M_WRITABLE(m) && in m_collapse()
2177 if (M_WRITABLE(m)) { in m_unshare()
/freebsd/sys/sys/
H A Dmbuf.h1137 #define M_WRITABLE(m) (((m)->m_flags & (M_RDONLY | M_EXTPG)) == 0 && \ macro
1236 (M_WRITABLE(m) ? ((m)->m_data - M_START(m)) : 0)
1258 #define M_TRAILINGSPACE(m) (M_WRITABLE(m) ? M_TRAILINGROOM(m) : 0)
/freebsd/sys/netinet6/
H A Dip6_mroute.c1147 if (mb0 && (!M_WRITABLE(mb0) || mb0->m_len < sizeof(struct ip6_hdr))) in X_ip6_mforward()
1404 (!M_WRITABLE(mm) || in ip6_mdq()
1537 (!M_WRITABLE(mb_copy) || mb_copy->m_len < sizeof(struct ip6_hdr))) in phyint_send()
H A Dip6_output.c1435 if (M_WRITABLE(mlast) && in ip6_insertfraghdr()
3290 if (!M_WRITABLE(copym) || in ip6_mloopback()
H A Dicmp6.c567 if (!M_WRITABLE(n) in icmp6_input()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c687 #ifdef M_WRITABLE in ipf_fastroute()
699 if (M_WRITABLE(m) == 0) { in ipf_fastroute()
/freebsd/sys/netgraph/
H A Dng_ether.c694 if (!M_WRITABLE(m) in ng_ether_rcv_lower()
H A Dng_source.c905 KASSERT(M_WRITABLE(m), ("%s: packet not writable", __func__)); in ng_source_dup_mod()
/freebsd/sys/netinet/
H A Dip_options.c519 if (!M_WRITABLE(m) || M_LEADINGSPACE(m) < optlen) { in ip_insertoptions()
H A Dip_mroute.c1401 if (mb0 && (!M_WRITABLE(mb0) || mb0->m_len < hlen)) in X_ip_mforward()
1618 if (mm && (!M_WRITABLE(mm) || mm->m_len < hlen)) in ip_mdq()
1755 if (mb_copy && (!M_WRITABLE(mb_copy) || mb_copy->m_len < hlen)) in phyint_send()
H A Digmp.c1499 if ((!M_WRITABLE(m) || m->m_len < minlen) && in igmp_input()
1590 if ((!M_WRITABLE(m) || in igmp_input()
H A Dip_output.c1531 if (copym != NULL && (!M_WRITABLE(copym) || copym->m_len < hlen)) in ip_mloopback()
/freebsd/sys/dev/vte/
H A Dif_vte.c1013 if (padlen > 0 && (M_WRITABLE(m) == 0 || in vte_encap()
1033 if (M_WRITABLE(m) == 0) { in vte_encap()
/freebsd/sys/dev/vnic/
H A Dnicvf_main.c667 if (M_WRITABLE(mbuf) == 0) { in nicvf_if_transmit()
/freebsd/sys/dev/oce/
H A Doce_if.c1289 if (M_WRITABLE(m) == 0) { in oce_tso_setup()
2778 if(!M_WRITABLE(m)) in oce_insert_vlan_tag()
/freebsd/sys/netinet/libalias/
H A Dalias.c1780 if (m->m_next == NULL && M_WRITABLE(m)) in m_megapullup()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c872 if (M_WRITABLE(n) && ncnt + cnt < SDP_MAX_SEND_SGES && in sdp_append()
/freebsd/sys/dev/sge/
H A Dif_sge.c1407 if (M_WRITABLE(*m_head) == 0) { in sge_encap()
/freebsd/sys/dev/bge/
H A Dif_bge.c5019 if (m->m_pkthdr.len == m->m_len && M_WRITABLE(m) && in bge_cksum_pad()
5028 if (!(M_WRITABLE(last) && M_TRAILINGSPACE(last) >= padlen)) { in bge_cksum_pad()
5092 if (M_WRITABLE(m) == 0) { in bge_setup_tso()
/freebsd/sys/dev/gem/
H A Dif_gem.c1092 if (M_WRITABLE(*m_head) == 0) { in gem_load_txmbuf()
/freebsd/sys/dev/mge/
H A Dif_mge.c1768 if (M_WRITABLE(m0) == 0) { in mge_start_locked()
/freebsd/sys/dev/sis/
H A Dif_sis.c1779 if (M_WRITABLE(m) == 0) { in sis_encap()
/freebsd/sys/net/
H A Diflib.c3250 if (!M_WRITABLE(m)) { in iflib_parse_header_partial()
3352 M_WRITABLE(m) == 0) { in iflib_parse_header()
3565 if (!M_WRITABLE(*m_head)) { in iflib_ether_pad()

12