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

met_ds_dealloc_stats(D3)


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)

Description

met_ds_dealloc_stats deallocates a disk statistics structure previously allocated using met_ds_alloc_stats(D3).

Arguments


dsp
A pointer to a met_disk_stats_t statistics structure.

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.

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)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005