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

Technical Reference: Kernel and Subsystems, 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.

Related Information

The bflush kernel service, blkflush kernel service.

Block I/O Buffer Cache Kernel Services: Overview and I/O Kernel Services 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 ]