Home
last modified time | relevance | path

Searched refs:DB_REF (Results 1 – 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c74 if (DB_REF(mp) == 1 && MBLKHEAD(mp) >= VLAN_TAGSZ) { in vnet_vlan_insert_tag()
141 if (DB_REF(mp) == 1) { /* mblk can be modified to untag(not shared) */ in vnet_vlan_remove_tag()
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ib.c253 ASSERT(DB_REF(mp) == 1); in mac_ib_header_cook()
273 ASSERT(DB_REF(mp) == 1); in mac_ib_header_uncook()
H A Dmac_wifi.c394 ASSERT(DB_REF(mp) == 1); in mac_wifi_header_cook()
423 ASSERT(DB_REF(mp) == 1); in mac_wifi_header_uncook()
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsun.h44 #define DB_REF(mp) ((mp)->b_datap->db_ref) macro
/illumos-gate/usr/src/uts/common/io/
H A Dgldutil.c381 if (DB_REF(nmp) == 1 && MBLKHEAD(nmp) >= hdrlen) { in gld_unitdata_ether()
384 } else if (DB_REF(mp) == 1 && MBLKSIZE(mp) >= hdrlen) { in gld_unitdata_ether()
437 if (DB_REF(mp) == 1 && MBLKHEAD(mp) >= VTAG_SIZE) { in gld_insert_vtag_ether()
829 if (DB_REF(nmp) == 1 && MBLKHEAD(nmp) >= hdrlen) { in gld_unitdata_ib()
832 } else if (DB_REF(mp) == 1 && MBLKSIZE(mp) >= hdrlen) { in gld_unitdata_ib()
1091 if (DB_REF(nmp) == 1 && MBLKHEAD(nmp) >= hdrlen) { in gld_unitdata_fddi()
1094 } else if (DB_REF(mp) == 1 && MBLKSIZE(mp) >= hdrlen) { in gld_unitdata_fddi()
1521 if (DB_REF(nmp) == 1 && MBLKHEAD(nmp) >= hdrlen) { in gld_unitdata_tr()
1524 } else if (DB_REF(mp) == 1 && MBLKSIZE(mp) >= hdrlen) { in gld_unitdata_tr()
H A Dstrsun.c95 if (mp == NULL || MBLKSIZE(mp) < size || DB_REF(mp) > 1) { in mexchange()
H A Dcryptmod.c2941 if (bp->b_rptr - 4 < DB_BASE(bp) || DB_REF(bp) > 1) { in mklenmp()
3001 if ((cipherlen + extra >= MBLKSIZE(mp)) || DB_REF(mp) > 1) { in encrypt_block()
/illumos-gate/usr/src/uts/common/inet/
H A Dip_impl.h179 (DB_REF(mp) != 1) || \
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c473 if (DB_REF(mp) == 1 && MBLKL(mp) >= tocopy && in spppcomp_outpkt()
508 if (type != TYPE_IP && DB_REF(mp) > 1) { in spppcomp_outpkt()
634 if ((cp->cp_flags & (COMP_AC|COMP_PROT)) && DB_REF(mp) > 1) { in spppcomp_outpkt()
1382 if ((dp < mp->b_datap->db_base) || (DB_REF(mp) > 1)) { in spppcomp_inpkt()
1505 if ((np->b_wptr < dp + hlen) || DB_REF(np) > 1) { in spppcomp_inpkt()
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_pkt.c69 if (DB_REF(mp) > 1) { in softmac_rput_process_data()
H A Dsoftmac_dev.c359 if (DB_REF(mp) == 1) { in softmac_mod_rput()
/illumos-gate/usr/src/uts/common/io/overlay/plugins/
H A Doverlay_vxlan.c168 if (DB_REF(mp) != 1 || mp->b_rptr - vxlan_noalloc_min < DB_BASE(mp)) { in vxlan_o_encap()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_shutdown.c253 if (DB_REF(mp) != 1) { in sctp_ootb_shutdown_ack()
H A Dsctp_output.c449 if (DB_REF(chunk_head) > 1 || in sctp_chunkify()
608 (sctps->sctps_wroff_xtra + hdrlen + sacklen) || DB_REF(mp) > 2) { in sctp_add_proto_hdr()
H A Dsctp.c561 ASSERT(DB_REF(ump) == 1); in sctp_free_xmit_data()
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c1781 if (DB_REF(mp) > 1) { in spppasyn_muxencode()
1806 if (DB_REF(mp) > 1) { in spppasyn_muxencode()
1835 if (DB_REF(mp) > 1) { in spppasyn_muxencode()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_trantcp.c704 if (diff == 4 && DB_REF(m) == 1) { in nbssn_send()
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls.c508 if ((DB_REF(payload) > 1) || (MBLKL(payload) < len)) { in dls_header()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c462 if (DB_REF(mp) > 1) { in mac_sw_cksum()
1526 if (DB_REF(mp) > 1) { in mac_strip_vlan_tag()
H A Dmac_flow.c551 if (DB_REF(last) > 1 || last->b_cont == NULL || in mac_flow_lookup()
H A Dmac_client.c4484 if (DB_REF(mp) > 1) { in mac_header_cook()
4503 if (DB_REF(mp) > 1) { in mac_header_uncook()
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c807 if ((DB_REF(mp) > 1) || (MBLKL(mp) < len)) { in i_dld_ether_header_update_tag()
1167 if (DB_REF(mp) > 1) { in i_dld_ether_header_strip_tag()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c1101 ASSERT(DB_REF(mp) == 1); in tcp_accept_finish()
1137 ASSERT(DB_REF(mp) == 1); in tcp_accept_finish()
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c748 if (DB_REF(mp) > 1 || mp->b_datap->db_base+len > mp->b_rptr || in prependb()
818 if (MBLKL(mp) != sizeof (*ptc) || DB_REF(mp) > 1 || in sppptun_outpkt()
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb.c1890 ASSERT(DB_REF(mp) == 1); in ilb_check_v4()
1912 ASSERT(DB_REF(mp) == 1); in ilb_check_v6()

12