version 1.37, 2004/06/27 08:50:44 |
version 1.37.6.1, 2005/02/12 18:17:56 |
Line 184 MALLOC_DECLARE(M_NAMEI); |
|
Line 184 MALLOC_DECLARE(M_NAMEI); |
|
#define PNBUF_GET() pool_cache_get(&pnbuf_cache, PR_WAITOK) |
#define PNBUF_GET() pool_cache_get(&pnbuf_cache, PR_WAITOK) |
#define PNBUF_PUT(pnb) pool_cache_put(&pnbuf_cache, (pnb)) |
#define PNBUF_PUT(pnb) pool_cache_put(&pnbuf_cache, (pnb)) |
|
|
int namei __P((struct nameidata *)); |
int namei(struct nameidata *); |
uint32_t namei_hash __P((const char *, const char **)); |
uint32_t namei_hash(const char *, const char **); |
int lookup __P((struct nameidata *)); |
int lookup(struct nameidata *); |
int relookup __P((struct vnode *, struct vnode **, struct componentname *)); |
int relookup(struct vnode *, struct vnode **, struct componentname *); |
void cache_purge1 __P((struct vnode *, const struct componentname *, int)); |
void cache_purge1(struct vnode *, const struct componentname *, int); |
#define PURGE_PARENTS 1 |
#define PURGE_PARENTS 1 |
#define PURGE_CHILDREN 2 |
#define PURGE_CHILDREN 2 |
#define cache_purge(vp) cache_purge1((vp), NULL, PURGE_PARENTS|PURGE_CHILDREN) |
#define cache_purge(vp) cache_purge1((vp), NULL, PURGE_PARENTS|PURGE_CHILDREN) |
int cache_lookup __P((struct vnode *, struct vnode **, struct componentname *)); |
int cache_lookup(struct vnode *, struct vnode **, struct componentname *); |
int cache_lookup_raw __P((struct vnode *, struct vnode **, |
int cache_lookup_raw(struct vnode *, struct vnode **, struct componentname *); |
struct componentname *)); |
int cache_revlookup(struct vnode *, struct vnode **, char **, char *); |
int cache_revlookup __P((struct vnode *, struct vnode **, char **, char *)); |
void cache_enter(struct vnode *, struct vnode *, struct componentname *); |
void cache_enter __P((struct vnode *, struct vnode *, struct componentname *)); |
void nchinit(void); |
void nchinit __P((void)); |
void nchreinit(void); |
void nchreinit __P((void)); |
|
struct mount; |
struct mount; |
void cache_purgevfs __P((struct mount *)); |
void cache_purgevfs(struct mount *); |
void namecache_print(struct vnode *, void (*)(const char *, ...)); |
void namecache_print(struct vnode *, void (*)(const char *, ...)); |
#endif |
#endif |
|
|