Lines Matching refs:vb_buf
186 struct buf vb_buf; member
1380 nbp->vb_buf.b_flags = bp->b_flags | B_CALL;
1381 nbp->vb_buf.b_bcount = sz;
1382 nbp->vb_buf.b_bufsize = sz;
1383 nbp->vb_buf.b_error = 0;
1384 nbp->vb_buf.b_data = addr;
1385 nbp->vb_buf.b_blkno = nbn + btodb(off);
1386 nbp->vb_buf.b_proc = bp->b_proc;
1387 nbp->vb_buf.b_iodone = sw_reg_iodone;
1388 nbp->vb_buf.b_vp = NULLVP;
1389 nbp->vb_buf.b_vnbufs.le_next = NOLIST;
1390 LIST_INIT(&nbp->vb_buf.b_dep);
1398 nbp->vb_buf.b_dirtyoff = 0;
1399 nbp->vb_buf.b_dirtyend = sz;
1401 nbp->vb_buf.b_dirtyoff =
1403 nbp->vb_buf.b_dirtyend =
1408 nbp->vb_buf.b_validoff = 0;
1409 nbp->vb_buf.b_validend = sz;
1411 nbp->vb_buf.b_validoff =
1413 nbp->vb_buf.b_validend =
1423 nbp->vb_buf.b_cylinder = nbp->vb_buf.b_blkno;
1432 bgetvp(vp, &nbp->vb_buf);
1435 disksort(&sdp->swd_tab, &nbp->vb_buf);
1514 vbp, vbp->vb_buf.b_vp, vbp->vb_buf.b_blkno, vbp->vb_buf.b_data);
1516 vbp->vb_buf.b_bcount, vbp->vb_buf.b_resid, 0, 0);
1520 resid = vbp->vb_buf.b_bcount - vbp->vb_buf.b_resid;
1524 if (vbp->vb_buf.b_error) {
1526 vbp->vb_buf.b_error, 0, 0, 0);
1529 vnx->vx_error = vbp->vb_buf.b_error;
1535 if (vbp->vb_buf.b_vp != NULL) {
1536 brelvp(&vbp->vb_buf);