<dec f='src/src/sys/sys/filedesc.h' l='200' type='file_t * fd_getfile2(proc_t * , unsigned int )'/>
<def f='src/src/sys/kern/kern_descrip.c' l='542' ll='571' type='file_t * fd_getfile2(proc_t * p, unsigned int fd)'/>
<doc f='src/src/sys/kern/kern_descrip.c' l='531'>/*
 * Look up the file structure corresponding to a file descriptor
 * and return it with a reference held on the file, not the
 * descriptor.
 *
 * This is heavyweight and only used when accessing descriptors
 * from a foreign process.  The caller must ensure that `p&apos; does
 * not exit or fork across this call.
 *
 * To release the file (not descriptor) reference, use closef().
 */</doc>
<use f='src/src/sys/miscfs/procfs/procfs_fd.c' l='53' u='c' c='procfs_dofd'/>
<use f='src/src/sys/miscfs/procfs/procfs_vfsops.c' l='333' u='c' c='procfs_loadvnode'/>
<use f='src/src/sys/miscfs/procfs/procfs_vnops.c' l='811' u='c' c='procfs_getattr'/>
<use f='src/src/sys/miscfs/procfs/procfs_vnops.c' l='1142' u='c' c='procfs_lookup'/>
<use f='src/src/sys/miscfs/procfs/procfs_vnops.c' l='1414' u='c' c='procfs_readdir'/>
<use f='src/src/sys/miscfs/procfs/procfs_vnops.c' l='1641' u='c' c='procfs_readlink'/>
