| /illumos-gate/usr/src/uts/common/io/aggr/ |
| H A D | aggr_recv.c | 60 mblk_t *nmp = copymsg(mp); local 62 if (nmp != NULL) 63 aggr_mac_rx(grp->lg_mh, mrh, nmp);
|
| /illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
| H A D | oplmsu_ioctl_uwp.c | 315 mblk_t *nmp = NULL; local 407 if (oplmsu_cmn_copymb(uwq, mp, &nmp, mp, MSU_WRITE_SIDE) == FAILURE) { 431 freemsg(nmp); 458 (void) putq(dst_queue, nmp); 465 freemsg(nmp);
|
| H A D | oplmsu_ioctl_lrp.c | 55 mblk_t *hndl_mp, *nmp = NULL, *fmp = NULL; local 149 termio_flag, &nmp, &term_stat) == FAILURE) { 162 OPLMSU_TRACE(RD(lrq), nmp, MSU_TRC_LO); local 165 qreply(RD(lrq), nmp); local 239 if (nmp != NULL) { 240 freemsg(nmp); 301 &nmp, &term_ioctl, &term_stat) == FAILURE) { 339 OPLMSU_TRACE(dst_queue, nmp, MSU_TRC_LO); 340 qreply(dst_queue, nmp); 355 if (oplmsu_cmn_copymb(lrq, mp, &nmp, hndl_m 478 mblk_t *nmp = NULL, *fmp = NULL; local 616 mblk_t *nmp = NULL, *fmp = NULL; local 719 OPLMSU_TRACE(RD(lrq), nmp, MSU_TRC_LO); local 720 qreply(RD(lrq), nmp); local [all...] |
| /illumos-gate/usr/src/uts/sun4v/io/ |
| H A D | vnet_common.c | 70 mblk_t *nmp; local 94 nmp = allocb(sizeof (struct ether_vlan_header), 96 if (nmp == NULL) { 105 bcopy(mp->b_rptr, nmp->b_rptr, n); 108 evhp = (struct ether_vlan_header *)nmp->b_rptr; 113 bcopy(mp->b_rptr + n, nmp->b_rptr + n + VLAN_TAGSZ, 120 nmp->b_wptr += sizeof (struct ether_vlan_header); 127 nmp->b_cont = mp; 128 mp = nmp; 139 mblk_t *nmp; local [all...] |
| /illumos-gate/usr/src/lib/libdiskmgt/common/ |
| H A D | inuse_lu.c | 209 char *nmp; local 229 if ((nmp = strstr(ep + 1, "mountPoint=\"")) != NULL) { 230 nmp = nmp + 12; 232 if ((ep = strchr(nmp, '"')) != NULL) { 235 nmp = ""; 239 nmp = ""; 242 if ((status = add_use_record(devp, nmp)) != 0) {
|
| /illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
| H A D | cpu.c | 196 topo_mod_t *nmp; local 199 if ((nmp = topo_mod_load(mod, PLATFORM_CPU_NAME, 229 if (topo_mod_enumerate(nmp, pnode, PLATFORM_CPU_NAME, name,
|
| H A D | mem.c | 98 topo_mod_t *nmp; local 100 if (isglobal && (nmp = topo_mod_load(mod, PLATFORM_MEM_NAME, 116 if (isglobal && topo_mod_enumerate(nmp, pnode, PLATFORM_MEM_NAME, name,
|
| /illumos-gate/usr/src/uts/common/inet/sctp/ |
| H A D | sctp_notify.c | 208 mblk_t *nmp; local 220 nmp = meta->b_cont; 223 mp = nmp->b_next; 224 nmp->b_next = NULL; 230 if (!SCTP_CHUNK_ISSENT(nmp)) { 233 nmp->b_rptr += sizeof (sctp_data_hdr_t); 234 if (nmp->b_rptr == nmp->b_wptr) { 235 tail->b_cont = nmp->b_cont; 236 freeb(nmp); 255 mblk_t *nmp; local [all...] |
| /illumos-gate/usr/src/uts/common/inet/sockmods/ |
| H A D | socksctpsubr.c | 516 mblk_t *mp, **nmp, *last_mp; local 548 nmp = &sso->so_rcv_q_head; 550 while ((mp = *nmp) != NULL) { 566 *nmp = mp->b_next; 576 nmp = &mp->b_next;
|
| /illumos-gate/usr/src/uts/common/io/hxge/ |
| H A D | hxge_hw.c | 715 mblk_t *nmp; local 732 nmp = mp->b_cont; 733 rtp = (rtrace_t *)nmp->b_rptr; 751 nmp->b_wptr = nmp->b_rptr + size;
|
| H A D | hxge_send.c | 120 p_mblk_t nmp; local 229 nmp = mp; 259 msgsize = msgdsize(nmp); 274 while (nmp) { 276 b_rptr = nmp->b_rptr; 277 len = MBLKL(nmp); 279 nmp = nmp->b_cont; 290 * nmp into two chunks: Make first chunk smaller 295 if ((t_mp = dupb(nmp)) ! [all...] |
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | pts.c | 568 mblk_t *nmp; local 571 nmp = copyb(mp); 572 if (nmp) { 577 DBG(("putnext nmp(FLUSHR) to ptm\n")); 578 *nmp->b_rptr |= FLUSHR; 580 putnext(ptsp->ptm_rdq, nmp);
|
| H A D | pckt.c | 503 mblk_t *nmp; local 514 if ((nmp = copyb(mp)) == NULL) { 534 nmp->b_cont = mp->b_cont; 536 return (nmp);
|
| H A D | zcons.c | 695 mblk_t *nmp; local 713 (nmp = copyb(mp)) != NULL) { 719 putnext(zc_switch(RD(qp)), nmp);
|
| H A D | logindmux.c | 1212 mblk_t *mp, *nmp; local 1222 nmp = mp->b_next; 1225 mp = nmp;
|
| /illumos-gate/usr/src/uts/common/io/e1000g/ |
| H A D | e1000g_rx.c | 437 mblk_t *nmp; local 664 nmp = packet->mp; 695 if ((nmp = allocb(length + E1000G_IPALIGNROOM, 706 nmp->b_rptr += E1000G_IPALIGNROOM; 707 nmp->b_wptr += E1000G_IPALIGNROOM; 715 bcopy(rx_buf->address, nmp->b_wptr, length); 718 ASSERT(nmp != NULL); 719 nmp->b_wptr += length; 753 rx_data->rx_mblk = nmp; 754 rx_data->rx_mblk_tail = nmp; [all...] |
| /illumos-gate/usr/src/uts/common/io/ppp/sppp/ |
| H A D | sppp.c | 468 mblk_t *nmp; local 529 if ((nmp = allocb(sizeof (struct ppp_idle), 540 mp->b_cont = nmp; 541 pip = (struct ppp_idle *)nmp->b_wptr; 542 nmp->b_wptr += sizeof (struct ppp_idle); 551 count = msgsize(nmp); 555 nmp = allocb(sizeof (uint32_t), BPRI_MED); 556 if (nmp == NULL) { 563 mp->b_cont = nmp; 568 *(uint32_t *)nmp 977 mblk_t *nmp; local 1312 mblk_t *nmp; local [all...] |
| /illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
| H A D | oce_tx.c | 691 mblk_t *nmp = NULL; local 730 nmp = msgpullup(mp, -1); 731 if (nmp == NULL) { 738 mp = nmp; 776 for (nmp = mp; nmp != NULL; nmp = nmp->b_cont) { 777 len = MBLKL(nmp); 782 ret = oce_bcopy_wqe(wq, wqed, nmp, le [all...] |
| /illumos-gate/usr/src/uts/common/io/igb/ |
| H A D | igb_tx.c | 113 mblk_t *current_mp, *next_mp, *nmp; local 128 for (nmp = mp; nmp != NULL; nmp = nmp->b_cont) { 129 mbsize += MBLKL(nmp);
|
| /illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
| H A D | ndmpd_dtime.c | 435 char *nmp, *un_buf; local 447 else if (!(nmp = get_ddname(&tbuf))) { 449 NDMP_LOG(LOG_DEBUG, "get_ddname failed 0x%p", nmp); 460 (void) strlcpy(ddp->dd_name, nmp, TLM_MAX_PATH_NAME);
|
| /illumos-gate/usr/src/uts/common/io/ixgbe/ |
| H A D | ixgbe_tx.c | 94 mblk_t *current_mp, *next_mp, *nmp, *pull_mp = NULL; local 119 for (nmp = mp; nmp != NULL; nmp = nmp->b_cont) { 120 mbsize += MBLKL(nmp);
|
| /illumos-gate/usr/src/cmd/fm/fmd/common/ |
| H A D | fmd_module.c | 1038 fmd_module_t *mp, *nmp; local 1042 for (mp = mhp->mh_hash[i]; mp != NULL; mp = nmp) { 1043 nmp = mp->mod_next;
|
| /illumos-gate/usr/src/uts/common/inet/ip/ |
| H A D | ip_output.c | 239 mblk_t *nmp; local 241 if ((nmp = copymsg(mp)) != NULL) { 243 mp = nmp;
|
| /illumos-gate/usr/src/uts/common/inet/tcp/ |
| H A D | tcp_tpi.c | 586 mblk_t *nmp; local 590 nmp = allocb(sizeof (struct T_conn_req) + sizeof (sin_t) + 592 if (nmp == NULL) { 596 ntcr = (struct T_conn_req *)nmp->b_rptr; 608 freemsg(nmp); 616 nmp->b_wptr = (uchar_t *)&nsin[1]; 619 ntcr->OPT_offset = nmp->b_wptr - nmp->b_rptr; 623 nmp->b_wptr += tcr->OPT_length; 626 mp = nmp; /* r [all...] |
| /illumos-gate/usr/src/uts/common/io/audio/impl/ |
| H A D | audio_sun.c | 1318 mblk_t *nmp; local 1320 if ((nmp = msgpullup(mp, -1)) == NULL) { 1324 (void) putq(wq, nmp);
|