met_ds_queued(D3) met_ds_queued(D3)
NAME
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 b_flags)
Arguments
dsp Pointer to a met_disk_stats_t statistics structure.
b_flags The contents of the buffer header flags field.
DESCRIPTION
met_ds_queued updates disk statistics when a read or write
request is added to the driver queue.
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.
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
Copyright 1994 Novell, Inc. Page 1
met_ds_queued(D3) met_ds_queued(D3)
REFERENCES
met_ds_alloc_stats(D3), met_ds_dequeued(D3)
NOTICES
Portability
All processors
Applicability
ddi: 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2