Searched refs:nbp (Results 1 - 25 of 44) sorted by relevance

12

/netbsd-current/sys/arch/next68k/next68k/
H A Ddisksubr.c78 int i, t, nbp; local
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]
170 int i, t, nbp; local
[all...]
/netbsd-current/usr.sbin/makefs/ffs/
H A Dffs_balloc.c90 struct buf *bp, *nbp; local
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
[all...]
/netbsd-current/sys/ufs/ext2fs/
H A Dext2fs_balloc.c100 struct buf *bp, *nbp; local
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...]
/netbsd-current/games/hunt/huntd/
H A Dshots.c753 BULLET *nbp; local
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
920 nbp = create_shot(bp->b_type, bp->b_y, bp->b_x - 1, LEFTS,
922 move_slime(nbp, spee
1099 BULLET *nbp; local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
H A Damdgpu_dce_mem_input.c270 struct dce_watermarks nbp,
287 program_nbp_watermark(dce_mi, 2, nbp.a_mark); /* set a */
288 program_nbp_watermark(dce_mi, 1, nbp.d_mark); /* set d */
295 struct dce_watermarks nbp,
316 program_nbp_watermark(dce_mi, 0, nbp.a_mark); /* set a */
317 program_nbp_watermark(dce_mi, 1, nbp.b_mark); /* set b */
318 program_nbp_watermark(dce_mi, 2, nbp.c_mark); /* set c */
319 program_nbp_watermark(dce_mi, 3, nbp.d_mark); /* set d */
328 struct dce_watermarks nbp,
349 program_nbp_watermark(dce_mi, 0, nbp
268 dce_mi_program_display_marks( struct mem_input *mi, struct dce_watermarks nbp, struct dce_watermarks stutter_exit, struct dce_watermarks stutter_enter, struct dce_watermarks urgent, uint32_t total_dest_line_time_ns) argument
294 dce112_mi_program_display_marks(struct mem_input *mi, struct dce_watermarks nbp, struct dce_watermarks stutter_exit, struct dce_watermarks stutter_entry, struct dce_watermarks urgent, uint32_t total_dest_line_time_ns) argument
327 dce120_mi_program_display_marks(struct mem_input *mi, struct dce_watermarks nbp, struct dce_watermarks stutter_exit, struct dce_watermarks stutter_entry, struct dce_watermarks urgent, uint32_t total_dest_line_time_ns) argument
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/
H A Dmem_input.h110 struct dce_watermarks nbp,
118 struct dce_watermarks nbp,
/netbsd-current/sys/uvm/
H A Duvm_swap.c1387 struct vndbuf *nbp; local
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
[all...]
/netbsd-current/sys/arch/arm/arm32/
H A Darm32_boot.c165 const struct boot_physmem *bp, size_t nbp)
252 KASSERT(bp != NULL || nbp == 0);
253 KASSERT(bp == NULL || nbp != 0);
276 for (size_t j = 0; j < nbp && start < end; j++) {
164 initarm_common(vaddr_t kvm_base, vsize_t kvm_size, const struct boot_physmem *bp, size_t nbp) argument
/netbsd-current/sys/kern/
H A Dbufq_priocscan.c167 struct buf *nbp; local
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);
H A Dvfs_subr.c202 struct buf *bp, *nbp; local
223 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
225 nbp = LIST_NEXT(bp, b_vnbufs);
236 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) {
238 nbp = LIST_NEXT(bp, b_vnbufs);
282 struct buf *bp, *nbp; local
295 for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
297 nbp = LIST_NEXT(bp, b_vnbufs);
310 for (bp = LIST_FIRST(&vp->v_cleanblkhd); bp; bp = nbp) {
312 nbp
337 struct buf *bp, *nbp; local
[all...]
/netbsd-current/sys/dev/
H A Dcgd.c850 struct buf *nbp; local
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
911 nbp = cx->cx_nbp;
913 nbp->b_data = cx->cx_dstv;
914 nbp
935 cgdiodone(struct buf *nbp) argument
988 struct buf *nbp = cx->cx_nbp; local
[all...]
H A Dfss.c1164 struct buf *bp, *nbp; local
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
[all...]
H A Dvnd.c869 struct buf *nbp = NULL; local
930 nbp = getiobuf(vp, true);
931 nestiobuf_setup(bp, nbp, offset, sz);
932 nbp->b_blkno = nbn + btodb(off);
938 (long) (vnd-vnd_softc), &nbp->vb_buf,
939 nbp->vb_buf.b_vp, nbp->vb_buf.b_blkno,
940 nbp->vb_buf.b_flags, nbp->vb_buf.b_data,
941 nbp
[all...]
/netbsd-current/sys/arch/arm/include/arm32/
H A Dmachdep.h102 const struct boot_physmem *bp, size_t nbp);
/netbsd-current/sys/ufs/ffs/
H A Dffs_balloc.c114 struct buf *bp, *nbp; local
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
866 fs->fs_bsize, true, &nbp);
875 if ((error = bwrite(nbp)) != 0) {
950 B_MODIFY, &nbp);
[all...]
H A Dffs_snapshot.c182 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
[all...]
/netbsd-current/sys/dev/dkwedge/
H A Ddk.c1558 struct buf *bp, *nbp; local
1576 nbp = getiobuf(sc->sc_parent->dk_rawvp, false);
1578 if (nbp == NULL) {
1597 putiobuf(nbp);
1608 nbp->b_data = bp->b_data;
1609 nbp->b_flags = bp->b_flags;
1610 nbp->b_oflags = bp->b_oflags;
1611 nbp->b_cflags = bp->b_cflags;
1612 nbp->b_iodone = dkiodone;
1613 nbp
[all...]
/netbsd-current/sbin/fsck_lfs/
H A Dbufcache.c105 struct ubuf *bp, *nbp; local
127 nbp = LIST_NEXT(bp, b_hash);
131 bp = nbp;
/netbsd-current/external/bsd/am-utils/dist/libamu/
H A Dmount_fs.c734 struct netbuf *nbp; local
755 nbp = nap->addr;
757 nbp->maxlen, nbp->len,
758 get_hex_string(nbp->len, nbp->buf));
759 nbp = nap->syncaddr;
760 plog(XLOG_DEBUG, "NA->syncaddr {netbuf} %p", nbp);
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dvdev_disk.c434 buf_t *bp, *nbp; local
519 nbp = getiobuf(vp, true);
520 nbp->b_blkno = btodb(zio->io_offset + off);
522 nestiobuf_setup(bp, nbp, off, size);
523 (void)VOP_STRATEGY(vp, nbp);
/netbsd-current/sys/fs/nilfs/
H A Dnilfs_vnops.c389 struct buf *nbp; local
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...]
/netbsd-current/sbin/fsck_ext2fs/
H A Dutilities.c260 struct bufarea *bp, *nbp; local
277 for (bp = bufhead.b_prev; bp && bp != &bufhead; bp = nbp) {
280 nbp = bp->b_prev;
/netbsd-current/sys/arch/aarch64/aarch64/
H A Daarch64_machdep.c244 const struct boot_physmem *bp, size_t nbp)
370 KASSERT(bp != NULL || nbp == 0);
371 KASSERT(bp == NULL || nbp != 0);
395 for (size_t j = 0; j < nbp && start < end; j++) {
243 initarm_common(vaddr_t kvm_base, vsize_t kvm_size, const struct boot_physmem *bp, size_t nbp) argument
/netbsd-current/sys/fs/nfs/client/
H A Dnfs_clsubs.c346 struct buf *bp, *nbp; local
354 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
/netbsd-current/sys/dev/gpib/
H A Dct.c411 struct buf *nbp = 0; local
437 nbp = (struct buf *)geteblk(MAXBSIZE);
438 bp->b_data = nbp->b_data;
458 if (nbp)
459 brelse(nbp, 0);

Completed in 274 milliseconds

12