2 * UNFS3 filehandle cache
3 * (C) 2003, Pascal Schmidt
4 * see file LICENSE for license details
7 #ifndef UNFS3_FH_CACHE_H
8 #define UNFS3_FH_CACHE_H
11 extern int fh_cache_max;
12 extern int fh_cache_use;
13 extern int fh_cache_hit;
15 void fh_cache_init(void);
17 char *fh_decomp(nfs_fh3 fh);
18 unfs3_fh_t fh_comp(const char *path, struct svc_req *rqstp, int need_dir);
19 unfs3_fh_t *fh_comp_ptr(const char *path, struct svc_req *rqstp, int need_dir);
21 char *fh_cache_add(uint32 dev, uint64 ino, const char *path);