Lines Matching refs:b_bcount
169 tt->tt_aio.aio_nbytes = bp->b_bcount;
180 (long long)bp->b_bcount);
185 if ((offset < 0) || (offset + bp->b_bcount > disksize)) {
188 bp->b_resid = bp->b_bcount;
226 bp->b_resid = bp->b_bcount;
272 // (unsigned int)bp->b_bcount, (long long)offset, bp->b_data, bp->b_flags);
275 thunk_assert_presence((vaddr_t) bp->b_data, (size_t) bp->b_bcount);
279 ret = thunk_pread(sc->sc_fd, bp->b_data, bp->b_bcount, offset);
281 ret = thunk_pwrite(sc->sc_fd, bp->b_data, bp->b_bcount, offset);
288 if ((ret >= 0) && (ret == bp->b_bcount)) {
293 bp->b_resid = bp->b_bcount;