Lines Matching defs:vdp
282 struct vnode *vdp = ap->a_dvp; /* vnode for directory being searched */
283 struct inode *dp = VTOI(vdp); /* inode for directory being searched */
318 if ((error = VOP_ACCESS(vdp, VEXEC, cred)) != 0)
321 if ((flags & ISLASTCN) && (vdp->v_mount->mnt_flag & MNT_RDONLY) &&
332 if (cache_lookup(vdp, cnp->cn_nameptr, cnp->cn_namelen,
338 if (VOP_ISLOCKED(vdp) != LK_EXCLUSIVE)
374 bmask = vdp->v_mount->mnt_stat.f_iosize - 1;
383 (error = ext2fs_blkatoff(vdp, (off_t)results->ulr_offset, NULL, &bp)))
433 error = ext2fs_blkatoff(vdp, (off_t)results->ulr_offset,
460 ext2fs_dirbadentry(vdp, ep, entryoffsetinblock))) {
548 error = VOP_ACCESS(vdp, VWRITE, cred);
591 cache_enter(vdp, *vpp, cnp->cn_nameptr, cnp->cn_namelen,
612 uvm_vnp_setsize(vdp, ext2fs_size(dp));
641 vref(vdp);
642 tdp = vdp;
644 error = vcache_get(vdp->v_mount,
652 if ((error = VOP_ACCESS(vdp, VWRITE, cred)) != 0) {
664 tdp, vdp, genfs_can_sticky(vdp, cred, dp->i_uid,
682 error = VOP_ACCESS(vdp, VWRITE, cred);
691 error = vcache_get(vdp->v_mount,
700 vref(vdp); /* we want ourself, ie "." */
701 *vpp = vdp;
703 error = vcache_get(vdp->v_mount,
713 cache_enter(vdp, *vpp, cnp->cn_nameptr, cnp->cn_namelen, cnp->cn_flags);
754 struct vnode *vdp = ITOV(ip);
771 (dirchk && ext2fs_dirbadentry(vdp, ep, offset))) {
1099 struct vnode *vdp = ITOV(dp);
1102 error = ext2fs_blkatoff(vdp, (off_t)ulr->ulr_offset, (void *)&ep, &bp);