Lines Matching defs:filep
41 struct file *filep = NULL;
44 ret = fs_getfilep(fd, &filep);
52 if (filep->f_oflags & O_DIRECTORY) {
54 if (filep->f_dir == NULL) {
58 rewinddir(filep->f_dir);
60 seekdir(filep->f_dir, offset);
62 ret = telldir(filep->f_dir);
70 ret = file_seek(filep, offset, whence);
80 struct file *filep = NULL;
84 ret = fs_getfilep(fd, &filep);
92 if (filep->f_oflags & O_DIRECTORY) {
94 if (filep->f_dir == NULL) {
98 rewinddir(filep->f_dir);
100 seekdir(filep->f_dir, offsetLow);
102 ret = telldir(filep->f_dir);
110 ret = file_seek64(filep, offset, whence);