|
NAMEvm_map_insert —
insert an object into a map
SYNOPSIS#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_map.h>
int
DESCRIPTIONThevm_map_insert () function inserts a mapping for the
entire vm_object object into the target map
map.
The offset argument specifies the offset into the object at which to begin mapping. The object's size should match that of the specified address range. The start and end arguments specify the bounds of the mapped object's window in the address space of map. The cow argument specifies the flags which should be propagated to the new entry, for example, to indicate that this is a copy-on-write mapping. IMPLEMENTATION NOTESThis function implicitly creates a new vm_map_entry by calling the internal functionvm_map_entry_create ().
RETURN VALUESThevm_map_insert () function returns
KERN_SUCCESS if the mapping could be made
successfully.
Otherwise, SEE ALSOvm_map(9)AUTHORSThis manual page was written by Bruce M Simpson <bms@spc.org>.
Visit the GSP FreeBSD Man Page Interface. |