Creates a virtual memory object of the specified type, size, and limits.
#include <sys/types.h> #include <sys/errno.h> #include <sys/vmuser.h>
int vms_create (vmid, type, gn, size, uplim, downlim) vmid_t *vmid; int type; struct gnode *gn; int size; int uplim; int downlim;
The vms_create kernel service creates a virtual memory object. The resulting virtual memory object identifier is passed back by reference in the vmid parameter.
The size parameter is used to determine the size in units of bytes of the virtual memory object to be created. This parameter sets an internal variable that determines the virtual memory range to be processed when the virtual memory object is deleted.
An entry for the file system is required in the paging device table when the vms_create kernel service is called.
The vms_create kernel service can be called from the process environment only.
The vms_create kernel service is part of Base Operating System (BOS) Runtime.
The vms_delete kernel service.
Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX Kernel Extensions and Device Support Programming Concepts.