Lines Matching refs:namecache

73 SDT_PROBE_DEFINE3(vfs, namecache, enter, done, "struct vnode *", "char *",
75 SDT_PROBE_DEFINE2(vfs, namecache, enter_negative, done, "struct vnode *",
77 SDT_PROBE_DEFINE1(vfs, namecache, fullpath, entry, "struct vnode *");
78 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, hit, "struct vnode *",
80 SDT_PROBE_DEFINE1(vfs, namecache, fullpath, miss, "struct vnode *");
81 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, return, "int",
83 SDT_PROBE_DEFINE3(vfs, namecache, lookup, hit, "struct vnode *", "char *",
85 SDT_PROBE_DEFINE2(vfs, namecache, lookup, hit__negative,
87 SDT_PROBE_DEFINE2(vfs, namecache, lookup, miss, "struct vnode *",
89 SDT_PROBE_DEFINE1(vfs, namecache, purge, done, "struct vnode *");
90 SDT_PROBE_DEFINE1(vfs, namecache, purge_negative, done, "struct vnode *");
91 SDT_PROBE_DEFINE1(vfs, namecache, purgevfs, done, "struct mount *");
92 SDT_PROBE_DEFINE3(vfs, namecache, zap, done, "struct vnode *", "char *",
94 SDT_PROBE_DEFINE3(vfs, namecache, zap_negative, done, "struct vnode *",
96 SDT_PROBE_DEFINE3(vfs, namecache, shrink_negative, done, "struct vnode *",
104 struct namecache { struct
105 LIST_ENTRY(namecache) nc_hash; /* hash chain */
106 LIST_ENTRY(namecache) nc_src; /* source vnode list */
107 TAILQ_ENTRY(namecache) nc_dst; /* destination vnode list */
130 struct namecache nc_nc;
200 static __read_mostly LIST_HEAD(nchashhead, namecache) *nchashtbl;/* Hash Table */
233 TAILQ_HEAD(, namecache) nl_list;
242 NCP2NEGLIST(struct namecache *ncp) in NCP2NEGLIST()
278 static struct namecache *
282 struct namecache *ncp; in cache_alloc()
300 cache_free(struct namecache *ncp) in cache_free()
323 cache_out_ts(struct namecache *ncp, struct timespec *tsp, int *ticksp) in cache_out_ts()
346 SYSCTL_INT(_debug_sizeof, OID_AUTO, namecache, CTLFLAG_RD, SYSCTL_NULL_INT_PTR,
347 sizeof(struct namecache), "sizeof(struct namecache)");
386 static void cache_zap_locked(struct namecache *ncp, bool neg_locked);
434 NCP2BUCKETLOCK(struct namecache *ncp) in NCP2BUCKETLOCK()
444 cache_assert_bucket_locked(struct namecache *ncp, int mode) in cache_assert_bucket_locked()
569 struct namecache *ncp; in sysctl_debug_hashstat_rawnchash()
603 struct namecache *ncp; in sysctl_debug_hashstat_nchash()
660 cache_negative_hit(struct namecache *ncp) in cache_negative_hit()
696 cache_negative_insert(struct namecache *ncp, bool neg_locked) in cache_negative_insert()
715 cache_negative_remove(struct namecache *ncp, bool neg_locked) in cache_negative_remove()
752 cache_negative_shrink_select(int start, struct namecache **ncpp, in cache_negative_shrink_select()
756 struct namecache *ncp; in cache_negative_shrink_select()
780 struct namecache *ncp, *ncp2; in cache_negative_zap_one()
824 SDT_PROBE3(vfs, namecache, shrink_negative, done, ncp->nc_dvp, in cache_negative_zap_one()
844 cache_zap_locked(struct namecache *ncp, bool neg_locked) in cache_zap_locked()
855 SDT_PROBE3(vfs, namecache, zap, done, ncp->nc_dvp, in cache_zap_locked()
858 SDT_PROBE3(vfs, namecache, zap_negative, done, ncp->nc_dvp, in cache_zap_locked()
883 cache_zap_negative_locked_vnode_kl(struct namecache *ncp, struct vnode *vp) in cache_zap_negative_locked_vnode_kl()
898 cache_zap_locked_vnode_kl2(struct namecache *ncp, struct vnode *vp, in cache_zap_locked_vnode_kl2()
956 cache_zap_locked_vnode(struct namecache *ncp, struct vnode *vp) in cache_zap_locked_vnode()
995 cache_zap_wlocked_bucket(struct namecache *ncp, struct rwlock *blp) in cache_zap_wlocked_bucket()
1017 cache_zap_rlocked_bucket(struct namecache *ncp, struct rwlock *blp) in cache_zap_rlocked_bucket()
1041 cache_zap_wlocked_bucket_kl(struct namecache *ncp, struct rwlock *blp, in cache_zap_wlocked_bucket_kl()
1106 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, ".", *vpp); in cache_lookup_dot()
1136 struct namecache *ncp; in cache_lookup_nomakeentry()
1151 SDT_PROBE3(vfs, namecache, lookup, miss, dvp, in cache_lookup_nomakeentry()
1210 SDT_PROBE3(vfs, namecache, lookup, miss, dvp, cnp->cn_nameptr, NULL); in cache_lookup_nomakeentry()
1256 struct namecache *ncp; in cache_lookup()
1286 SDT_PROBE3(vfs, namecache, lookup, miss, dvp, in cache_lookup()
1303 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, "..", in cache_lookup()
1328 SDT_PROBE3(vfs, namecache, lookup, miss, dvp, cnp->cn_nameptr, in cache_lookup()
1340 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, ncp->nc_name, in cache_lookup()
1357 SDT_PROBE2(vfs, namecache, lookup, hit__negative, dvp, in cache_lookup()
1542 struct namecache *ncp; in cache_enter_lock()
1583 struct namecache *ncp; in cache_enter_lock_dd()
1630 struct namecache *ncp, *n2, *ndd; in cache_enter_time()
1708 SDT_PROBE3(vfs, namecache, enter, done, dvp, "..", vp); in cache_enter_time()
1821 SDT_PROBE3(vfs, namecache, enter, done, dvp, ncp->nc_name, in cache_enter_time()
1827 SDT_PROBE2(vfs, namecache, enter_negative, done, dvp, in cache_enter_time()
1862 sizeof(struct namecache) + CACHE_PATH_CUTOFF + 1, in nchinit()
1863 NULL, NULL, NULL, NULL, UMA_ALIGNOF(struct namecache), in nchinit()
1870 sizeof(struct namecache) + NAME_MAX + 1, in nchinit()
1871 NULL, NULL, NULL, NULL, UMA_ALIGNOF(struct namecache), in nchinit()
1928 struct namecache *ncp; in cache_changesize()
1972 TAILQ_HEAD(, namecache) ncps; in cache_purge()
1973 struct namecache *ncp, *nnp; in cache_purge()
1977 SDT_PROBE1(vfs, namecache, purge, done, vp); in cache_purge()
2021 TAILQ_HEAD(, namecache) ncps; in cache_purge_negative()
2022 struct namecache *ncp, *nnp; in cache_purge_negative()
2026 SDT_PROBE1(vfs, namecache, purge_negative, done, vp); in cache_purge_negative()
2050 TAILQ_HEAD(, namecache) ncps; in cache_purgevfs()
2054 struct namecache *ncp, *nnp; in cache_purgevfs()
2059 SDT_PROBE1(vfs, namecache, purgevfs, done, mp); in cache_purgevfs()
2263 struct namecache *ncp; in vn_vptocnp()
2279 SDT_PROBE3(vfs, namecache, fullpath, return, error, in vn_vptocnp()
2285 SDT_PROBE3(vfs, namecache, fullpath, hit, ncp->nc_dvp, in vn_vptocnp()
2294 SDT_PROBE1(vfs, namecache, fullpath, miss, vp); in vn_vptocnp()
2302 SDT_PROBE3(vfs, namecache, fullpath, return, error, vp, NULL); in vn_vptocnp()
2311 SDT_PROBE3(vfs, namecache, fullpath, return, error, vp, NULL); in vn_vptocnp()
2339 SDT_PROBE1(vfs, namecache, fullpath, entry, vp); in vn_fullpath1()
2376 SDT_PROBE3(vfs, namecache, fullpath, return, in vn_fullpath1()
2390 SDT_PROBE3(vfs, namecache, fullpath, return, in vn_fullpath1()
2400 SDT_PROBE3(vfs, namecache, fullpath, return, error, in vn_fullpath1()
2413 SDT_PROBE3(vfs, namecache, fullpath, return, ENOMEM, in vn_fullpath1()
2422 SDT_PROBE3(vfs, namecache, fullpath, return, 0, startvp, buf + buflen); in vn_fullpath1()
2430 struct namecache *ncp; in vn_dir_dd_ino()
2454 struct namecache *ncp; in vn_commname()
2572 struct namecache *ncp; in db_print_vpath()