Lines Matching refs:pos
3176 off_t pos;
3194 for(pos=start+len-chunk; pos >= start; pos-=chunk) {
3195 ret = vn_rdwr(UIO_READ, xvp, buff, chunk, pos, UIO_SYSSPACE, IO_NODELOCKED|IO_NOAUTH, ucred, &iolen, p);
3198 pos, ret, chunk, ret);
3202 ret = vn_rdwr(UIO_WRITE, xvp, buff, chunk, pos + delta, UIO_SYSSPACE, IO_NODELOCKED|IO_NOAUTH, ucred, &iolen, p);
3205 pos+delta, ret, chunk, ret);
3209 if ((pos - (off_t)chunk) < start) {
3210 chunk = pos - start;
3229 off_t pos;
3249 for(pos = start; pos < end; pos += chunk) {
3250 ret = vn_rdwr(UIO_READ, xvp, buff, chunk, pos, UIO_SYSSPACE, IO_NODELOCKED|IO_NOAUTH, ucred, &iolen, p);
3253 pos, ret, chunk, ret);
3257 ret = vn_rdwr(UIO_WRITE, xvp, buff, chunk, pos - delta, UIO_SYSSPACE, IO_NODELOCKED|IO_NOAUTH, ucred, &iolen, p);
3260 pos+delta, ret, chunk, ret);
3264 if ((pos + (off_t)chunk) > end) {
3265 chunk = end - pos;