/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/ib/clients/ibd/ |
H A D | ibd.c | 6572 mblk_t *nmp; local 6593 nmp = mp; 6594 ip_start = (uintptr_t)(nmp->b_rptr) + IPOIB_HDRSIZE; 6595 if (ip_start >= (uintptr_t)(nmp->b_wptr)) { 6596 ip_start = (uintptr_t)nmp->b_cont->b_rptr 6597 + (ip_start - (uintptr_t)(nmp->b_wptr)); 6598 nmp = nmp->b_cont; 6604 if (tcp_start >= (uintptr_t)(nmp->b_wptr)) { 6605 tcp_start = (uintptr_t)nmp 6756 mblk_t *nmp; local 6954 mblk_t *nmp; local [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_rxdma.c | 1971 p_mblk_t nmp, mp_cont, head_mp, *tail_mp; local 2037 nmp = mp_cont = NULL; 2049 rcr_p, rcr_desc_rd_head_p, &multi, &nmp, &mp_cont); 2054 if (nmp) { 2055 nmp->b_next = NULL; 2057 *tail_mp = nmp; 2058 tail_mp = &nmp->b_next; 2059 totallen += MBLKL(nmp); 2060 nmp = NULL; 2062 *tail_mp = nmp; 2174 p_mblk_t nmp = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_rxdma.c | 1403 p_mblk_t nmp, mp_cont, head_mp, *tail_mp; local 1461 nmp = mp_cont = NULL; 1494 rcrp, rcr_desc_rd_head_p, &multi, &nmp, &mp_cont, 1508 if (nmp) { 1509 nmp->b_next = NULL; 1511 *tail_mp = nmp; 1512 tail_mp = &nmp->b_next; 1513 nmp = NULL; 1515 *tail_mp = nmp; 1516 tail_mp = &nmp 1638 p_mblk_t nmp = NULL; local [all...] |
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;
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls_link.c | 279 mblk_t *nmp; local 320 if ((nmp = copymsgchain(mp)) != NULL) 321 ds_rx(ds_rx_arg, mrh, nmp, mhip); 344 mblk_t *nmp; local 475 if ((nmp = copymsgchain(mp)) != NULL) 476 ds_rx(ds_rx_arg, mrh, nmp, &mhi);
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 1449 mblk_t *nmp; local 1467 if ((nmp = mexchange(dsp->ds_wq, NULL, 1472 dlwp = (dl_unitdata_ind_wrapper_t *)nmp->b_rptr; 1475 ASSERT(dlp == (dl_unitdata_ind_t *)nmp->b_rptr); 1520 return (nmp); 2162 mblk_t *nmp; local 2183 nmp = mp->b_cont; 2184 if (nmp == NULL || MBLKL(nmp) < sizeof (dl_unitdata_req_t) || 2185 (dlp = (dl_unitdata_req_t *)nmp [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | gld.c | 2041 mblk_t *nmp; local 2160 nmp = dupmsg_noloan(mp); 2162 nmp = dupmsg(mp); 2164 nmp = NULL; /* we need no loopback */ 2169 if (nmp) 2170 freemsg(nmp); /* free the duped message */ 2200 if (nmp) 2201 freemsg(nmp); /* free the dupped message */ 2213 if (nmp) { 2215 gld_precv(macinfo, nmp, vta 2760 mblk_t *nmp; local 3199 mblk_t *nmp; local 3448 mblk_t *nmp; local 3822 mblk_t *nmp; local 4499 mblk_t *nmp; local [all...] |
H A D | multidata.c | 1141 mblk_t *nmp = NULL; local 1157 if ((nmp = dupb(mmd->mmd_hbuf)) == NULL) 1159 nmp->b_rptr = pdi->hdr_rptr; 1160 nmp->b_wptr = pdi->hdr_wptr; 1179 if (nmp != NULL) 1180 freemsg(nmp); 1186 if (nmp == NULL) 1187 nmp = mp; 1189 linkb(nmp, mp); 1194 return (nmp); [all...] |
H A D | zcons.c | 695 mblk_t *nmp; local 713 (nmp = copyb(mp)) != NULL) { 719 putnext(zc_switch(RD(qp)), nmp);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_import.c | 667 struct nm_name *nmp; local 793 for (nmp = &namesp_rec->r_name[0]; nmp->n_key != 0; 795 nmp = (struct nm_name *)((char *)nmp + 796 NAMSIZ(nmp))) { 797 if (nmp->n_key == min->min_key) 799 used_size -= NAMSIZ(nmp); 805 if (nmp->n_key == 0) { 806 assert(nmp 2529 struct nm_rec *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/fs/sockfs/ |
H A D | sockcommon_sops.c | 509 mblk_t *nmp, *last_mblk; local 538 nmp = mp->b_cont; 540 while (nmp != NULL) { 541 mlen += MBLKL(nmp); 546 last_mblk = nmp; 547 nmp = nmp->b_cont; 553 *mpp = mp = nmp; 566 *mpp = nmp; 570 *mpp = mp = nmp; 1370 mblk_t *nmp; local [all...] |
H A D | nl7curi.c | 1603 mblk_t *nmp, *pmp = NULL; local 1617 nmp = pmp; 1629 nmp = desballoc((uchar_t *)ldata, msz, BPRI_HI, &desb->frtn); 1630 if (nmp == NULL) { 1644 nmp->b_wptr += msz; 1647 mp->b_next->b_cont = nmp; 1649 mp = nmp; 1652 nmp->b_cont = pmp; 1653 nmp = pmp; 1656 mp->b_next = nmp; [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcip.c | 3303 mblk_t *nmp; local 3344 if (nmp = dupmsg(mp)) { 3347 nmp->b_rptr += hdrlen; 3348 putnext(slp->sl_rq, nmp); 3351 putnext(slp->sl_rq, nmp); 3352 } else if ((nmp = fcip_addudind(fptr, nmp, 3354 putnext(slp->sl_rq, nmp); 3419 mblk_t *nmp; local 3436 if ((nmp 5190 mblk_t *nmp; local 5727 mblk_t *nmp; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_cmn_func.c | 673 oplmsu_cmn_allocmb(queue_t *q, mblk_t *mp, mblk_t **nmp, size_t size, argument 680 if ((*nmp = (mblk_t *)allocb(size, BPRI_LO)) == NULL) { 684 (*nmp)->b_wptr = (*nmp)->b_rptr + size; 699 oplmsu_cmn_copymb(queue_t *q, mblk_t *mp, mblk_t **nmp, mblk_t *cmp, argument 706 if ((*nmp = copymsg(cmp)) == NULL) { 993 mblk_t *nmp = NULL; local 997 if ((nmp = msgpullup(mp->b_cont, -1)) == NULL) { 1002 mp->b_cont = nmp;
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_transceiver.c | 2099 const mblk_t *nmp; local 2145 for (nmp = mp; nmp != NULL; nmp = nmp->b_cont) { 2146 mpsize += MBLKL(nmp); 2168 for (nmp = mp; nmp != NULL; nmp = nmp [all...] |
/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/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/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/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/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 943 mblk_t *nmp; local 992 if ((nmp = sm_allocb(sz, BPRI_MED)) == NULL) { 1007 assoc = (ttymux_assoc32_t *)nmp->b_rptr; 1036 assoc = (ttymux_assoc_t *)nmp->b_wptr; 1066 mp->b_cont = nmp; 1067 nmp->b_wptr = nmp->b_rptr + sz;
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 1615 mblk_t **nmp) 1650 *nmp = newmp; 1659 mblk_t *nmp = NULL; local 1670 err = get_l3_info(mp, mhi.mhi_hdrsize, &start, &end, &nmp); 1707 freemsg(nmp); 1936 mblk_t *nmp = NULL; local 1939 err = get_l3_info(mp, hdrsize, &start, &end, &nmp); 2008 freemsg(nmp); 2012 freemsg(nmp); 2123 mblk_t *nmp local 1614 get_l3_info(mblk_t *mp, size_t hdrsize, uchar_t **start, uchar_t **end, mblk_t **nmp) argument [all...] |
H A D | mac_util.c | 78 mblk_t *nmp = NULL; local 79 mblk_t **nmpp = &nmp; 83 freemsgchain(nmp); 90 return (nmp);
|
/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,
|