/netbsd-6-1-5-RELEASE/sys/netsmb/ |
H A D | smb_trantcp.c | 104 static int nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, 116 nbssn_rselect(struct nbpcb *nbp, const struct timespec *ts, int events, argument 120 return pollsock(nbp->nbp_tso, ts, events); 124 nb_intr(struct nbpcb *nbp, struct lwp *l) argument 132 struct nbpcb *nbp = (void *)arg; local 134 if (arg == NULL || nbp->nbp_selectid == NULL) 136 wakeup(nbp->nbp_selectid); 171 nb_connect_in(struct nbpcb *nbp, struct sockaddr_in *to, struct lwp *l) argument 181 nbp->nbp_tso = so; 182 so->so_upcallarg = (void *)nbp; 228 nbssn_rq_request(struct nbpcb *nbp, struct lwp *l) argument 304 nbssn_recvhdr(struct nbpcb *nbp, int *lenp, u_int8_t *rpcodep, int flags, struct lwp *l) argument 340 nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, u_int8_t *rpcodep, struct lwp *l) argument 464 struct nbpcb *nbp; local 476 struct nbpcb *nbp = vcp->vc_tdata; local 492 struct nbpcb *nbp = vcp->vc_tdata; local 525 struct nbpcb *nbp = vcp->vc_tdata; local 559 struct nbpcb *nbp = vcp->vc_tdata; local 581 struct nbpcb *nbp = vcp->vc_tdata; local 604 struct nbpcb *nbp = vcp->vc_tdata; local 624 struct nbpcb *nbp = vcp->vc_tdata; local 661 struct nbpcb *nbp = vcp->vc_tdata; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/next68k/next68k/ |
H A D | disksubr.c | 77 int i, t, nbp; local 115 lp->d_npartitions = nbp = 0; 118 lp->d_partitions[nbp].p_size = 121 lp->d_partitions[nbp].p_offset = 125 lp->d_partitions[nbp].p_fsize = 128 lp->d_partitions[nbp].p_fstype = 138 lp->d_partitions[nbp].p_fstype = t; 141 lp->d_partitions[nbp].p_frag = 145 lp->d_partitions[nbp].p_frag = 0; 146 lp->d_partitions[nbp] 169 int i, t, nbp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/ |
H A D | ext2fs_balloc.c | 97 struct buf *bp, *nbp; local 235 nbp = getblk(vp, indirs[i].in_lbn, fs->e2fs_bsize, 0, 0); 236 nbp->b_blkno = fsbtodb(fs, nb); 237 clrbuf(nbp); 242 if ((error = bwrite(nbp)) != 0) { 286 nbp = getblk(vp, lbn, fs->e2fs_bsize, 0, 0); 287 nbp->b_blkno = fsbtodb(fs, nb); 289 clrbuf(nbp); 290 *bpp = nbp; 298 B_MODIFY, &nbp); [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 89 struct buf *bp, *nbp; local 277 nbp = getblk(ip->i_fd, ip->i_fs, indirs[i].in_lbn, 279 nbp->b_blkno = fsbtodb(fs, nb); 280 clrbuf(nbp); 286 if ((error = bwrite(nbp)) != 0) { 309 nbp = getblk(ip->i_fd, ip->i_fs, lbn, fs->fs_bsize); 310 nbp->b_blkno = fsbtodb(fs, nb); 311 clrbuf(nbp); 312 *bpp = nbp; 325 error = bread(ip->i_fd, ip->i_fs, lbn, (int)fs->fs_bsize, &nbp); 340 struct buf *bp, *nbp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ |
H A D | cgd.c | 373 struct buf *nbp; local 389 nbp = getiobuf(cs->sc_tvn, false); 390 if (nbp == NULL) { 404 putiobuf(nbp); 412 nbp->b_data = newaddr; 413 nbp->b_flags = bp->b_flags; 414 nbp->b_oflags = bp->b_oflags; 415 nbp->b_cflags = bp->b_cflags; 416 nbp->b_iodone = cgdiodone; 417 nbp 435 cgdiodone(struct buf *nbp) argument [all...] |
H A D | fss.c | 1086 struct buf *bp, *nbp; local 1205 nbp = getiobuf(NULL, true); 1206 nbp->b_flags = B_READ; 1207 nbp->b_resid = nbp->b_bcount = bp->b_bcount; 1208 nbp->b_bufsize = bp->b_bcount; 1209 nbp->b_data = bp->b_data; 1210 nbp->b_blkno = bp->b_blkno; 1211 nbp->b_lblkno = 0; 1212 nbp [all...] |
H A D | vnd.c | 812 struct buf *nbp; local 852 nbp = getiobuf(vp, true); 853 nestiobuf_setup(bp, nbp, offset, sz); 854 nbp->b_blkno = nbn + btodb(off); 860 (long) (vnd-vnd_softc), &nbp->vb_buf, 861 nbp->vb_buf.b_vp, nbp->vb_buf.b_blkno, 862 nbp->vb_buf.b_flags, nbp->vb_buf.b_data, 863 nbp [all...] |
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/ |
H A D | ufs_wapbl.c | 110 struct buf *bp, *nbp; local 136 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) { 137 nbp = LIST_NEXT(bp, b_vnbufs); 154 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) { 155 nbp = LIST_NEXT(bp, b_vnbufs);
|
/netbsd-6-1-5-RELEASE/games/hunt/huntd/ |
H A D | shots.c | 751 BULLET *nbp; local 780 nbp = malloc(sizeof(*nbp)); 781 *nbp = *bp; 783 move_slime(nbp, nbp->b_type == SLIME ? SLIMESPEED : LAVASPEED, next); 785 move_slime(nbp, SLIMESPEED, next); 799 BULLET *nbp; local 918 nbp = create_shot(bp->b_type, bp->b_y, bp->b_x - 1, LEFTS, 920 move_slime(nbp, spee 1097 BULLET *nbp; local [all...] |
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 246 buf_t *bp, *nbp; local 310 nbp = getiobuf(vp, true); 311 nbp->b_blkno = btodb(zio->io_offset + off); 313 nestiobuf_setup(bp, nbp, off, size); 314 (void)VOP_STRATEGY(vp, nbp);
|
/netbsd-6-1-5-RELEASE/sys/uvm/ |
H A D | uvm_swap.c | 1276 struct vndbuf *nbp; local 1331 * at the front of the nbp structure so that you can 1334 nbp = pool_get(&vndbuf_pool, PR_WAITOK); 1335 buf_init(&nbp->vb_buf); 1336 nbp->vb_buf.b_flags = bp->b_flags; 1337 nbp->vb_buf.b_cflags = bp->b_cflags; 1338 nbp->vb_buf.b_oflags = bp->b_oflags; 1339 nbp->vb_buf.b_bcount = sz; 1340 nbp->vb_buf.b_bufsize = sz; 1341 nbp [all...] |
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 103 struct buf *bp, *nbp; local 339 fs->fs_bsize, true, &nbp); 348 if ((error = bwrite(nbp)) != 0) { 423 NOCRED, B_MODIFY, &nbp); 425 brelse(nbp, 0); 430 fs->fs_bsize, true, &nbp); 434 *bpp = nbp; 525 struct buf *bp, *nbp; local 869 fs->fs_bsize, true, &nbp); 878 if ((error = bwrite(nbp)) ! [all...] |
H A D | ffs_snapshot.c | 184 struct buf *bp, *nbp; 346 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) { 347 nbp = LIST_NEXT(bp, b_vnbufs); 414 struct buf *ibp, *nbp; 496 0, &nbp); 499 bawrite(nbp); 504 fs->fs_bsize, l->l_cred, 0, &nbp); 507 bawrite(nbp); 520 fs->fs_bsize, l->l_cred, 0, &nbp); 523 bawrite(nbp); 2179 struct buf *nbp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/dkwedge/ |
H A D | dk.c | 1124 struct buf *bp, *nbp; local 1143 nbp = getiobuf(sc->sc_parent->dk_rawvp, false); 1144 if (nbp == NULL) { 1157 nbp->b_data = bp->b_data; 1158 nbp->b_flags = bp->b_flags; 1159 nbp->b_oflags = bp->b_oflags; 1160 nbp->b_cflags = bp->b_cflags; 1161 nbp->b_iodone = dkiodone; 1162 nbp->b_proc = bp->b_proc; 1163 nbp [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/libamu/ |
H A D | mount_fs.c | 912 struct netbuf *nbp; local 932 nbp = nap->addr; 934 nbp->maxlen, nbp->len, 935 get_hex_string(nbp->len, nbp->buf)); 936 nbp = nap->syncaddr; 937 plog(XLOG_DEBUG, "NA->syncaddr {netbuf} %p", nbp);
|
/netbsd-6-1-5-RELEASE/sys/dev/ata/ |
H A D | wd.c | 666 struct buf *nbp; local 669 nbp = getiobuf(NULL, false); 670 if (__predict_false(nbp == NULL)) { 679 nbp->b_error = 0; 680 nbp->b_proc = bp->b_proc; 681 nbp->b_dev = bp->b_dev; 683 nbp->b_bcount = bp->b_bcount / 2; 684 nbp->b_bufsize = bp->b_bcount / 2; 685 nbp->b_data = bp->b_data; 687 nbp [all...] |
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | vfs_subr.c | 147 struct buf *bp, *nbp; local 168 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) { 170 nbp = LIST_NEXT(bp, b_vnbufs); 181 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) { 183 nbp = LIST_NEXT(bp, b_vnbufs); 227 struct buf *bp, *nbp; local 240 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) { 242 nbp = LIST_NEXT(bp, b_vnbufs); 255 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) { 257 nbp 282 struct buf *bp, *nbp; local [all...] |
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/ |
H A D | bufcache.c | 105 struct ubuf *bp, *nbp; local 125 nbp = LIST_NEXT(bp, b_hash); 129 bp = nbp;
|
/netbsd-6-1-5-RELEASE/sys/dev/scsipi/ |
H A D | cd.c | 629 struct buf *nbp; local 660 nbp = getiobuf(NULL, false); 661 if (!nbp) { 667 nbp->b_data = malloc(count, M_DEVBUF, M_NOWAIT); 668 if (!nbp->b_data) { 671 putiobuf(nbp); 677 nbp->b_error = 0; 678 nbp->b_proc = bp->b_proc; 679 nbp->b_bcount = count; 680 nbp 929 struct buf *nbp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/fs/nilfs/ |
H A D | nilfs_vnops.c | 396 struct buf *nbp; local 452 nbp = getiobuf(NULL, true); 453 nestiobuf_setup(bp, nbp, buf_offset, blocksize); 454 KASSERT(nbp->b_vp == node->vnode); 455 /* nbp is B_ASYNC */ 457 nbp->b_lblkno = i; 458 nbp->b_blkno = v2pmap[i] * blk2dev; /* in DEV_BSIZE */ 459 nbp->b_rawblkno = nbp->b_blkno; 461 VOP_STRATEGY(nilfsdev->devvp, nbp); [all...] |
/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/ |
H A D | utilities.c | 260 struct bufarea *bp, *nbp; local 277 for (bp = bufhead.b_prev; bp && bp != &bufhead; bp = nbp) { 280 nbp = bp->b_prev;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/ |
H A D | tree-loop-distribution.c | 986 int i, nbp; local 1024 nbp = VEC_length (bitmap, partitions); 1026 if (nbp <= 1 1034 if (!generate_code_for_partition (loop, partition, i < nbp - 1)) 1051 return nbp;
|
/netbsd-6-1-5-RELEASE/sys/dev/gpib/ |
H A D | ct.c | 392 struct buf *nbp = 0; local 418 nbp = (struct buf *)geteblk(MAXBSIZE); 419 bp->b_data = nbp->b_data; 439 if (nbp) 440 brelse(nbp, 0);
|
/netbsd-6-1-5-RELEASE/sys/arch/hp300/dev/ |
H A D | ct.c | 439 struct buf *nbp = 0; local 459 nbp = (struct buf *)geteblk(MAXBSIZE); 460 bp->b_data = nbp->b_data; 481 if (nbp) 482 brelse(nbp, 0);
|
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/ |
H A D | lfs_inode.c | 838 struct buf *bp, *nbp; local 855 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) { 856 nbp = LIST_NEXT(bp, b_vnbufs); 877 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) { 878 nbp = LIST_NEXT(bp, b_vnbufs);
|