Lines Matching defs:dstdp
55 freebsd11_cvtdirent(struct freebsd11_dirent *dstdp, struct dirent *srcdp)
58 if (srcdp->d_namlen >= sizeof(dstdp->d_name))
60 dstdp->d_type = srcdp->d_type;
61 dstdp->d_namlen = srcdp->d_namlen;
62 dstdp->d_fileno = srcdp->d_fileno; /* truncate */
63 dstdp->d_reclen = FREEBSD11_DIRSIZ(dstdp);
64 bcopy(srcdp->d_name, dstdp->d_name, dstdp->d_namlen);
65 bzero(dstdp->d_name + dstdp->d_namlen,
66 dstdp->d_reclen - offsetof(struct freebsd11_dirent, d_name) -
67 dstdp->d_namlen);
74 struct freebsd11_dirent *dstdp;
85 dstdp = dirp->dd_compat_de;
87 dstdp = NULL;
89 dstdp = NULL;
93 return (dstdp);