met_ds_dealloc_stats(D3) met_ds_dealloc_stats(D3)
NAME
met_ds_dealloc_stats - deallocate a disk statistics structure
SYNOPSIS
#include <sys/types.h>
#include <sys/ddi.h>
void
met_ds_dealloc_stats(met_disk_stats_t *dsp)
Arguments
dsp A pointer to a met_disk_stats_t statistics structure.
DESCRIPTION
met_ds_dealloc_stats deallocates a disk statistics structure
previously allocated using met_ds_alloc_stats(D3).
Return Values
None.
USAGE
Deallocation of disk statistic structures is only necessary if
the driver is dynamically loadable. In that case, for every
drive, the driver calls met_ds_dealloc_stats, typically during
the unload routine. Once the statistics structure is
deallocated, the driver should not call any other disk
statistics routines without calling a met_ds_alloc_stats.
dsp is a pointer to a met_disk_stats_t statistics structure
which was allocated through a call to met_ds_alloc_stats.
Level
Base only.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
met_ds_alloc_stats(D3)
NOTICES
Portability
All processors
Copyright 1994 Novell, Inc. Page 1
met_ds_dealloc_stats(D3) met_ds_dealloc_stats(D3)
Applicability
ddi: 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2