ras_customize Exported Kernel Service

Purpose

Loads persistent customized properties for a RAS control block.

Syntax

#include <sys/ras.h>

kerrno_t ras_customize (ras_block_t ras_blk);

Description

The ras_customize kernel service checks for, and applies persistent customized properties for a given ras_blk parameter. After applying any persistent properties, the ras_customize kernel service puts the ras_blk parameter in a usable state. Registration is not complete without a call to the ras_customize kernel service.

Note: During the ras_customize process, callbacks to the registrant might be initiated for changes that the RAS infrastructure makes to the component. The registrant should be aware of this for locking and initialization purposes (for example, the registrant should not be holding any locks that the callback needs, and the private data for the callback should be initialized before ras_customize is called).

If the ras_blk input parameter has a value of RAS_BLOCK_NULL, the ras_customize kernel service returns without errors and takes no action.

Parameters

Item Description
ras_blk The control block to act on. Must be previously allocated by the ras_register kernel service.

Execution Environment

The ras_customize kernel service must be called from the process environment.

Return Values

Item Description
0 Successful.
non-zero Unsuccessful.