<dec f='src/src/sys/uvm/uvm_swap.h' l='53' type='void uvm_swap_stats(int , struct swapent * , int , register_t * )'/>
<use f='src/src/sys/compat/netbsd32/netbsd32_netbsd.c' l='1771' u='c' c='netbsd32_swapctl_stats'/>
<use f='src/src/sys/uvm/uvm_swap.c' l='529' u='c' c='sys_swapctl'/>
<def f='src/src/sys/uvm/uvm_swap.c' l='746' ll='817' type='void uvm_swap_stats(int cmd, struct swapent * sep, int sec, register_t * retval)'/>
<doc f='src/src/sys/uvm/uvm_swap.c' l='737'>/*
 * uvm_swap_stats: implements swapctl(SWAP_STATS). The function is kept
 * away from sys_swapctl() in order to allow COMPAT_* swapctl()
 * emulation to use it directly without going through sys_swapctl().
 * The problem with using sys_swapctl() there is that it involves
 * copying the swapent array to the stackgap, and this array&apos;s size
 * is not known at build time. Hence it would not be possible to
 * ensure it would fit in the stackgap in any case.
 */</doc>
