Lines Matching defs:startoffset
302 const off_t startoffset = trunc_blk(origoffset);
306 const int ridx = (origoffset - startoffset) >> PAGE_SHIFT;
309 ((endoffset - startoffset) >> PAGE_SHIFT);
325 ridx, npages, startoffset, endoffset);
448 npages = (endoffset - startoffset) >> PAGE_SHIFT;
449 if (startoffset != origoffset || npages != orignmempages) {
462 startoffset, endoffset, 0,0);
464 if (uvn_findpages(uobj, startoffset, &npgs, pgs, NULL,
478 error = genfs_getpages_read(vp, pgs, npages, startoffset, diskeof,
577 off_t startoffset, off_t diskeof,
600 bytes = MIN(totalbytes, MAX(diskeof - startoffset, 0));
652 for (offset = startoffset;
664 pidx = (offset - startoffset) >> PAGE_SHIFT;
732 memset((char *)kva + (offset - startoffset), 0,
752 if (offset == startoffset && iobytes == bytes) {
758 nestiobuf_setup(mbp, bp, offset - startoffset, iobytes);
795 error = GOP_ALLOC(vp, startoffset,
798 startoffset, npages << PAGE_SHIFT, error,0);
1440 off_t eof, offset, startoffset;
1467 startoffset = off;
1468 bytes = MIN(len, eof - startoffset);
1503 for (offset = startoffset;
1543 memset((char *)kva + (offset - startoffset), 0,
1556 if (offset == startoffset && iobytes == bytes) {
1562 nestiobuf_setup(mbp, bp, offset - startoffset, iobytes);