Searched refs:idir (Results 1 – 7 of 7) sorted by relevance
57 struct fs_dirent_s *idir = (struct fs_dirent_s *)dirp; in __readdir() local64 if (!idir) in __readdir()70 vnode_ptr = idir->fd_root; in __readdir()83 idir->read_cnt = MAX_DIRENT_NUM; in __readdir()85 idir->read_cnt = 1; in __readdir()90 file_cnt = vnode_ptr->vop->Readdir(vnode_ptr, idir); in __readdir()101 return &(idir->fd_dir[0]); in __readdir()147 struct fs_dirent_s *idir = (struct fs_dirent_s *)dirp; in readdir() local149 if (idir->cur_pos != 0 && idir->cur_pos < MAX_DIRENT_NUM && idir->cur_pos < idir->end_pos) in readdir()151 de = &(idir->fd_dir[idir->cur_pos]); in readdir()[all …]
39 static inline void seekmountptdir(struct fs_dirent_s *idir, off_t offset) in seekmountptdir() argument50 vnode = idir->fd_root; in seekmountptdir()51 if (offset < idir->fd_position) in seekmountptdir()57 vnode->vop->Rewinddir(vnode, idir); in seekmountptdir()71 pos = idir->fd_position; in seekmountptdir()78 idir->read_cnt = 1; in seekmountptdir()83 vnode->vop->Readdir(vnode, idir) <= 0) in seekmountptdir()98 idir->fd_position = pos; in seekmountptdir()125 struct fs_dirent_s *idir = (struct fs_dirent_s *)dirp; in seekdir() local127 if (!idir || !idir->fd_root || idir->fd_status != DIRENT_MAGIC) in seekdir()[all …]
55 struct fs_dirent_s *idir = (struct fs_dirent_s *)dirp; in closedir() local61 if (!idir || idir->fd_status != DIRENT_MAGIC) in closedir()67 if (idir->fd_root) in closedir()72 vnode = idir->fd_root; in closedir()76 ret = vnode->vop->Closedir(vnode, idir); in closedir()94 idir->fd_status = 0; in closedir()95 free(idir); in closedir()100 free(idir); in closedir()
53 struct fs_dirent_s *idir = (struct fs_dirent_s *)dirp; in rewinddir() local56 if (!idir || !idir->fd_root || idir->fd_status != DIRENT_MAGIC) in rewinddir()66 vnode_ptr = idir->fd_root; in rewinddir()71 vnode_ptr->vop->Rewinddir(vnode_ptr, idir); in rewinddir()80 idir->fd_position = 0; in rewinddir()
77 struct fs_dirent_s *idir = (struct fs_dirent_s *)dirp; in telldir() local79 if (!idir || !idir->fd_root) in telldir()87 return idir->fd_position; in telldir()
165 idir, ifile = os.path.split(self.__sb.colordb().filename())170 initialdir=idir,
81 idir=include/ idir=$(CORE) idir=FT:include/ nostackcheck nochkabort\