Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/namei.h
Show First 20 Lines • Show All 299 Lines • ▼ Show 20 Lines | |||||
void NDFREE_NOTHING(struct nameidata *); | void NDFREE_NOTHING(struct nameidata *); | ||||
void NDVALIDATE(struct nameidata *); | void NDVALIDATE(struct nameidata *); | ||||
#else | #else | ||||
#define NDFREE_NOTHING(ndp) do { } while (0) | #define NDFREE_NOTHING(ndp) do { } while (0) | ||||
#define NDVALIDATE(ndp) do { } while (0) | #define NDVALIDATE(ndp) do { } while (0) | ||||
#endif | #endif | ||||
int namei(struct nameidata *ndp); | int namei(struct nameidata *ndp); | ||||
int lookup(struct nameidata *ndp); | int vfs_lookup(struct nameidata *ndp); | ||||
int relookup(struct vnode *dvp, struct vnode **vpp, | int vfs_relookup(struct vnode *dvp, struct vnode **vpp, | ||||
struct componentname *cnp); | struct componentname *cnp); | ||||
#endif | #endif | ||||
/* | /* | ||||
* Stats on usefulness of namei caches. | * Stats on usefulness of namei caches. | ||||
*/ | */ | ||||
struct nchstats { | struct nchstats { | ||||
long ncs_goodhits; /* hits that we can really use */ | long ncs_goodhits; /* hits that we can really use */ | ||||
Show All 12 Lines |