Home
last modified time | relevance | path

Searched refs:nmp (Results 1 – 25 of 92) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/
H A Dgldutil.c388 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_unitdata_ether()
393 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_unitdata_ether()
523 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_fastpath_ether()
836 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_unitdata_ib()
841 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_unitdata_ib()
882 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_fastpath_ib()
1098 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_unitdata_fddi()
1103 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_unitdata_fddi()
1167 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_fastpath_fddi()
1644 nmp->b_rptr = nmp->b_wptr = DB_LIM(nmp); in gld_fastpath_tr()
[all …]
H A Dllc1.c1255 if (nmp) { in llc1_inforeq()
1256 nmp->b_wptr = nmp->b_rptr + sizeof (dl_info_ack_t); in llc1_inforeq()
1359 nmp->b_wptr = nmp->b_rptr + LLC1_CSMACD_HDR_SIZE; in llc1_unitdata()
1413 mp = nmp; in llc1_unitdata()
1435 nmp = mp; in llc1_unitdata()
1492 nmp = mp; in llc1_recv()
2259 mp = nmp; in llc1_form_udata()
2421 nmp->b_wptr = nmp->b_rptr + sizeof (dl_xid_ind_t) + in llc1_xid_ind_con()
2492 nmp->b_wptr = nmp->b_rptr + in llc1_xid_req_res()
2742 nmp->b_wptr = nmp->b_rptr + in llc1_test_req_res()
[all …]
H A Dgld.c2000 mblk_t *nmp; in gld_start() local
2128 if (nmp) in gld_start()
2159 if (nmp) in gld_start()
2172 if (nmp) { in gld_start()
2488 mblk_t *nmp; in gld_sendup_vlan() local
2955 nmp->b_rptr = nmp->b_datap->db_lim - size; in gld_addudind()
2980 nmp->b_wptr = nmp->b_rptr + dludindp->dl_dest_addr_offset; in gld_addudind()
3000 return (nmp); in gld_addudind()
3176 mblk_t *nmp; in gld_fastpath() local
3529 mblk_t *nmp; in gld_notify_qs() local
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c70 mblk_t *nmp; in vnet_vlan_insert_tag() local
96 if (nmp == NULL) { in vnet_vlan_insert_tag()
105 bcopy(mp->b_rptr, nmp->b_rptr, n); in vnet_vlan_insert_tag()
127 nmp->b_cont = mp; in vnet_vlan_insert_tag()
128 mp = nmp; in vnet_vlan_insert_tag()
139 mblk_t *nmp; in vnet_vlan_remove_tag() local
151 if (nmp == NULL) { in vnet_vlan_remove_tag()
160 bcopy(mp->b_rptr, nmp->b_rptr, n); in vnet_vlan_remove_tag()
170 nmp->b_wptr += sizeof (struct ether_header); in vnet_vlan_remove_tag()
177 nmp->b_cont = mp; in vnet_vlan_remove_tag()
[all …]
H A Dvsw_switching.c714 mblk_t *nmp = NULL; in vsw_forward_all() local
727 nmp = vsw_dupmsgchain(mp); in vsw_forward_all()
728 if (nmp) { in vsw_forward_all()
763 if (nmp) { in vsw_forward_all()
795 mblk_t *nmp = NULL; in vsw_forward_grp() local
815 if (nmp) { in vsw_forward_grp()
858 if (nmp) { in vsw_forward_grp()
1931 mblk_t *nmp = NULL; in vsw_dupmsgchain() local
1932 mblk_t **nmpp = &nmp; in vsw_dupmsgchain()
1936 freemsgchain(nmp); in vsw_dupmsgchain()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c169 p_mblk_t nmp; in nxge_start() local
396 nmp = mp; in nxge_start()
434 while (nmp) { in nxge_start()
439 nmp = nmp->b_cont; in nxge_start()
459 nmp->b_wptr = nmp->b_rptr + in nxge_start()
733 nmp = nmp->b_cont; in nxge_start()
1566 nmp->b_wptr = nmp->b_rptr + hdrlen; in nxge_do_softlso()
1611 cmp = nmp; in nxge_do_softlso()
1612 while ((nmp = nmp->b_next)->b_next != NULL) { in nxge_do_softlso()
1616 nmp->b_wptr = nmp->b_rptr + hdrlen; in nxge_do_softlso()
[all …]
H A Dnxge_txdma.c496 nmp = mp; in nxge_fill_tx_hdr()
499 mp, nmp->b_rptr, MBLKL(nmp))); in nxge_fill_tx_hdr()
510 nmp = nmp->b_cont; in nxge_fill_tx_hdr()
513 nmp = mp; in nxge_fill_tx_hdr()
580 nmp = nmp->b_cont; in nxge_fill_tx_hdr()
617 nmp = nmp->b_cont; in nxge_fill_tx_hdr()
688 nmp = nmp->b_cont; in nxge_fill_tx_hdr()
785 nmp = mp; in nxge_tx_pkt_nmblocks()
800 nmp = nmp->b_cont; in nxge_tx_pkt_nmblocks()
887 bmp = nmp; in nxge_tx_pkt_nmblocks()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c802 nmp = mp; in eib_data_setup_lso()
807 nmp = nmp->b_cont; in eib_data_setup_lso()
815 nmp = nmp->b_cont; in eib_data_setup_lso()
835 for (nmp = mp; nmp && pending; nmp = nmp->b_cont) { in eib_data_setup_lso()
857 mblk_t *nmp; in eib_data_prepare_sgl() local
883 for (nmp = mp; nmp; nmp = nmp->b_cont) { in eib_data_prepare_sgl()
885 (uintptr_t)nmp->b_wptr - (uintptr_t)nmp->b_rptr; in eib_data_prepare_sgl()
908 for (nmp = data_mp; nmp != NULL; nmp = nmp->b_cont) { in eib_data_prepare_sgl()
939 for (nmp = data_mp; i < nblks; i++, nmp = nmp->b_cont) { in eib_data_prepare_sgl()
984 for (nmp = data_mp; nmp != NULL; nmp = nmp->b_cont) { in eib_data_prepare_sgl()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c208 mblk_t *nmp; in sctp_sendfail_sent() local
220 nmp = meta->b_cont; in sctp_sendfail_sent()
223 mp = nmp->b_next; in sctp_sendfail_sent()
224 nmp->b_next = NULL; in sctp_sendfail_sent()
234 if (nmp->b_rptr == nmp->b_wptr) { in sctp_sendfail_sent()
236 freeb(nmp); in sctp_sendfail_sent()
238 tail->b_cont = nmp; in sctp_sendfail_sent()
255 mblk_t *nmp; in sctp_sendfail_event() local
279 nmp->b_next = NULL; in sctp_sendfail_event()
281 if (nmp->b_rptr == nmp->b_wptr) { in sctp_sendfail_event()
[all …]
H A Dsctp_output.c609 mblk_t *nmp; in sctp_add_proto_hdr() local
624 nmp->b_wptr = nmp->b_rptr + hdrlen + sacklen; in sctp_add_proto_hdr()
626 mp = nmp; in sctp_add_proto_hdr()
989 mblk_t *nmp; in sctp_output() local
1531 freemsg(*nmp); in sctp_make_ftsns()
1532 *nmp = NULL; in sctp_make_ftsns()
1537 *nmp = head; in sctp_make_ftsns()
1848 head = nmp; in sctp_rexmit()
1927 freemsg(nmp); in sctp_rexmit()
2082 mblk_t *nmp; in sctp_rexmit_packet() local
[all …]
/illumos-gate/usr/src/boot/efi/libefi/
H A Defichar.c120 utf8_to_ucs2(const char *name, CHAR16 **nmp, size_t *len) in utf8_to_ucs2() argument
126 int freeit = *nmp == NULL; in utf8_to_ucs2()
129 if (*nmp == NULL) in utf8_to_ucs2()
130 *nmp = malloc(sz); in utf8_to_ucs2()
131 if (*nmp == NULL) in utf8_to_ucs2()
133 nm = *nmp; in utf8_to_ucs2()
180 *nmp = NULL; in utf8_to_ucs2()
191 *nmp = NULL; in utf8_to_ucs2()
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_lrp.c165 qreply(RD(lrq), nmp); in oplmsu_lrioctl_termios()
239 if (nmp != NULL) { in oplmsu_lrioctl_termios()
240 freemsg(nmp); in oplmsu_lrioctl_termios()
340 qreply(dst_queue, nmp); in oplmsu_lrioctl_termios()
369 oplmsu_uinst->tcsets_p = nmp; in oplmsu_lrioctl_termios()
404 nmp = lpath->hndl_mp; in oplmsu_lrioctl_termios()
415 (void) putq(dst_queue, nmp); in oplmsu_lrioctl_termios()
425 nmp = lpath->hndl_mp; in oplmsu_lrioctl_termios()
435 (void) putq(dst_queue, nmp); in oplmsu_lrioctl_termios()
605 qreply(dst_queue, nmp); in oplmsu_lrmsg_error()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c170 mblk_t *nmp; in e1000g_send() local
185 for (nmp = mp; nmp; nmp = nmp->b_cont) { in e1000g_send()
326 nmp = mp; in e1000g_send()
327 while (nmp) { in e1000g_send()
342 nmp = tmp; in e1000g_send()
386 nmp = tmp; in e1000g_send()
484 mblk_t *nmp; in e1000g_retrieve_context() local
525 nmp = mp; in e1000g_retrieve_context()
531 nmp = nmp->b_cont; in e1000g_retrieve_context()
538 nmp = nmp->b_cont; in e1000g_retrieve_context()
[all …]
H A De1000g_rx.c437 mblk_t *nmp; in e1000g_receive() local
664 nmp = packet->mp; in e1000g_receive()
706 nmp->b_rptr += E1000G_IPALIGNROOM; in e1000g_receive()
707 nmp->b_wptr += E1000G_IPALIGNROOM; in e1000g_receive()
715 bcopy(rx_buf->address, nmp->b_wptr, length); in e1000g_receive()
718 ASSERT(nmp != NULL); in e1000g_receive()
719 nmp->b_wptr += length; in e1000g_receive()
753 rx_data->rx_mblk = nmp; in e1000g_receive()
754 rx_data->rx_mblk_tail = nmp; in e1000g_receive()
758 rx_data->rx_mblk_tail->b_cont = nmp; in e1000g_receive()
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_lu.c207 char *nmp; in lufslist() local
227 if ((nmp = strstr(ep + 1, "mountPoint=\"")) != NULL) { in lufslist()
228 nmp = nmp + 12; in lufslist()
230 if ((ep = strchr(nmp, '"')) != NULL) { in lufslist()
233 nmp = ""; in lufslist()
237 nmp = ""; in lufslist()
240 if ((status = add_use_record(devp, nmp)) != 0) { in lufslist()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c558 if (nmp) { in tar_getdir()
574 nmp, in tar_getdir()
580 nmp); in tar_getdir()
636 nmp = NULL; in tar_getdir()
657 if (!nmp) in tar_getdir()
661 if (nmp) in tar_getdir()
662 (void) strlcpy(parentlnk, nmp, strlen(nmp) + 1); in tar_getdir()
695 nmp); in tar_getdir()
728 nmp = NULL; in tar_getdir()
815 if (nmp) { in tar_getdir()
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_send.c120 p_mblk_t nmp; in hxge_start() local
229 nmp = mp; in hxge_start()
255 msgsize = msgdsize(nmp); in hxge_start()
270 while (nmp) { in hxge_start()
272 b_rptr = nmp->b_rptr; in hxge_start()
273 len = MBLKL(nmp); in hxge_start()
275 nmp = nmp->b_cont; in hxge_start()
292 nmp->b_wptr = nmp->b_rptr + in hxge_start()
297 nmp->b_cont = t_mp; in hxge_start()
298 len = MBLKL(nmp); in hxge_start()
[all …]
H A Dhxge_txdma.c290 nmp = mp; in hxge_fill_tx_hdr()
291 mblk_len = (size_t)nmp->b_wptr - (size_t)nmp->b_rptr; in hxge_fill_tx_hdr()
360 nmp = nmp->b_cont; in hxge_fill_tx_hdr()
385 mblk_len = (size_t)nmp->b_wptr - (size_t)nmp->b_rptr; in hxge_fill_tx_hdr()
390 nmp = nmp->b_cont; in hxge_fill_tx_hdr()
492 nmp = mp; in hxge_tx_pkt_nmblocks()
498 while (nmp) { in hxge_tx_pkt_nmblocks()
505 bmp = nmp; in hxge_tx_pkt_nmblocks()
506 nmp = nmp->b_cont; in hxge_tx_pkt_nmblocks()
590 bmp = nmp; in hxge_tx_pkt_nmblocks()
[all …]
H A Dhxge_rxdma.c1499 if (nmp) { in hxge_rx_pkts()
1504 nmp = NULL; in hxge_rx_pkts()
1515 nmp = NULL; in hxge_rx_pkts()
1934 nmp->b_rptr = &nmp->b_rptr[skip_len]; in hxge_receive_packet()
1936 nmp->b_wptr = &nmp->b_rptr[l2_len]; in hxge_receive_packet()
1938 nmp->b_wptr = &nmp->b_rptr[bsize in hxge_receive_packet()
1946 nmp->b_wptr = &nmp->b_rptr[bsize]; in hxge_receive_packet()
1964 bytes_read = nmp->b_wptr - nmp->b_rptr; in hxge_receive_packet()
1966 bytes_read += nmp->b_wptr - nmp->b_rptr; in hxge_receive_packet()
1976 nmp, nmp->b_rptr, nmp->b_wptr, in hxge_receive_packet()
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c471 mblk_t *nmp; in sppp_ioctl() local
543 mp->b_cont = nmp; in sppp_ioctl()
559 if (nmp == NULL) { in sppp_ioctl()
566 mp->b_cont = nmp; in sppp_ioctl()
609 if (nmp == NULL) { in sppp_ioctl()
619 mp->b_cont = nmp; in sppp_ioctl()
664 if (nmp == NULL) { in sppp_ioctl()
674 mp->b_cont = nmp; in sppp_ioctl()
982 mblk_t *nmp; in sppp_inner_ioctl() local
1031 linkb(mp, nmp); in sppp_inner_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/io/ena/
H A Dena_tx.c289 mblk_t *nmp = mp; in ena_pull_tcb() local
298 while (nmp != NULL) { in ena_pull_tcb()
299 const size_t nmp_len = MBLKL(nmp); in ena_pull_tcb()
302 nmp = nmp->b_cont; in ena_pull_tcb()
311 ena_tx_copy_fragment(tcb, nmp, 0, nmp_len); in ena_pull_tcb()
312 nmp = nmp->b_cont; in ena_pull_tcb()
316 VERIFY3P(nmp, ==, NULL); in ena_pull_tcb()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c691 mblk_t *nmp = NULL; in oce_send_packet() local
730 nmp = msgpullup(mp, -1); in oce_send_packet()
731 if (nmp == NULL) { in oce_send_packet()
738 mp = nmp; in oce_send_packet()
776 for (nmp = mp; nmp != NULL; nmp = nmp->b_cont) { in oce_send_packet()
777 len = MBLKL(nmp); in oce_send_packet()
782 ret = oce_bcopy_wqe(wq, wqed, nmp, len); in oce_send_packet()
784 ret = oce_map_wqe(wq, wqed, nmp, len); in oce_send_packet()
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_recv.c62 mblk_t *nmp = copymsg(mp); in aggr_recv_lacp() local
64 if (nmp != NULL) in aggr_recv_lacp()
65 aggr_mac_rx(grp->lg_mh, mrh, nmp); in aggr_recv_lacp()
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c6598 nmp = nmp->b_cont; in ibd_setup_lso()
6607 nmp = nmp->b_cont; in ibd_setup_lso()
6640 for (nmp = mp; nmp && pending; nmp = nmp->b_cont) { in ibd_setup_lso()
6775 for (nmp = mp; nmp; nmp = nmp->b_cont) { in ibd_prepare_sgl()
6790 nmp = nmp->b_cont, nmblks++) { in ibd_prepare_sgl()
6814 for (nmp = data_mp, i = 0; i < nmblks; i++, nmp = nmp->b_cont) { in ibd_prepare_sgl()
6851 for (nmp = data_mp; nmp != NULL; nmp = nmp->b_cont) { in ibd_prepare_sgl()
6895 nmp = nmp->b_cont; in ibd_prepare_sgl()
7187 for (nmp = mp; nmp != NULL; nmp = nmp->b_cont) { in ibd_send()
7207 for (nmp = mp; nmp != NULL; nmp = nmp->b_cont) { in ibd_send()
[all …]
/illumos-gate/usr/src/uts/common/io/vioif/
H A Dvioif.c1143 mblk_t *nmp = mp; in vioif_tx_external() local
1146 while (nmp != NULL) { in vioif_tx_external()
1153 nmp = nmp->b_cont; in vioif_tx_external()
1203 nmp = nmp->b_cont; in vioif_tx_external()
1240 mblk_t *nmp; in vioif_send() local
1245 for (nmp = mp; nmp; nmp = nmp->b_cont) in vioif_send()
1246 msg_size += MBLKL(nmp); in vioif_send()
1436 mblk_t *nmp; in vioif_m_tx() local
1447 nmp = mp->b_next; in vioif_m_tx()
1456 mp->b_next = nmp; in vioif_m_tx()
[all …]

1234