<dec f='src/src/sys/uvm/uvm_swap.h' l='47' type='int uvm_swap_alloc(int * , _Bool )'/>
<use f='src/src/sys/uvm/uvm_pdaemon.c' l='472' u='c' c='swapcluster_allocslots'/>
<def f='src/src/sys/uvm/uvm_swap.c' l='1602' ll='1675' type='int uvm_swap_alloc(int * nslots, _Bool lessok)'/>
<doc f='src/src/sys/uvm/uvm_swap.c' l='1592'>/*
 * uvm_swap_alloc: allocate space on swap
 *
 * =&gt; allocation is done &quot;round robin&quot; down the priority list, as we
 *	allocate in a priority we &quot;rotate&quot; the circle queue.
 * =&gt; space can be freed with uvm_swap_free
 * =&gt; we return the page slot number in /dev/drum (0 == invalid slot)
 * =&gt; we lock uvm_swap_data_lock
 * =&gt; XXXMRG: &quot;LESSOK&quot; INTERFACE NEEDED TO EXTENT SYSTEM
 */</doc>
