Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/vfs_lookup.c
Show First 20 Lines • Show All 605 Lines • ▼ Show 20 Lines | if (__predict_false(error != 0)) { | ||||
return (error); | return (error); | ||||
} | } | ||||
#ifdef KTRACE | #ifdef KTRACE | ||||
if (KTRPOINT(td, KTR_NAMEI)) { | if (KTRPOINT(td, KTR_NAMEI)) { | ||||
ktrnamei(cnp->cn_pnbuf); | ktrnamei(cnp->cn_pnbuf); | ||||
} | } | ||||
#endif | #endif | ||||
TSNAMEI(curthread->td_proc->p_pid, cnp->cn_pnbuf); | |||||
/* | /* | ||||
* First try looking up the target without locking any vnodes. | * First try looking up the target without locking any vnodes. | ||||
* | * | ||||
* We may need to start from scratch or pick up where it left off. | * We may need to start from scratch or pick up where it left off. | ||||
*/ | */ | ||||
error = cache_fplookup(ndp, &status, &pwd); | error = cache_fplookup(ndp, &status, &pwd); | ||||
switch (status) { | switch (status) { | ||||
▲ Show 20 Lines • Show All 1,156 Lines • Show Last 20 Lines |