<dec f='src/src/sys/sys/namei.h' l='289' type='int cache_revlookup(struct vnode * , struct vnode ** , char ** , char * )'/>
<def f='src/src/sys/kern/vfs_cache.c' l='704' ll='786' type='int cache_revlookup(struct vnode * vp, struct vnode ** dvpp, char ** bpp, char * bufp)'/>
<doc f='src/src/sys/kern/vfs_cache.c' l='692'>/*
 * Scan cache looking for name of directory entry pointing at vp.
 *
 * If the lookup succeeds the vnode is referenced and stored in dvpp.
 *
 * If bufp is non-NULL, also place the name in the buffer which starts
 * at bufp, immediately before *bpp, and move bpp backwards to point
 * at the start of it.  (Yes, this is a little baroque, but it&apos;s done
 * this way to cater to the whims of getcwd).
 *
 * Returns 0 on success, -1 on cache miss, positive errno on failure.
 */</doc>
<use f='src/src/sys/kern/vfs_getcwd.c' l='295' u='c' c='getcwd_getcache'/>
<use f='src/src/sys/kern/vfs_getcwd.c' l='566' u='c' c='vnode_to_path'/>
