• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/bsd/vfs/

Lines Matching defs:vp

118 static void		lookup_consider_update_cache(vnode_t dvp, vnode_t vp, struct componentname *cnp, int nc_generation);
170 struct vnode *usedvp = ndp->ni_dvp; /* store pointer to vp in case we must loop due to
217 panic("We need to keep going on a continued lookup, but for vp type %d (tag %d)\n", ndp->ni_vp->v_type, ndp->ni_vp->v_tag);
484 lookup_consider_update_cache(vnode_t dvp, vnode_t vp, struct componentname *cnp, int nc_generation)
489 if (vp->v_name == NULL || vp->v_parent == NULLVP) {
493 if (vp->v_name == NULL)
495 if (dvp != NULLVP && vp->v_parent == NULLVP)
499 vnode_update_identity(vp, dvp, cnp->cn_nameptr, cnp->cn_namelen, cnp->cn_hash, update_flags);
502 if ( (cnp->cn_flags & MAKEENTRY) && (vp->v_flag & VNCACHEABLE) && LIST_FIRST(&vp->v_nclinks) == NULL) {
517 cache_enter_with_gen(dvp, vp, cnp, nc_generation);
977 * been authorized, and vp is not ".."
980 * the cache if this vp is purged before we get to that
1226 vnode_t vp = dvp;
1230 if (vp && vp->v_flag & VROOT) {
1231 *new_dvp = vp->v_mount->mnt_vnodecovered;
1252 name = vnode_getname(vp);
1267 vp = vp->v_parent;
1268 if (vp == NULLVP || vp->v_flag & VROOT)
1782 vnode_t vp;
1816 error = VFS_ROOT(mp, &vp, ctx);
1818 error = VFS_VGET(mp, ino, &vp, ctx);
1827 error = build_path(vp, realpath, bufsize, &length, 0, ctx);
1828 vnode_put(vp);
1842 lookup_compound_vnop_post_hook(int error, vnode_t dvp, vnode_t vp, struct nameidata *ndp, int did_create)
1844 if (error == 0 && vp == NULLVP) {
1845 panic("NULL vp with error == 0.\n");
1869 if ((vp != NULLVP) && !did_create) {
1875 lookup_consider_update_cache(dvp, vp, &ndp->ni_cnd, ndp->ni_ncgeneration);
1878 AUDIT_ARG(vnpath, vp, ARG_VNODE1);
1880 AUDIT_ARG(vnpath, vp, ARG_VNODE2);
1893 kdebug_lookup(vp ? vp : dvp, &ndp->ni_cnd);