DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

udi_usage_res(3udi)


Resource usage and trace level response operation

SYNOPSIS

#include <udi.h>

void udi_usage_res (

	udi_usage_cb_t *cb );
 

ARGUMENTS cb is a pointer to a Management Metalanguage usage control block.

TARGET CHANNEL The affected driver instance's management channel.

DESCRIPTION The udi_usage_res operation is used by the driver to respond to update information provided by the Management Agent from a udi_usage_ind operation.

If the driver does not support one or more of the requested trace event types, it must clear the corresponding bits in the trace_mask field of the control block in the acknowledgement. In particular, if tracing is entirely unsupported, trace_mask must be set to zero.

This operation is also used to acknowledge the receipt of the resource indication; it does not indicate to the Management Agent that the driver has completed any internal resource adjustements as a result of the resource indication, but merely indicates that the driver is aware of the new resource levels.

warnings The control block must be the same control block as passed to the driver in the corresponding udi_usage_ind operation.

REFERENCES udi_usage_cb_t, udi_usage_ind


UDI Core Specification Contents