HomeSort by: relevance | last modified time | path
    Searched defs:nbp (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/sys/arch/next68k/next68k/
disksubr.c 78 int i, t, nbp; local in function:parse_nextstep_label
116 lp->d_npartitions = nbp = 0;
119 lp->d_partitions[nbp].p_size =
122 lp->d_partitions[nbp].p_offset =
126 lp->d_partitions[nbp].p_fsize =
129 lp->d_partitions[nbp].p_fstype = FS_BSDFFS;
139 lp->d_partitions[nbp].p_fstype = t;
142 lp->d_partitions[nbp].p_frag =
146 lp->d_partitions[nbp].p_frag = 0;
147 lp->d_partitions[nbp].p_cpg
170 int i, t, nbp; local in function:build_nextstep_label
    [all...]
  /src/sys/ufs/ext2fs/
ext2fs_balloc.c 100 struct buf *bp, *nbp; local in function:ext2fs_balloc
236 nbp = getblk(vp, indirs[i].in_lbn, fs->e2fs_bsize, 0, 0);
237 nbp->b_blkno = EXT2_FSBTODB(fs, nb);
238 clrbuf(nbp);
243 if ((error = bwrite(nbp)) != 0) {
287 nbp = getblk(vp, lbn, fs->e2fs_bsize, 0, 0);
288 nbp->b_blkno = EXT2_FSBTODB(fs, nb);
290 clrbuf(nbp);
291 *bpp = nbp;
299 B_MODIFY, &nbp);
    [all...]
  /src/usr.sbin/makefs/ffs/
ffs_balloc.c 90 struct buf *bp, *nbp; local in function:ffs_balloc_ufs1
275 nbp = getblk(ip->i_devvp, indirs[i].in_lbn, fs->fs_bsize, 0, 0);
276 nbp->b_blkno = FFS_FSBTODB(fs, nb);
277 clrbuf(nbp);
283 if ((error = bwrite(nbp)) != 0) {
306 nbp = getblk(ip->i_devvp, lbn, fs->fs_bsize, 0, 0);
307 nbp->b_blkno = FFS_FSBTODB(fs, nb);
308 clrbuf(nbp);
309 *bpp = nbp;
322 error = bread(ip->i_devvp, lbn, (int)fs->fs_bsize, 0, &nbp);
336 struct buf *bp, *nbp; local in function:ffs_balloc_ufs2
    [all...]
  /src/sbin/fsck_ext2fs/
utilities.c 260 struct bufarea *bp, *nbp; local in function:ckfini
277 for (bp = bufhead.b_prev; bp && bp != &bufhead; bp = nbp) {
280 nbp = bp->b_prev;
  /src/sbin/fsck_lfs/
bufcache.c 105 struct ubuf *bp, *nbp; local in function:bufrehash
127 nbp = LIST_NEXT(bp, b_hash);
131 bp = nbp;
segwrite.c 419 struct ubuf *bp, *nbp; local in function:lfs_gather
424 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
425 nbp = LIST_NEXT(bp, b_vnbufs);
  /src/sys/fs/nfs/client/
nfs_clsubs.c 346 struct buf *bp, *nbp; local in function:ncl_clearcommit
354 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
  /src/sys/ufs/ffs/
ffs_balloc.c 114 struct buf *bp, *nbp; local in function:ffs_balloc_ufs1
348 fs->fs_bsize, true, &nbp);
357 if ((error = bwrite(nbp)) != 0) {
432 B_MODIFY, &nbp);
438 fs->fs_bsize, true, &nbp);
442 *bpp = nbp;
532 struct buf *bp, *nbp; local in function:ffs_balloc_ufs2
866 fs->fs_bsize, true, &nbp);
875 if ((error = bwrite(nbp)) != 0) {
950 B_MODIFY, &nbp);
    [all...]
