Lines Matching refs:vdb
374 smb_vdb_t *vdb = ¶m->rw_vdb;
378 vdb->vdb_tag = 0;
379 vdb->vdb_uio.uio_iov = &vdb->vdb_iovec[0];
380 vdb->vdb_uio.uio_iovcnt = MAX_IOVEC;
381 vdb->vdb_uio.uio_resid = param->rw_count;
382 vdb->vdb_uio.uio_loffset = (offset_t)param->rw_offset;
383 vdb->vdb_uio.uio_segflg = UIO_SYSSPACE;
384 vdb->vdb_uio.uio_extflg = UIO_COPY_DEFAULT;
413 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid;
414 top = smb_mbuf_allocate(&vdb->vdb_uio);
416 rc = smb_fsop_read(sr, sr->user_cr, node, &vdb->vdb_uio);
418 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid;
424 sr->raw_data.max_bytes = vdb->vdb_uio.uio_resid;
425 top = smb_mbuf_allocate(&vdb->vdb_uio);
427 rc = smb_opipe_read(sr, &vdb->vdb_uio);
429 sr->raw_data.max_bytes -= vdb->vdb_uio.uio_resid;
439 param->rw_count -= vdb->vdb_uio.uio_resid;