|
NAMEvm_map_lookup ,
vm_map_lookup_done —
lookup the vm_object backing a given virtual region
SYNOPSIS#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_map.h>
int
void
DESCRIPTIONThevm_map_lookup () function attempts to find the
vm_object, page index and protection, for the given
virtual address vaddr, in the map
var_map, assuming a page fault of the type
fault_type had occurred.
Return values are guaranteed until
IMPLEMENTATION NOTESThe functionvm_map_lookup () acquires a read-lock on the
map *var_map, but does not release it. The caller should
invoke vm_map_lookup_done () in order to release this
lock.
RETURN VALUESThevm_map_lookup () function returns
KERN_SUCCESS , and sets the
*object, *pindex,
*out_prot, and *out_entry
arguments appropriately for the hypothetical page fault.
SEE ALSOvm_map(9)AUTHORSThis manual page was written by Bruce M Simpson <bms@spc.org>.
Visit the GSP FreeBSD Man Page Interface. |