Lines Matching defs:offset
67 * offset Defines the offset to position to
68 * whence Defines how to use offset
71 * The resulting offset on success. A negated errno value is returned on
76 off64_t file_seek64(struct file *filep, off64_t offset, int whence)
95 pos = filep->ops->seek(filep, offset, whence);
111 offset += filep->f_pos;
116 if (offset >= 0)
118 filep->f_pos = offset; /* Might be beyond the end-of-file */
148 * The lseek64() function repositions the offset of the open file associated
149 * with the file descriptor fd to the argument 'offset' according to the
153 * The offset is set to offset bytes.
155 * The offset is set to its current location plus offset bytes.
157 * The offset is set to the size of the file plus offset bytes.
159 * The lseek64() function allows the file offset to be set beyond the end of the
166 * offset Defines the offset to position to
167 * whence Defines how to use offset
170 * The resulting offset on success. -1 on failure withi errno set properly:
174 * resulting file offset would be negative, or beyond the end of a
176 * EOVERFLOW The resulting file offset cannot be represented in an off_t.
181 off64_t lseek64(int fd, off64_t offset, int whence)
196 return file_seek64(filep, offset, whence);