Home
last modified time | relevance | path

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

12

/titanic_50/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()
/titanic_50/usr/src/uts/common/io/mac/plugins/
H A Dmac_ib.c255 ASSERT(DB_REF(mp) == 1); in mac_ib_header_cook()
275 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()
/titanic_50/usr/src/uts/common/sys/
H A Dstrsun.h46 #define DB_REF(mp) ((mp)->b_datap->db_ref) macro
/titanic_50/usr/src/uts/common/inet/
H A Dip_impl.h164 (DB_TYPE(mp) != M_DATA || DB_REF(mp) != 1 || !OK_32PTR(ipha) || \
/titanic_50/usr/src/uts/common/io/
H A Dgldutil.c382 if (DB_REF(nmp) == 1 && MBLKHEAD(nmp) >= hdrlen) { in gld_unitdata_ether()
385 } else if (DB_REF(mp) == 1 && MBLKSIZE(mp) >= hdrlen) { in gld_unitdata_ether()
438 if (DB_REF(mp) == 1 && MBLKHEAD(mp) >= VTAG_SIZE) { in gld_insert_vtag_ether()
912 if (DB_REF(nmp) == 1 && MBLKHEAD(nmp) >= hdrlen) { in gld_unitdata_ib()
915 } else if (DB_REF(mp) == 1 && MBLKSIZE(mp) >= hdrlen) { in gld_unitdata_ib()
1174 if (DB_REF(nmp) == 1 && MBLKHEAD(nmp) >= hdrlen) { in gld_unitdata_fddi()
1177 } else if (DB_REF(mp) == 1 && MBLKSIZE(mp) >= hdrlen) { in gld_unitdata_fddi()
1604 if (DB_REF(nmp) == 1 && MBLKHEAD(nmp) >= hdrlen) { in gld_unitdata_tr()
1607 } 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.c2938 if (bp->b_rptr - 4 < DB_BASE(bp) || DB_REF(bp) > 1) { in mklenmp()
2998 if ((cipherlen + extra >= MBLKSIZE(mp)) || DB_REF(mp) > 1) { in encrypt_block()
/titanic_50/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c470 if (DB_REF(mp) == 1 && MBLKL(mp) >= tocopy && in spppcomp_outpkt()
505 if (type != TYPE_IP && DB_REF(mp) > 1) { in spppcomp_outpkt()
631 if ((cp->cp_flags & (COMP_AC|COMP_PROT)) && DB_REF(mp) > 1) { in spppcomp_outpkt()
1377 if ((dp < mp->b_datap->db_base) || (DB_REF(mp) > 1)) { in spppcomp_inpkt()
1500 if ((np->b_wptr < dp + hlen) || DB_REF(np) > 1) { in spppcomp_inpkt()
/titanic_50/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.c354 if (DB_REF(mp) == 1) { in softmac_mod_rput()
/titanic_50/usr/src/uts/common/inet/kssl/
H A Dksslapi.c550 if (DB_REF(mp) > 1) { in kssl_handle_mblk()
1217 if (DB_REF(bp) > 1) { in kssl_build_record()
1269 ASSERT(DB_REF(mp) == 1); in kssl_build_single_record()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_util.c121 if (DB_REF(mp) > 1) { in mac_fix_cksum()
412 if (DB_REF(mp) > 1) { in mac_strip_vlan_tag()
H A Dmac_flow.c550 if (DB_REF(last) > 1 || last->b_cont == NULL || in mac_flow_lookup()
H A Dmac_client.c4299 if (DB_REF(mp) > 1) { in mac_header_cook()
4318 if (DB_REF(mp) > 1) { in mac_header_uncook()
/titanic_50/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c1782 if (DB_REF(mp) > 1) { in spppasyn_muxencode()
1807 if (DB_REF(mp) > 1) { in spppasyn_muxencode()
1836 if (DB_REF(mp) > 1) { in spppasyn_muxencode()
/titanic_50/usr/src/uts/common/io/dls/
H A Ddls.c494 if ((DB_REF(payload) > 1) || (MBLKL(payload) < len)) { in dls_header()
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_trantcp.c724 if (diff == 4 && DB_REF(m) == 1) { in nbssn_send()
/titanic_50/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c1095 ASSERT(DB_REF(mp) == 1); in tcp_accept_finish()
1131 ASSERT(DB_REF(mp) == 1); in tcp_accept_finish()
/titanic_50/usr/src/uts/common/io/dld/
H A Ddld_str.c790 if ((DB_REF(mp) > 1) || (MBLKL(mp) < len)) { in i_dld_ether_header_update_tag()
1150 if (DB_REF(mp) > 1) { in i_dld_ether_header_strip_tag()
/titanic_50/usr/src/uts/common/inet/ilb/
H A Dilb.c1888 ASSERT(DB_REF(mp) == 1); in ilb_check_v4()
1910 ASSERT(DB_REF(mp) == 1); in ilb_check_v6()
/titanic_50/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c747 if (DB_REF(mp) > 1 || mp->b_datap->db_base+len > mp->b_rptr || in prependb()
817 if (MBLKL(mp) != sizeof (*ptc) || DB_REF(mp) > 1 || in sppptun_outpkt()

12