Lines Matching refs:file
8 * you may not use this file except in compliance with the License.
31 #include "fs/file.h"
42 * struct file instance instead of a file descriptor. Currently used
47 ssize_t file_pread(struct file *filep, void *buf, size_t nbytes,
56 * file pointer, but will return its current setting
67 /* Then seek to the correct position in the file */
72 /* This might fail is the offset is beyond the end of file */
82 /* Restore the file position */
104 * reads from a given position in the file without changing the file
107 * inside the file. An attempt to perform a pread() on a file that is
116 * file File structure instance
119 * offset The file offset
123 * end-of-file condition, or -1 on failure with errno set appropriately.
130 struct file *filep;
132 /* Get the file structure corresponding to the file descriptor. */