Lines Matching defs:filep
54 * filep - File structure instance
64 ssize_t file_read(struct file *filep, void *buf, size_t nbytes)
75 else if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_WRONLY)
86 else if (filep->ops && filep->ops->read)
93 ret = (int)filep->ops->read(filep, (char *)buf, (size_t)nbytes);
136 struct file *filep = NULL;
200 int ret = fs_getfilep(fd, &filep);
207 if (filep->f_oflags & O_DIRECTORY)
215 return file_read(filep, buf, nbytes);