Lines Matching refs:dp
114 * null byte (dp->d_namlen+1), rounded up to a 8 byte boundary.
121 #define _GENERIC_DIRSIZ(dp) _GENERIC_DIRLEN((dp)->d_namlen)
127 #define GENERIC_DIRSIZ(dp) _GENERIC_DIRSIZ(dp)
134 dirent_terminate(struct dirent *dp)
137 dp->d_pad0 = 0;
138 dp->d_pad1 = 0;
139 memset(dp->d_name + dp->d_namlen, 0,
140 dp->d_reclen - (__offsetof(struct dirent, d_name) + dp->d_namlen));