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

binval Kernel Service

Purpose

Makes nonreclaimable all blocks in the buffer cache of a specified device.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/buf.h>
void binval (dev)
dev_t  dev;

Parameter

dev Specifies the device to be purged.

Description

The binval kernel service makes nonreclaimable all blocks in the buffer cache of a specified device. Before removing the device from the system, use the binval service to remove the blocks.

All of blocks of the device to be removed need to be flushed before you call the binval service. Typically, these blocks are flushed after the last close of the device.

Execution Environment

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

Return Values

The binval service has no return values.

Implementation Specifics

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

Related Information

The bflush kernel service, blkflush kernel service.

Block I/O Buffer Cache Kernel Services: Overview and I/O Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]