Lines Matching refs:idir
39 static inline void seekmountptdir(struct fs_dirent_s *idir, off_t offset) in seekmountptdir() argument
50 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() local
127 if (!idir || !idir->fd_root || idir->fd_status != DIRENT_MAGIC) in seekdir()
139 seekmountptdir(idir, offset); in seekdir()