Lines Matching refs:dir
37 struct DIR *dir = (struct DIR *)xmalloc (sizeof (struct DIR)); in opendir() local
39 struct FAB *dfab = &dir->fab; in opendir()
42 memset (dir, 0, sizeof *dir); in opendir()
58 free (dir); in opendir()
64 return dir; in opendir()
78 readdir (DIR *dir) in readdir() argument
80 struct FAB *dfab = &dir->fab; in readdir()
82 struct direct *dentry = &dir->dir; in readdir()
87 dnam->nam$l_rsa = dir->d_result; in readdir()
117 closedir (DIR *dir) in closedir() argument
119 if (dir != NULL) in closedir()
121 struct FAB *dfab = &dir->fab; in closedir()
126 free (dir); in closedir()