ras_path_control Exported Kernel Services
Purpose
Controls component RAS characteristics.
Syntax
Description
The ras_path_control kernel
service passes a command to the RAS component specified by the path parameter.
Note: During
the ras_path_control process, callbacks to the registrant of
the component might be initiated for changes that the RAS infrastructure
makes to the component. The registrant should be aware of this for
locking purposes (for instance, the registrant should not be holding
any locks the callback needs).
Parameters
Item | Description |
---|---|
path | The pathname of the component to receive the command parameter. |
command | Command passed to the callback. Commands are specific to a given RAS domain, such as Component Trace. |
arg | Optional argument for the command. |
argsize | Size of the argument, if a buffer or structure. |
Execution Environment
The calling environment of the ras_path_control kernel service varies by individual command. The calling environment of a particular command is documented with the command itself.
Return Values
Item | Description |
---|---|
0 | Successful. |
non-zero | Unsuccessful. |