Lines Matching defs:dp

339     struct vnode *dp, int islocked, struct nfsexstuff *exp, struct thread *p,
356 if (dp->v_type != VDIR) {
358 vput(dp);
360 vrele(dp);
366 NFSVOPUNLOCK(dp, 0);
367 VREF(dp);
368 *retdirp = dp;
377 vrele(dp);
389 dp = rootvnode;
390 VREF(dp);
404 * Initialize for scan, set ni_startdir and bump ref on dp again
409 ndp->ni_startdir = dp;
1565 struct dirent *dp;
1702 dp = (struct dirent *)cpos;
1713 (dp->d_fileno == 0 || dp->d_type == DT_WHT ||
1715 cpos += dp->d_reclen;
1716 dp = (struct dirent *)cpos;
1744 nlen = dp->d_namlen;
1745 if (dp->d_fileno != 0 && dp->d_type != DT_WHT &&
1768 *tl = txdr_unsigned(dp->d_fileno);
1769 (void) nfsm_strtom(nd, dp->d_name, nlen);
1777 cpos += dp->d_reclen;
1778 dp = (struct dirent *)cpos;
1809 struct dirent *dp;
1970 dp = (struct dirent *)cpos;
1981 (dp->d_fileno == 0 || dp->d_type == DT_WHT ||
1984 ((dp->d_namlen == 1 && dp->d_name[0] == '.') ||
1985 (dp->d_namlen==2 && dp->d_name[0]=='.' && dp->d_name[1]=='.'))))) {
1986 cpos += dp->d_reclen;
1987 dp = (struct dirent *)cpos;
2059 nlen = dp->d_namlen;
2060 if (dp->d_fileno != 0 && dp->d_type != DT_WHT &&
2063 (nlen==2 && (dp->d_name[0]!='.' || dp->d_name[1]!='.'))
2064 || (nlen == 1 && dp->d_name[0] != '.'))) {
2082 mounted_on_fileno = (uint64_t)dp->d_fileno;
2087 vp, dp->d_fileno);
2090 r = VFS_VGET(mp, dp->d_fileno,
2096 cn.cn_nameptr = dp->d_name;
2101 dp->d_name[0] == '.' &&
2102 dp->d_name[1] == '.')
2216 *tl = txdr_unsigned(dp->d_fileno);
2217 dirlen += nfsm_strtom(nd, dp->d_name, nlen);
2231 dirlen += nfsm_strtom(nd, dp->d_name, nlen);
2272 cpos += dp->d_reclen;
2273 dp = (struct dirent *)cpos;