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

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

Related Information

The brelse kernel service, geteblk kernel service.

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

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 ]