<dec f='src/src/sys/miscfs/procfs/procfs.h' l='210' type='int procfs_domap(struct lwp * , struct proc * , struct pfsnode * , struct uio * , int )'/>
<def f='src/src/sys/miscfs/procfs/procfs_map.c' l='107' ll='231' type='int procfs_domap(struct lwp * curl, struct proc * p, struct pfsnode * pfs, struct uio * uio, int linuxmode)'/>
<doc f='src/src/sys/miscfs/procfs/procfs_map.c' l='97'>/*
 * The map entries can *almost* be read with programs like cat.  However,
 * large maps need special programs to read.  It is not easy to implement
 * a program that can sense the required size of the buffer, and then
 * subsequently do a read with the appropriate size.  This operation cannot
 * be atomic.  The best that we can do is to allow the program to do a read
 * with an arbitrarily large buffer, and return as much as we can.  We can
 * return an error code if the buffer is too small (EFBIG), then the program
 * can try a bigger buffer.
 */</doc>
<use f='src/src/sys/miscfs/procfs/procfs_subr.c' l='216' u='c' c='procfs_rw'/>
<use f='src/src/sys/miscfs/procfs/procfs_subr.c' l='220' u='c' c='procfs_rw'/>
