Lines Matching refs:dp
819 struct dirent64 *dp;
855 dp = (dirent64_t *)dbuf;
856 while ((intptr_t)dp < (intptr_t)dbuf + dbuflen) {
860 if (strcmp(dp->d_name, ".") == 0 ||
861 strcmp(dp->d_name, "..") == 0) {
862 dp = (dirent64_t *)((intptr_t)dp +
863 dp->d_reclen);
867 error = VOP_LOOKUP(dvp, dp->d_name, &cmpvp, &pnp, 0,
879 *rdp = dp;
888 dp = (dirent64_t *)((intptr_t)dp + dp->d_reclen);
903 (void) strcpy(dp->d_name, ".zfs");
904 dp->d_reclen = strlen(".zfs");
905 dp->d_off = 2;
906 dp->d_ino = 1;
907 *rdp = dp;
994 dirent64_t *dp;
1204 if ((err = dirfindvp(vrootp, pvp, vp, cr, dbuf, dlen, &dp))
1207 complen = strlen(dp->d_name);
1213 bcopy(dp->d_name, bufloc, complen);