/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_trantcp.c | 83 static int nb_disconnect(struct nbpcb *nbp); 94 nb_getmsg_mlen(struct nbpcb *nbp, mblk_t **mpp, size_t mlen) argument 103 ASSERT(nbp->nbp_flags & NBF_RECVLOCK); 104 /* nbp->nbp_tiptr checked by caller */ 125 error = t_kspoll(nbp->nbp_tiptr, timo, waitflg, &events); 138 error = tli_recv(nbp->nbp_tiptr, &tm, fmode); 202 (void) nb_disconnect(nbp); 230 nb_snddis(struct nbpcb *nbp) argument 232 TIUSER *tiptr = nbp->nbp_tiptr; 233 cred_t *cr = nbp 289 nbssn_peekhdr(struct nbpcb *nbp, size_t *lenp, uint8_t *rpcodep) argument 350 nbssn_recv(struct nbpcb *nbp, mblk_t **mpp, int *lenp, uint8_t *rpcodep) argument 492 struct nbpcb *nbp; local 518 struct nbpcb *nbp = vcp->vc_tdata; local 550 nb_loan_fp(struct nbpcb *nbp, struct file *fp, cred_t *cr) argument 589 nb_unloan_fp(struct nbpcb *nbp) argument 615 struct nbpcb *nbp = vcp->vc_tdata; local 652 struct nbpcb *nbp = vcp->vc_tdata; local 661 nb_disconnect(struct nbpcb *nbp) argument 682 nbssn_send(struct nbpcb *nbp, mblk_t *m) argument 758 struct nbpcb *nbp = vcp->vc_tdata; local 793 struct nbpcb *nbp = vcp->vc_tdata; local 838 struct nbpcb *nbp = vcp->vc_tdata; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nbp.c | 57 interpret_nbp(int flags, struct nbp_hdr *nbp, int len) argument 60 int nbp_cnt = nbp->nbp_fun_cnt & 0xf; /* lower four bits */ 61 int nbp_op = (nbp->nbp_fun_cnt >> 4) & 0xf; /* upper four bits */ 63 data = (uint8_t *)(nbp + 1); 73 nbp_cnt, nbp->nbp_id); 94 "Id = %d", nbp->nbp_id); 95 show_nbp_tuples(data, nbp_cnt, ((uint8_t *)nbp) + len);
|
/illumos-gate/usr/src/head/ |
H A D | xti.h | 439 * struct t_opthdr *T_OPT_FIRSTHDR(struct netbuf *nbp): 445 * struct t_opthdr *T_OPT_NEXTHDR(struct netbuf *nbp, struct t_opthdr *tohp): 449 #define T_OPT_FIRSTHDR(nbp) \ 450 ((nbp)->len >= _T_OPTHDR_SZ ? (struct t_opthdr *)(nbp)->buf : \ 462 #define T_OPT_NEXTHDR(nbp, tohp) (_T_NEXTHDR((nbp)->buf, (nbp)->len, (tohp)))
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.h | 243 static void formatnet(struct netbuf *nbp, log_message_t *mp); 247 static host_list_t *cvthname(struct netbuf *nbp, struct netconfig *ncp, char *); 255 static int ismyaddr(struct netbuf *nbp); 257 static int addnet(struct netconfig *ncp, struct netbuf *nbp); 309 static int addr_hash(struct netbuf *nbp);
|
H A D | syslogd.c | 1069 formatnet(struct netbuf *nbp, log_message_t *mp) argument 1087 p = nbp->buf; 2197 cvthname(struct netbuf *nbp, struct netconfig *ncp, char *failsafe_addr) argument 2212 uap = taddr2uaddr(ncp, nbp); 2217 if ((h = hnc_lookup(nbp, ncp, &hindex)) != NULL) { 2239 if (netdir_getbyaddr(ncp, &hsp, nbp) == 0) { 2300 hnc_register(nbp, ncp, h, hindex); 3594 ismyaddr(struct netbuf *nbp) argument 3598 if (nbp == NULL) 3602 if (same_addr(nbp, Myaddr 3614 struct netbuf *nbp; local 3731 addnet(struct netconfig *ncp, struct netbuf *nbp) argument 3915 struct netbuf *nbp; local 3998 struct netbuf *nbp; local 5357 hnc_lookup(struct netbuf *nbp, struct netconfig *ncp, int *hindex) argument 5423 hnc_register(struct netbuf *nbp, struct netconfig *ncp, host_list_t *h, int hindex) argument 5570 addr_hash(struct netbuf *nbp) argument [all...] |
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_krcvudat.c | 79 mblk_t *nbp; local 157 nbp = NULL; 165 if (nbp) 166 nbp->b_cont = tmp; 173 nbp = mp;
|
H A D | t_kconnect.c | 76 mblk_t *nbp; local 204 nbp = bp; 210 freemsg(nbp);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bio.c | 575 struct buf *nbp = NULL; local 644 if (nbp == NULL) { 659 kmem_free(nbp->b_un.b_addr, nbp->b_bufsize); 660 nbp->b_un.b_addr = NULL; 666 bfreelist.b_bufsize += nbp->b_bufsize; 672 nbp->b_dev = (o_dev_t)NODEV; 673 nbp->b_edev = NODEV; 674 nbp->b_flags = 0; 675 nbp 1718 struct buf *bp, *dp, *dwp, *nbp; local [all...] |
H A D | streamio.c | 1091 mblk_t *nbp; local 1109 nbp = bp; 1111 freeb(nbp); 1151 mblk_t *bp, *nbp; local 1406 for (nbp = bp; nbp; nbp = nbp->b_next) { 1407 if ((nbp->b_datap->db_type == 1409 (nbp 6511 mblk_t *bp, *nbp; local 7076 mblk_t *bp, *nbp; local 7403 mblk_t *nbp; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | wscons.c | 1099 mblk_t *nbp; local 1161 for (nbp = bp; nbp != NULL; nbp = nbp->b_cont) { 1162 if (nbp->b_wptr > nbp->b_rptr) { 1164 nbp->b_rptr, 1166 nbp->b_wptr - nbp 1264 mblk_t *nbp; local [all...] |
H A D | stream.c | 1359 mblk_t *head, *nbp; local 1361 if (!bp || !(nbp = head = dupb(bp))) 1365 if (!(nbp->b_cont = dupb(bp->b_cont))) { 1369 nbp = nbp->b_cont; 1382 mblk_t *head, *nbp; local 1385 ((nbp = head = DUPB_NOLOAN(bp)) == NULL)) 1389 if ((nbp->b_cont = DUPB_NOLOAN(bp->b_cont)) == NULL) { 1393 nbp = nbp 1408 mblk_t *nbp; local 1479 mblk_t *head, *nbp; local 4218 ftblk_t *nbp; local 4325 ftblk_t *nbp; local [all...] |
H A D | timod.c | 687 mblk_t *nbp; local 1189 if (((nbp = dupmsg(mp)) != NULL) || 1190 ((nbp = copymsg(mp)) != NULL)) { 1191 nbp->b_next = tp->tim_consave; 1192 tp->tim_consave = nbp; 1240 for (nbp = tp->tim_consave; nbp; nbp = nbp->b_next) { 1241 conp = (struct T_conn_ind *)nbp 2028 mblk_t *nbp; local [all...] |
H A D | tty_pty.c | 325 mblk_t *bp, *nbp; local 411 nbp = bp->b_cont; 413 if ((bp = nbp) == NULL) { 437 nbp = bp->b_cont; 439 if ((bp = nbp) == NULL)
|
/illumos-gate/usr/src/cmd/sgs/prof/common/ |
H A D | profv.c | 63 char *nbp, *nbe, *namebuf; local 73 nbp = namebuf; 81 if ((nbp + namelen + 1) > nbe) { 91 nbp = namebuf + cur_len; 95 (void) strcpy(nbp, p); 96 profsym[i].demangled_name = nbp; 98 nbp += namelen + 1;
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_bmap.c | 314 struct buf *nbp; local 781 nbp = UFS_GETBLK( 784 clrbuf(nbp); 786 TRANS_BUF(ufsvfsp, 0, bsize, nbp, DT_ABZERO); 787 UFS_BWRITE2(ufsvfsp, nbp); 788 if (nbp->b_flags & B_ERROR) { 789 err = geterror(nbp); 790 brelse(nbp); 800 brelse(nbp);
|
H A D | lufs_map.c | 1814 logmap_logscan_add(ml_unit_t *ul, struct delta *dp, off_t lof, size_t *nbp) argument 1863 *nbp = ldl_logscan_nbcommit(lof); 1865 mtm->mtm_tail_nb = *nbp; 1899 *nbp = 0; 1901 *nbp = dp->d_nb;
|
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket.c | 1352 mblk_t *nbp; local 1357 if (!(nbp = allocb(bp->b_size, 0))) 1359 nbp->b_cont = NULL; 1360 ndp = nbp->b_datap; 1362 nbp->b_rptr = ndp + (bp->b_rptr - bp->b_datap); 1363 nbp->b_wptr = nbp->b_rptr + (bp->b_wptr - bp->b_rptr); 1364 bcopy(bp->b_datap, nbp->b_datap, bp->b_size); 1365 return (nbp);
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | utilities.c | 357 struct bufarea *bp, *nbp; local 360 for (bp = bufhead.b_prev; bp && bp != &bufhead; bp = nbp) { 363 nbp = bp->b_prev;
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xencons.c | 768 mblk_t *nbp; local 812 nbp = bp->b_cont; 814 bp = nbp; 839 nbp = bp->b_cont; 841 bp = nbp; 870 nbp = bp->b_cont; 872 bp = nbp;
|
H A D | xdb.c | 638 buf_t *nbp; local 647 nbp = xdb_get_buf(vdp, NULL, xreq); 648 if (nbp) { 649 err = ldi_strategy(vdp->xs_ldi_hdl, nbp);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | util.c | 1431 char *nbp; local 1439 nbp = sm_malloc_x(nn); 1440 memmove(nbp, bp, p - bp); 1441 p = &nbp[p - bp]; 1444 bp = nbp; 2338 char *nbp = sm_pmalloc_x(l); local 2342 bp = nbp;
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 1895 mblk_t *nbp; local 1904 nbp = bp->b_next; 1909 *mpp = nbp; 1911 prev->b_next = nbp; 1923 bp = nbp;
|
/illumos-gate/usr/src/uts/sun/io/eri/ |
H A D | eri.c | 3651 mblk_t *bp, *nbp; local 3728 * Once we get a packet bp, we try allocate a new mblk, nbp 3739 if ((nbp = eri_allocb_sp(len + ERI_FSTBYTE_OFFSET))) { 3742 DB_TYPE(nbp) = M_DATA; 3743 bcopy(bp->b_rptr, nbp->b_rptr, 3750 nbp->b_rptr += ERI_FSTBYTE_OFFSET; 3751 nbp->b_wptr = nbp->b_rptr + len; 3755 ERI_PROCESS_READ(erip, nbp, sum); 3757 ERI_PROCESS_READ(erip, nbp); [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_proc.c | 123 dt_bkpt_t *dbp, *nbp; local 127 for (dbp = dt_list_next(&dpr->dpr_bps); dbp != NULL; dbp = nbp) { 133 nbp = dt_list_next(dbp);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 245 struct bufarea *bp, *nbp; local 248 for (bp = bufhead.b_prev; bp != NULL && bp != &bufhead; bp = nbp) { 251 nbp = bp->b_prev; 259 nbp->b_next = bp->b_next; 260 bp->b_next->b_prev = nbp;
|