Lines Matching defs:seek_by
239 off_t new_pos, seek_by;
244 seek_by = offset;
247 seek_by -= sf->tot_pos;
259 if (seek_by > 0) {
274 for (; seek_by > 0; seek_by -= nread) {
276 errno = splitfs_read(f, tmp, min(seek_by, SEEK_BUF), &resid);
277 nread = min(seek_by, SEEK_BUF) - resid;
287 if (seek_by != 0) {
289 if (sf->file_pos + seek_by < 0)
291 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR);