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.
The vm_umount kernel service can be called from the process environment only.
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. |
The vm_umount kernel service is part of Base Operating System (BOS) Runtime.
The vm_mount kernel service.
Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX Kernel Extensions and Device Support Programming Concepts.