Lines Matching refs:nbp
608 struct buf *nbp;
614 nbp = getiobuf(NULL, false);
615 if (nbp == NULL)
618 nbp->b_data = malloc(count, M_DEVBUF, M_NOWAIT);
619 if (nbp->b_data == NULL) {
620 putiobuf(nbp);
625 nbp->b_error = 0;
626 nbp->b_dev = bp->b_dev;
627 nbp->b_proc = bp->b_proc;
628 nbp->b_bcount = count;
629 nbp->b_bufsize = count;
630 nbp->b_blkno = blkno;
631 nbp->b_flags = bp->b_flags | B_READ;
632 nbp->b_oflags = bp->b_oflags;
633 nbp->b_cflags = bp->b_cflags;
634 nbp->b_iodone = cd_bounce_buffer_done;
635 nbp->b_private = priv;
637 BIO_COPYPRIO(nbp, bp);
639 *nbpp = nbp;