Home | History | Annotate | Download | only in netbsd32

Lines Matching defs:ndp

852 	struct dirent *ndp, *nndp, *endp;
856 ndp = (struct dirent *)(void *)buf;
861 * is smaller than ndp, but it has to be done
864 for (; ndp < endp; ndp = nndp) {
865 nndp = _DIRENT_NEXT(ndp);
866 odp->d_fileno = (uint32_t)ndp->d_fileno;
867 if (ndp->d_namlen >= sizeof(odp->d_name))
870 odp->d_namlen = (uint8_t)ndp->d_namlen;
871 odp->d_type = ndp->d_type;
872 (void)memcpy(odp->d_name, ndp->d_name, (size_t)odp->d_namlen);