ffs_snapshot.c 182 struct buf *bp, *nbp;
348 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) {
349 nbp = LIST_NEXT(bp, b_vnbufs);
355 nbp = LIST_FIRST(&vp->v_cleanblkhd);
428 struct buf *ibp, *nbp;
513 0, &nbp);
516 bawrite(nbp);
521 fs->fs_bsize, l->l_cred, 0, &nbp);
524 bawrite(nbp);
537 fs->fs_bsize, l->l_cred, 0, &nbp);
2187 struct buf *nbp; local in function:rwfsblk
    [all...]
  /src/games/hunt/huntd/
shots.c 753 BULLET *nbp; local in function:chkslime
782 nbp = malloc(sizeof(*nbp));
783 *nbp = *bp;
785 move_slime(nbp, nbp->b_type == SLIME ? SLIMESPEED : LAVASPEED, next);
787 move_slime(nbp, SLIMESPEED, next);
801 BULLET *nbp; local in function:move_slime
920 nbp = create_shot(bp->b_type, bp->b_y, bp->b_x - 1, LEFTS,
922 move_slime(nbp, speed - 1, next)
1099 BULLET *nbp; local in function:find_under
    [all...]
  /src/sys/kern/
bufq_priocscan.c 167 struct buf *nbp; local in function:cscan_get
177 nbp = rb_tree_find_node_geq(&q->cq_buffers, key);
178 if (nbp != NULL && cscan_tree_compare_nodes(q, nbp, bp) < 0) {
180 nbp, bp);
vfs_subr.c 203 struct buf *bp, *nbp; local in function:vinvalbuf
224 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
226 nbp = LIST_NEXT(bp, b_vnbufs);
237 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) {
239 nbp = LIST_NEXT(bp, b_vnbufs);
283 struct buf *bp, *nbp; local in function:vtruncbuf
296 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
298 nbp = LIST_NEXT(bp, b_vnbufs);
311 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) {
313 nbp = LIST_NEXT(bp, b_vnbufs)
338 struct buf *bp, *nbp; local in function:vflushbuf
    [all...]
  /src/sbin/fsck_ffs/
utilities.c 267 struct bufarea *bp, *nbp; local in function:ckfini
298 for (bp = bufhead.b_prev; bp && bp != &bufhead; bp = nbp) {
301 nbp = bp->b_prev;
  /src/sys/ufs/lfs/
lfs_inode.c 869 struct buf *bp, *nbp; local in function:lfs_vtruncbuf
886 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) {
887 nbp = LIST_NEXT(bp, b_vnbufs);
907 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
908 nbp = LIST_NEXT(bp, b_vnbufs);
lfs_segment.c 199 struct buf *bp, *nbp, *tbp, *tnbp; local in function:lfs_vflush
225 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
226 nbp = LIST_NEXT(bp, b_vnbufs);
311 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
312 nbp = LIST_NEXT(bp, b_vnbufs);
1388 struct buf *bp, *nbp; local in function:lfs_ungather
1399 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
1401 nbp = LIST_NEXT(bp, b_vnbufs);
1424 struct buf *bp, *nbp; local in function:lfs_gather
1450 for (; bp && bp != BEG_OF_LIST; bp = nbp) {
    [all...]
  /src/sys/dev/
fss.c 1164 struct buf *bp, *nbp; local in function:fss_bs_thread
1287 nbp = getiobuf(NULL, true);
1288 nbp->b_flags = B_READ | (bp->b_flags & B_PHYS);
1289 nbp->b_resid = nbp->b_bcount = bp->b_bcount;
1290 nbp->b_bufsize = bp->b_bcount;
1291 nbp->b_data = bp->b_data;
1292 nbp->b_blkno = bp->b_blkno;
1293 nbp->b_lblkno = 0;
1294 nbp->b_dev = sc->sc_bdev
    [all...]
cgd.c 850 struct buf *nbp; local in function:cgd_diskstart
862 nbp = getiobuf(sc->sc_tvn, false);
863 if (nbp == NULL)
868 putiobuf(nbp);
874 cx->cx_nbp = nbp;
887 putiobuf(nbp);
908 struct buf *nbp; local in function:cgd_diskstart2
911 nbp = cx->cx_nbp;
913 nbp->b_data = cx->cx_dstv;
914 nbp->b_flags = bp->b_flags
988 struct buf *nbp = cx->cx_nbp; local in function:cgd_iodone2
    [all...]
vnd.c 869 struct buf *nbp = NULL; local in function:handle_with_strategy
933 nbp = getiobuf(vp, true);
934 nestiobuf_setup(bp, nbp, offset, sz);
935 nbp->b_blkno = nbn + btodb(off);
941 (long) (vnd-vnd_softc), &nbp->vb_buf,
942 nbp->vb_buf.b_vp, nbp->vb_buf.b_blkno,
943 nbp->vb_buf.b_flags, nbp->vb_buf.b_data,
944 nbp->vb_buf.b_bcount)
    [all...]
  /src/sys/dev/gpib/
ct.c 411 struct buf *nbp = 0; local in function:ctcommand
437 nbp = (struct buf *)geteblk(MAXBSIZE);
438 bp->b_data = nbp->b_data;
458 if (nbp)
459 brelse(nbp, 0);
  /src/sys/fs/nilfs/
nilfs_vnops.c 389 struct buf *nbp; local in function:nilfs_read_filebuf
445 nbp = getiobuf(NULL, true);
446 nestiobuf_setup(bp, nbp, buf_offset, blocksize);
447 KASSERT(nbp->b_vp == node->vnode);
448 /* nbp is B_ASYNC */
450 nbp->b_lblkno = i;
451 nbp->b_blkno = v2pmap[i] * blk2dev; /* in DEV_BSIZE */
452 nbp->b_rawblkno = nbp->b_blkno;
454 VOP_STRATEGY(nilfsdev->devvp, nbp);
    [all...]
  /src/sys/arch/hp300/dev/
ct.c 454 struct buf *nbp = 0; local in function:ctcommand
474 nbp = (struct buf *)geteblk(MAXBSIZE);
475 bp->b_data = nbp->b_data;
496 if (nbp)
497 brelse(nbp, 0);
  /src/sys/net/
if_ppp.c 502 struct bpf_program *bp, *nbp; local in function:pppioctl
706 nbp = (struct bpf_program *)data;
707 if ((unsigned) nbp->bf_len > BPF_MAXINSNS)
709 newcodelen = nbp->bf_len * sizeof(struct bpf_insn);
713 if ((error = copyin((void *)nbp->bf_insns,
718 if (!bpf_validate(newcode, nbp->bf_len)) {
746 bp->bf_len = nbp->bf_len;
  /src/libexec/lfs_cleanerd/
lfs_cleanerd.c 579 struct ubuf *nbp; local in function:parse_pseg
585 0, &nbp);
586 nssp = (SEGSUM *)nbp->b_data;
590 bwrite(nbp);
  /src/sys/uvm/
uvm_swap.c 1387 struct vndbuf *nbp; local in function:sw_reg_strategy
1442 * at the front of the nbp structure so that you can
1445 nbp = pool_get(&vndbuf_pool, PR_WAITOK);
1446 buf_init(&nbp->vb_buf);
1447 nbp->vb_buf.b_flags = bp->b_flags;
1448 nbp->vb_buf.b_cflags = bp->b_cflags;
1449 nbp->vb_buf.b_oflags = bp->b_oflags;
1450 nbp->vb_buf.b_bcount = sz;
1451 nbp->vb_buf.b_bufsize = sz;
1452 nbp->vb_buf.b_error = 0
    [all...]
  /src/sys/dev/dkwedge/
dk.c 1568 struct buf *bp, *nbp; local in function:dkstart
1586 nbp = getiobuf(sc->sc_parent->dk_rawvp, false);
1588 if (nbp == NULL) {
1607 putiobuf(nbp);
1618 nbp->b_data = bp->b_data;
1619 nbp->b_flags = bp->b_flags;
1620 nbp->b_oflags = bp->b_oflags;
1621 nbp->b_cflags = bp->b_cflags;
1622 nbp->b_iodone = dkiodone;
1623 nbp->b_proc = bp->b_proc
    [all...]

Completed in 32 milliseconds

1 2