[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

vm_mount Kernel Service


Adds a file system to the paging device table.


#include <sys/types.h>
#include <sys/errno.h>
#include  <sys/vmuser.h>
int vm_mount (type, ptr, nbufstr)
int type;  
int (*ptr)();
int nbufstr;     


type Specifies the type of device. The type parameter must have a value of D_REMOTE.
ptr Points to the file system's strategy routine.
nbufstr Specifies the number of buf structures to use.


The vm_mount kernel service allocates an entry in the paging device table for the file system. This service also allocates the number of buf structures specified by the nbufstr parameter for the calls to the strategy routine.

Execution Environment

The vm_mount kernel service can be called from the process environment only.

Return Values

0 Indicates a successful operation.
ENOMEM Indicates that there is no memory for the buf structures.
EINVAL Indicates that the file system strategy pointer is already in the paging device table.

Implementation Specifics

The vm_mount kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The vm_umount kernel service.

Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX Kernel Extensions and Device Support Programming Concepts.

[ Previous | Next | Contents | Home | Search ]