MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _vm_map_init

Function _vm_map_init

freebsd/vm/vm_map.c:921–940  ·  view source on GitHub ↗

* Initialize an existing vm_map structure * such as that in the vmspace structure. */

Source from the content-addressed store, hash-verified

919 * such as that in the vmspace structure.
920 */
921static void
922_vm_map_init(vm_map_t map, pmap_t pmap, vm_offset_t min, vm_offset_t max)
923{
924
925 map->header.eflags = MAP_ENTRY_HEADER;
926 map->needs_wakeup = FALSE;
927 map->system_map = 0;
928 map->pmap = pmap;
929 map->header.end = min;
930 map->header.start = max;
931 map->flags = 0;
932 map->header.left = map->header.right = &map->header;
933 map->root = NULL;
934 map->timestamp = 0;
935 map->busy = 0;
936 map->anon_loc = 0;
937#ifdef DIAGNOSTIC
938 map->nupdates = 0;
939#endif
940}
941
942void
943vm_map_init(vm_map_t map, pmap_t pmap, vm_offset_t min, vm_offset_t max)

Callers 2

vmspace_allocFunction · 0.85
vm_map_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected