Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/namei.h
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | struct nameidata { | ||||
*/ | */ | ||||
struct componentname ni_cnd; | struct componentname ni_cnd; | ||||
struct nameicap_tracker_head ni_cap_tracker; | struct nameicap_tracker_head ni_cap_tracker; | ||||
struct vnode *ni_beneath_latch; | struct vnode *ni_beneath_latch; | ||||
}; | }; | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
enum cache_fpl_status { CACHE_FPL_STATUS_ABORTED, CACHE_FPL_STATUS_PARTIAL, | enum cache_fpl_status { CACHE_FPL_STATUS_DESTROYED, CACHE_FPL_STATUS_ABORTED, | ||||
CACHE_FPL_STATUS_HANDLED, CACHE_FPL_STATUS_UNSET }; | CACHE_FPL_STATUS_PARTIAL, CACHE_FPL_STATUS_HANDLED, CACHE_FPL_STATUS_UNSET }; | ||||
int cache_fplookup(struct nameidata *ndp, enum cache_fpl_status *status, | int cache_fplookup(struct nameidata *ndp, enum cache_fpl_status *status, | ||||
struct pwd **pwdp); | struct pwd **pwdp); | ||||
/* | /* | ||||
* Flags for namei. | * Flags for namei. | ||||
* | * | ||||
* If modifying the list make sure to check whether NDVALIDATE needs updating. | * If modifying the list make sure to check whether NDVALIDATE needs updating. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines |