Home
last modified time | relevance | path

Searched refs:new_mp (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c895 mblk_t *new_mp; in tsol_check_label_v4() local
901 new_mp = allocb_tmpl(hlen + copylen + in tsol_check_label_v4()
903 if (new_mp == NULL) { in tsol_check_label_v4()
912 new_mp->b_rptr += mp->b_rptr - mp->b_datap->db_base; in tsol_check_label_v4()
913 new_mp->b_wptr = new_mp->b_rptr + copylen; in tsol_check_label_v4()
914 bcopy(mp->b_rptr, new_mp->b_rptr, copylen); in tsol_check_label_v4()
915 new_mp->b_cont = mp; in tsol_check_label_v4()
917 new_mp->b_cont = mp->b_cont; in tsol_check_label_v4()
920 *mpp = mp = new_mp; in tsol_check_label_v4()
1469 mblk_t *new_mp; in tsol_check_label_v6() local
[all …]
H A Dip_rts.c1228 mblk_t *new_mp; in rts_rtmget() local
1295 new_mp = rts_alloc_msg(RTM_GET, rtm_addrs, af, gc != NULL ? 1 : 0); in rts_rtmget()
1296 if (new_mp == NULL) { in rts_rtmget()
1323 brdaddr, 0, ifaddr, ill, new_mp, gc); in rts_rtmget()
1333 &ifaddr6, ill, new_mp, gc); in rts_rtmget()
1340 new_rtm = (rt_msghdr_t *)new_mp->b_rptr; in rts_rtmget()
1366 return (new_mp); in rts_rtmget()
H A Dsadb.c7351 mblk_t *new_mp; local
7357 new_mp = allocb_tmpl(hlen + copylen +
7360 if (new_mp == NULL) {
7366 new_mp->b_rptr += mp->b_rptr - mp->b_datap->db_base;
7367 new_mp->b_wptr = new_mp->b_rptr + copylen;
7368 bcopy(mp->b_rptr, new_mp->b_rptr, copylen);
7369 new_mp->b_cont = mp;
7371 new_mp->b_cont = mp->b_cont;
7374 mp = new_mp;
7434 mblk_t *new_mp; local
[all …]
H A Dspdsock.c2799 mblk_t *new_mp; in spdsock_updatealg() local
2802 if ((new_mp = copymsg(mp)) == NULL) { in spdsock_updatealg()
2822 spd_echo(q, new_mp); in spdsock_updatealg()
/titanic_44/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c172 mblk_t *new_mp; in e1000g_send() local
242 new_mp = NULL; in e1000g_send()
302 new_mp = allocb(hdr_frag_len, NULL); in e1000g_send()
303 if (!new_mp) in e1000g_send()
305 bcopy(next_mp->b_rptr, new_mp->b_rptr, hdr_frag_len); in e1000g_send()
307 new_mp->b_wptr = new_mp->b_rptr + hdr_frag_len; in e1000g_send()
308 new_mp->b_cont = next_mp; in e1000g_send()
310 pre_mp->b_cont = new_mp; in e1000g_send()
312 mp = new_mp; in e1000g_send()
426 if (new_mp) { in e1000g_send()
[all …]
/titanic_44/usr/src/uts/common/xen/io/
H A Dxnb.c907 mblk_t *new_mp; in replace_msg() local
909 new_mp = copyb(mp); in replace_msg()
910 if (new_mp == NULL) { in replace_msg()
916 mac_hcksum_set(new_mp, start, stuff, end, value, flags); in replace_msg()
918 new_mp->b_next = mp->b_next; in replace_msg()
919 new_mp->b_prev = mp->b_prev; in replace_msg()
920 new_mp->b_cont = mp->b_cont; in replace_msg()
924 mp_prev->b_next = new_mp; in replace_msg()
927 ml_prev->b_cont = new_mp; in replace_msg()
932 return (new_mp); in replace_msg()
/titanic_44/usr/src/stand/lib/tcp/
H A Dtcp.c4808 mblk_t *new_mp; in tcp_wput_data() local
5118 new_mp = allocb(msgdsize(mp) + tcp_wroff_xtra, 0); in tcp_wput_data()
5119 new_mp->b_rptr += tcp_wroff_xtra; in tcp_wput_data()
5120 new_mp->b_wptr = new_mp->b_rptr; in tcp_wput_data()
5123 bcopy(mp->b_rptr, new_mp->b_wptr, mp_size); in tcp_wput_data()
5124 new_mp->b_wptr += mp_size; in tcp_wput_data()
5128 mp = new_mp; in tcp_wput_data()
5735 mblk_t *new_mp; in tcp_xmit_mp() local
6048 new_mp = allocb(msgdsize(mp1) + tcp_wroff_xtra, 0); in tcp_xmit_mp()
6049 new_mp->b_rptr += tcp_wroff_xtra; in tcp_xmit_mp()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dstream.c773 mblk_t *new_mp; in dupb() local
776 if ((new_mp = kmem_cache_alloc(mblk_cache, KM_NOSLEEP)) == NULL) in dupb()
779 new_mp->b_next = new_mp->b_prev = new_mp->b_cont = NULL; in dupb()
780 new_mp->b_rptr = mp->b_rptr; in dupb()
781 new_mp->b_wptr = mp->b_wptr; in dupb()
782 new_mp->b_datap = dbp; in dupb()
783 new_mp->b_queue = NULL; in dupb()
784 MBLK_BAND_FLAG_WORD(new_mp) = MBLK_BAND_FLAG_WORD(mp); in dupb()
797 kmem_cache_free(mblk_cache, new_mp); in dupb()
798 new_mp = NULL; in dupb()
[all …]
H A Decpp.c3728 mblk_t *new_mp; in ecpp_putback_untransfered() local
3736 new_mp = allocb(len, BPRI_MED); in ecpp_putback_untransfered()
3737 if (new_mp == NULL) { in ecpp_putback_untransfered()
3743 bcopy(startp, new_mp->b_rptr, len); in ecpp_putback_untransfered()
3744 new_mp->b_wptr = new_mp->b_rptr + len; in ecpp_putback_untransfered()
3746 if (!putbq(pp->writeq, new_mp)) { in ecpp_putback_untransfered()
3747 freemsg(new_mp); in ecpp_putback_untransfered()
/titanic_44/usr/src/lib/libbe/common/
H A Dbe_create.c613 char *new_mp = NULL; in be_copy() local
1035 if ((ret = _be_mount(bt.nbe_name, &new_mp, BE_MOUNT_FLAG_NO_ZONES)) in be_copy()
1097 &fld, new_mp)) != BE_SUCCESS) { in be_copy()
1172 free(new_mp); in be_copy()