<dec f='src/src/sys/uvm/uvm_loan.h' l='47' type='int uvm_loan(struct vm_map * , vaddr_t , vsize_t , void * , int )'/>
<use f='src/src/sys/kern/uipc_socket.c' l='367' u='c' c='sosend_loan'/>
<def f='src/src/sys/uvm/uvm_loan.c' l='237' ll='329' type='int uvm_loan(struct vm_map * map, vaddr_t start, vsize_t len, void * v, int flags)'/>
<doc f='src/src/sys/uvm/uvm_loan.c' l='225'>/*
 * uvm_loan: loan pages in a map out to anons or to the kernel
 *
 * =&gt; map should be unlocked
 * =&gt; start and len should be multiples of PAGE_SIZE
 * =&gt; result is either an array of anon&apos;s or vm_pages (depending on flags)
 * =&gt; flag values: UVM_LOAN_TOANON - loan to anons
 *                 UVM_LOAN_TOPAGE - loan to wired kernel page
 *    one and only one of these flags must be set!
 * =&gt; returns 0 (success), or an appropriate error number
 */</doc>
