DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

met_ds_queued(D3)


met_ds_queued -- update disk statistics when a read or write request is added to the queue

Synopsis

   #include <sys/types.h>
   #include <sys/ddi.h>
   

void met_ds_queued(met_disk_stats_t *dsp, uint_t b_flags)

Description

met_ds_queued updates disk statistics when a read or write request is added to the driver queue.

Arguments


dsp
Pointer to a met_disk_stats_t statistics structure.

b_flags
The contents of the buffer header flags field.

Return values

None.

Usage

Just before a read or write request is added to the driver queue, the driver must call met_ds_queued.

The dsp parameter is a pointer to a met_disk_stats_t statistics structure which was allocated through a call to met_ds_alloc_stats(D3).

Refer to met_ds_dequeued(D3) man page if the enqueuing can fail.

met_ds_queued should be protected from interrupts.

Context and synchronization

Non-blockable, interrupt, user, or blockable context.

Hardware applicability

All

Version applicability

ddi: 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

References

met_ds_alloc_stats(D3), met_ds_dequeued(D3)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005