Home
last modified time | relevance | path

Searched refs:memsegs (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libvmmapi/
H A Dvmmapi.c154 memset(vm->memsegs, 0, sizeof(vm->memsegs)); in vm_openf()
323 *lowmem_size = ctx->memsegs[VM_MEMSEG_LOW].size; in vm_get_guestmem_from_ctx()
324 *highmem_size = ctx->memsegs[VM_MEMSEG_HIGH].size; in vm_get_guestmem_from_ctx()
480 ctx->memsegs[VM_MEMSEG_LOW].size = VM_LOWMEM_LIMIT; in vm_setup_memory()
481 ctx->memsegs[VM_MEMSEG_HIGH].size = memsize - VM_LOWMEM_LIMIT; in vm_setup_memory()
482 objsize = VM_HIGHMEM_BASE + ctx->memsegs[VM_MEMSEG_HIGH].size; in vm_setup_memory()
484 ctx->memsegs[VM_MEMSEG_LOW].size = memsize; in vm_setup_memory()
485 ctx->memsegs[VM_MEMSEG_HIGH].size = 0; in vm_setup_memory()
503 if (ctx->memsegs[VM_MEMSEG_HIGH].size > 0) { in vm_setup_memory()
505 len = ctx->memsegs[VM_MEMSEG_HIGH].size; in vm_setup_memory()
[all …]
H A Dinternal.h24 } memsegs[VM_MEMSEG_COUNT]; member