Lines Matching refs:dp
87 * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary.
92 #define _GENERIC_DIRSIZ(dp) \
93 ((sizeof (struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
97 #define GENERIC_DIRSIZ(dp) _GENERIC_DIRSIZ(dp)
103 dirent_terminate(struct dirent *dp)
106 memset(dp->d_name + dp->d_namlen, 0,
107 dp->d_reclen - (__offsetof(struct dirent, d_name) + dp->d_namlen));