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

vm_umount Kernel Service


Removes a file system from the paging device table.


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


type Specifies the type of device. The type parameter must have a value of D_REMOTE.
ptr Points to the strategy routine.


The vm_umount kernel service waits for all I/O for the device scheduled by the pager to finish. This service then frees the entry in the paging device table. The associated buf structures are also freed.

Execution Environment

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

Return Values

0 Indicates successful completion.
EINVAL Indicates that a file system with the strategy routine designated by the ptr parameter is not in the paging device table.

Implementation Specifics

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

Related Information

The vm_mount 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 ]