Home
last modified time | relevance | path

Searched refs:dp64 (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/lib/libc/port/gen/
H A Dreaddir.c95 dirent64_t *dp64; /* -> directory data */ in readdir64() local
99 dp64 = (dirent64_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir64()
101 if (dp64->d_ino == (ino64_t)-1) { in readdir64()
104 dp32 = (dirent_t *)(&dp64->d_off); in readdir64()
105 dp64->d_ino = (ino64_t)dp32->d_ino; in readdir64()
106 dp64->d_off = (off64_t)dp32->d_off; in readdir64()
107 dp64->d_reclen = (unsigned short)(dp32->d_reclen + in readdir64()
108 ((char *)&dp64->d_off - (char *)dp64)); in readdir64()
111 dirp->dd_loc += (int)dp64->d_reclen; in readdir64()
124 dp64 = (dirent64_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir64()
[all …]
H A Dreaddir_r.c106 dirent64_t *dp64; /* -> directory data */ in readdir64_r() local
111 dp64 = (dirent64_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir64_r()
113 if (dp64->d_ino == (ino64_t)-1) { in readdir64_r()
116 dp32 = (dirent_t *)(&dp64->d_off); in readdir64_r()
117 dp64->d_ino = (ino64_t)dp32->d_ino; in readdir64_r()
118 dp64->d_off = (off64_t)dp32->d_off; in readdir64_r()
119 dp64->d_reclen = (unsigned short)(dp32->d_reclen + in readdir64_r()
120 ((char *)&dp64->d_off - (char *)dp64)); in readdir64_r()
123 dirp->dd_loc += (int)dp64->d_reclen; in readdir64_r()
143 dp64 = (dirent64_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in readdir64_r()
[all …]
H A Dtelldir.c82 dirent64_t *dp64; in telldir64() local
88 dp64 = (dirent64_t *)(uintptr_t)(&dirp->dd_buf[dirp->dd_loc]); in telldir64()
90 if (dp64->d_ino == (ino64_t)-1) { in telldir64()
93 dp32 = (dirent_t *)((uintptr_t)dp64 + sizeof (ino64_t)); in telldir64()
94 dp64->d_ino = (ino64_t)dp32->d_ino; in telldir64()
95 dp64->d_off = (off64_t)dp32->d_off; in telldir64()
96 dp64->d_reclen = (unsigned short)(dp32->d_reclen + in telldir64()
97 ((char *)&dp64->d_off - (char *)dp64)); in telldir64()
99 off = dp64->d_off; in telldir64()
H A Dseekdir.c89 dirent64_t *dp64; in seekdir64() local
94 dp64 = (dirent64_t *)(uintptr_t)&dirp->dd_buf[dirp->dd_loc]; in seekdir64()
96 if (dp64->d_ino == (ino64_t)-1) { in seekdir64()
99 dp32 = (dirent_t *)((uintptr_t)dp64 + sizeof (ino64_t)); in seekdir64()
100 dp64->d_ino = (ino64_t)dp32->d_ino; in seekdir64()
101 dp64->d_off = (off64_t)dp32->d_off; in seekdir64()
102 dp64->d_reclen = (unsigned short)(dp32->d_reclen + in seekdir64()
103 ((char *)&dp64->d_off - (char *)dp64)); in seekdir64()
105 off = dp64->d_off; in seekdir64()