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

purblk Kernel Service

Purpose

Purges the specified block from the buffer cache.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/buf.h>
 
void purblk (dev, blkno)
dev_t dev; 
daddr_t blkno;

Parameters

dev Specifies the device containing the block to be purged.
blkno Specifies the block to be purged.

Description

The purblk kernel service purges (that is, makes unreclaimable by marking the block with a value of STALE) the specified block from the buffer cache.

Execution Environment

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

Return Values

The purblk service has no return values.

Implementation Specifics

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

Related Information

The brelse kernel service, geteblk kernel service.

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

I/O Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]