Lines Matching defs:dp
60 struct dirent *dp;
81 dp = (struct dirent *)
84 if ((intptr_t)dp & _DIRENT_ALIGN(dp)) {
89 if (dp->d_reclen > dirp->dd_len + 1 - dirp->dd_loc) {
93 dirp->dd_loc += dp->d_reclen;
94 if (dp->d_ino == 0 && skipdeleted)
96 if (dp->d_type == DT_WHT && (dirp->dd_flags & DTF_HIDEW))
98 return dp;
108 struct dirent *dp;
113 dp = _readdir_unlocked(dirp, 1);
118 dp = _readdir_unlocked(dirp, 1);
119 return (dp);
125 struct dirent *dp;
133 if ((dp = _readdir_unlocked(dirp, 1)) != NULL)
134 memcpy(entry, dp, (size_t)_DIRENT_SIZE(dp));
139 if ((dp = _readdir_unlocked(dirp, 1)) != NULL)
140 memcpy(entry, dp, (size_t)_DIRENT_SIZE(dp));
143 if (dp == NULL)
148 if (dp != NULL)