Lines Matching refs:file
49 #include "fs/file.h"
60 * struct file instance instead of a file descriptor. Currently used
65 ssize_t file_pread64(struct file *filep, void *buf, size_t nbytes,
74 * file pointer, but will return its current setting
85 /* Then seek to the correct position in the file */
90 /* This might fail is the offset is beyond the end of file */
100 /* Restore the file position */
122 * reads from a given position in the file without changing the file
125 * inside the file. An attempt to perform a pread() on a file that is
134 * file File structure instance
137 * offset The file offset
141 * end-of-file condition, or -1 on failure with errno set appropriately.
148 struct file *filep;
150 /* Get the file structure corresponding to the file descriptor. */