Lines Matching +full:4 +full:vpp
1176 return SYSCTL_OUT(req, 0, 4 * sizeof(int)); in sysctl_debug_hashstat_nchash()
1518 for (i = 1; i < 4; i++) { in cache_neg_evict_select_entry()
1901 cache_lookup_dot(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, in cache_lookup_dot() argument
1906 *vpp = dvp; in cache_lookup_dot()
1907 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, ".", *vpp); in cache_lookup_dot()
1912 vrefact(*vpp); in cache_lookup_dot()
1918 if (ltype != VOP_ISLOCKED(*vpp)) { in cache_lookup_dot()
1920 vn_lock(*vpp, LK_UPGRADE | LK_RETRY); in cache_lookup_dot()
1921 if (VN_IS_DOOMED((*vpp))) { in cache_lookup_dot()
1923 vrele(*vpp); in cache_lookup_dot()
1924 *vpp = NULL; in cache_lookup_dot()
1928 vn_lock(*vpp, LK_DOWNGRADE | LK_RETRY); in cache_lookup_dot()
1934 cache_lookup_dotdot(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, in cache_lookup_dotdot() argument
1962 *vpp = NULL; in cache_lookup_dotdot()
1964 *vpp = ncp->nc_vp; in cache_lookup_dotdot()
1966 *vpp = ncp->nc_dvp; in cache_lookup_dotdot()
1967 if (*vpp == NULL) in cache_lookup_dotdot()
1969 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, "..", *vpp); in cache_lookup_dotdot()
1977 MPASS(dvp != *vpp); in cache_lookup_dotdot()
1980 vs = vget_prep(*vpp); in cache_lookup_dotdot()
1982 error = vget_finish(*vpp, cnp->cn_lkflags, vs); in cache_lookup_dotdot()
1986 vput(*vpp); in cache_lookup_dotdot()
1987 *vpp = NULL; in cache_lookup_dotdot()
1991 *vpp = NULL; in cache_lookup_dotdot()
2024 * - vpp: Return argument. Will contain desired vnode on cache hit.
2043 * - -1: A positive cache hit. vpp will contain the desired vnode.
2045 * to a forced unmount. vpp will not be modified. If the entry
2048 * - 0: A cache miss. vpp will not be modified.
2052 * On a cache hit, vpp will be returned locked and ref'd. If we're looking up
2057 cache_lookup_fallback(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, in cache_lookup_fallback() argument
2092 *vpp = ncp->nc_vp; in cache_lookup_fallback()
2093 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, ncp->nc_name, *vpp); in cache_lookup_fallback()
2095 MPASS(dvp != *vpp); in cache_lookup_fallback()
2096 vs = vget_prep(*vpp); in cache_lookup_fallback()
2098 error = vget_finish(*vpp, cnp->cn_lkflags, vs); in cache_lookup_fallback()
2100 *vpp = NULL; in cache_lookup_fallback()
2134 cache_lookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, in cache_lookup() argument
2155 return (cache_lookup_dot(dvp, vpp, cnp, tsp, ticksp)); in cache_lookup()
2157 return (cache_lookup_dotdot(dvp, vpp, cnp, tsp, ticksp)); in cache_lookup()
2188 *vpp = ncp->nc_vp; in cache_lookup()
2189 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, ncp->nc_name, *vpp); in cache_lookup()
2191 MPASS(dvp != *vpp); in cache_lookup()
2194 *vpp = NULL; in cache_lookup()
2197 vs = vget_prep_smr(*vpp); in cache_lookup()
2200 *vpp = NULL; in cache_lookup()
2203 error = vget_finish(*vpp, cnp->cn_lkflags, vs); in cache_lookup()
2205 *vpp = NULL; in cache_lookup()
2237 return (cache_lookup_fallback(dvp, vpp, cnp, tsp, ticksp)); in cache_lookup()
3167 struct vnode **vpp = ap->a_vpp; in vfs_cache_lookup() local
3171 *vpp = NULL; in vfs_cache_lookup()
3185 error = cache_lookup(dvp, vpp, cnp, NULL, NULL); in vfs_cache_lookup()
3187 return (VOP_CACHEDLOOKUP(dvp, vpp, cnp)); in vfs_cache_lookup()
4532 cache_fplookup_dirfd(struct cache_fpl *fpl, struct vnode **vpp) in cache_fplookup_dirfd() argument
4542 error = fgetvp_lookup_smr(ndp, vpp, &fsearch); in cache_fplookup_dirfd()
4547 if ((*vpp)->v_type != VDIR) { in cache_fplookup_dirfd()