Home
last modified time | relevance | path

Searched refs:dstdp (Results 1 – 3 of 3) sorted by relevance

/NextBSD/sys/gnu/fs/reiserfs/
HDreiserfs_namei.c136 struct dirent dstdp; in reiserfs_readdir() local
255 dstdp.d_fileno = d_ino; in reiserfs_readdir()
256 dstdp.d_type = DT_UNKNOWN; in reiserfs_readdir()
257 dstdp.d_namlen = d_namlen; in reiserfs_readdir()
258 dstdp.d_reclen = GENERIC_DIRSIZ(&dstdp); in reiserfs_readdir()
259 bcopy(d_name, dstdp.d_name, dstdp.d_namlen); in reiserfs_readdir()
260 bzero(dstdp.d_name + dstdp.d_namlen, in reiserfs_readdir()
261 dstdp.d_reclen - in reiserfs_readdir()
263 dstdp.d_namlen); in reiserfs_readdir()
266 if (dstdp.d_reclen <= uio->uio_resid) { in reiserfs_readdir()
[all …]
/NextBSD/sys/fs/ext2fs/
HDext2_lookup.c131 struct dirent dstdp; in ext2_readdir() local
197 dstdp.d_namlen = dp->e2d_namlen; in ext2_readdir()
198 dstdp.d_type = FTTODT(dp->e2d_type); in ext2_readdir()
200 dstdp.d_namlen > dp->e2d_reclen) { in ext2_readdir()
206 dstdp.d_fileno = dp->e2d_ino; in ext2_readdir()
207 dstdp.d_reclen = GENERIC_DIRSIZ(&dstdp); in ext2_readdir()
208 bcopy(dp->e2d_name, dstdp.d_name, dstdp.d_namlen); in ext2_readdir()
209 dstdp.d_name[dstdp.d_namlen] = '\0'; in ext2_readdir()
210 if (dstdp.d_reclen > uio->uio_resid) { in ext2_readdir()
218 error = uiomove((caddr_t)&dstdp, dstdp.d_reclen, uio); in ext2_readdir()
/NextBSD/sys/ufs/ufs/
HDufs_vnops.c2140 struct dirent dstdp; local
2192 dstdp.d_namlen = dp->d_type;
2193 dstdp.d_type = dp->d_namlen;
2197 dstdp.d_namlen = dp->d_namlen;
2198 dstdp.d_type = dp->d_type;
2200 if (offsetof(struct direct, d_name) + dstdp.d_namlen >
2207 dstdp.d_fileno = dp->d_ino;
2208 dstdp.d_reclen = GENERIC_DIRSIZ(&dstdp);
2209 bcopy(dp->d_name, dstdp.d_name, dstdp.d_namlen);
2210 dstdp.d_name[dstdp.d_namlen] = '\0';
[all …]