Searched refs:M_WRITABLE (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-11-stable/sys/kern/
H A Duipc_mbuf2.c142 * (iii) M_WRITABLE() must evaluate true.
150 * M_WRITABLE(). For now, we only evaluate once at the beginning and
155 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n)))
H A Duipc_mbuf.c683 if (!M_WRITABLE(m) ||
899 * M_WRITABLE() macro to check for this case.
1376 if (M_WRITABLE(m) &&
1642 if (M_WRITABLE(m)) {
H A Duipc_sockbuf.c963 M_WRITABLE(n) &&
/freebsd-11-stable/sys/sys/
H A Dmbuf.h861 #define M_WRITABLE(m) (!((m)->m_flags & M_RDONLY) && \ macro
929 * The M_WRITABLE() is a temporary, conservative safety measure: the burden
932 * NB: In previous versions, M_LEADINGSPACE() would only check M_WRITABLE()
937 (M_WRITABLE(m) ? ((m)->m_data - M_START(m)) : 0)
942 * The M_WRITABLE() is a temporary, conservative safety measure: the burden
945 * NB: In previous versions, M_TRAILINGSPACE() would only check M_WRITABLE()
950 (M_WRITABLE(m) ? \
/freebsd-11-stable/sys/netinet6/
H A Dip6_mroute.c1154 if (mb0 && (!M_WRITABLE(mb0) || mb0->m_len < sizeof(struct ip6_hdr)))
1423 (!M_WRITABLE(mm) ||
1553 (!M_WRITABLE(mb_copy) || mb_copy->m_len < sizeof(struct ip6_hdr)))
H A Dip6_output.c1260 if (M_WRITABLE(mlast) &&
3045 if (!M_WRITABLE(copym) ||
/freebsd-11-stable/sys/netgraph/
H A Dng_ether.c694 if (!M_WRITABLE(m)
H A Dng_source.c906 KASSERT(M_WRITABLE(m), ("%s: packet not writable", __func__));
/freebsd-11-stable/sys/netinet/
H A Dip_options.c520 if (!M_WRITABLE(m) || M_LEADINGSPACE(m) < optlen) {
H A Dip_mroute.c1307 if (mb0 && (!M_WRITABLE(mb0) || mb0->m_len < hlen))
1547 if (mm && (!M_WRITABLE(mm) || mm->m_len < hlen))
1668 if (mb_copy && (!M_WRITABLE(mb_copy) || mb_copy->m_len < hlen))
H A Dip_output.c1373 if (copym != NULL && (!M_WRITABLE(copym) || copym->m_len < hlen))
H A Digmp.c1467 if ((!M_WRITABLE(m) || m->m_len < minlen) &&
1557 if ((!M_WRITABLE(m) ||
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c705 #ifdef M_WRITABLE
717 if (M_WRITABLE(m) == 0) {
/freebsd-11-stable/sys/dev/vte/
H A Dif_vte.c1015 if (padlen > 0 && (M_WRITABLE(m) == 0 ||
1035 if (M_WRITABLE(m) == 0) {
/freebsd-11-stable/sys/dev/en/
H A Dmidway.c886 if (M_WRITABLE(m)) {
902 if (!M_WRITABLE(m)) {
1048 if (M_WRITABLE(m) && M_LEADINGSPACE(m) >= MID_TBD_SIZE) {
1064 if (M_WRITABLE(lastm) && M_TRAILINGSPACE(lastm) >= pad) {
/freebsd-11-stable/sys/dev/patm/
H A Dif_patm_tx.c427 if (M_WRITABLE(last)) {
/freebsd-11-stable/sys/dev/hme/
H A Dif_hme.c958 if (M_WRITABLE(*m0) == 0) {
/freebsd-11-stable/sys/dev/sge/
H A Dif_sge.c1408 if (M_WRITABLE(*m_head) == 0) {
/freebsd-11-stable/sys/dev/vnic/
H A Dnicvf_main.c678 if (M_WRITABLE(mbuf) == 0) {
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c894 if (M_WRITABLE(n) && ncnt + cnt < SDP_MAX_SEND_SGES &&
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias.c1798 if (m->m_next == NULL && M_WRITABLE(m))
/freebsd-11-stable/sys/dev/fatm/
H A Dif_fatm.c1830 if (M_WRITABLE(m)) {
1849 if (!M_WRITABLE(m)) {
/freebsd-11-stable/sys/dev/oce/
H A Doce_if.c1319 if (M_WRITABLE(m) == 0) {
2852 if(!M_WRITABLE(m))
/freebsd-11-stable/sys/dev/bge/
H A Dif_bge.c5045 if (m->m_pkthdr.len == m->m_len && M_WRITABLE(m) &&
5054 if (!(M_WRITABLE(last) && M_TRAILINGSPACE(last) >= padlen)) {
5118 if (M_WRITABLE(m) == 0) {
/freebsd-11-stable/sys/dev/cas/
H A Dif_cas.c1207 if (M_WRITABLE(*m_head) == 0) {

Completed in 467 milliseconds

12