[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

vm_umount Kernel Service

Purpose

Removes a file system from the paging device table.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/vmuser.h>


int vm_umount ( type, ptr)
int type;
int (*ptr)();

Parameters

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

Description

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.

Related Information

The vm_mount kernel service.

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

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]