logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

vm_map_create — create a new vm_map structure

Authors

       This manual page was written by Bruce M Simpson <bms@spc.org>.

Debian                                            July 19, 2003                                 VM_MAP_CREATE(9)

Description

       The vm_map_create() function creates and returns a new, empty map structure, associated with the physical
       map pmap, and with the upper and lower address bounds specified by max and min respectively.

Implementation Notes

       The kernel's zone allocator is used to allocate the map.

Name

       vm_map_create — create a new vm_map structure

Return Values

       The  vm_map_create()  function returns a pointer to the newly allocated map if successful.  Otherwise, it
       returns NULL.

See Also

pmap(9), vm_map(9), vm_map_init(9)

Synopsis

#include<sys/param.h>#include<vm/vm.h>#include<vm/vm_map.h>vm_map_tvm_map_create(pmap_tpmap, vm_offset_tmin, vm_offset_tmax);

See Also