Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

IMA_RemoveStaleData (3IMA)

Name

IMA_RemoveStaleData - Removes all the stale persistent data of the specified LHBA

Synopsis

cc [ flag... ] file... -lima [ library... ]
#include <ima.h>

IMA_STATUS IMA_RemoveStaleData(
     /* in */     IMA_OID lhbaOid,
);

Parameters

lhbaOid

The object ID of the logical host bus adapter (LHBA) whose stale data is to be removed

Description

The IMA_RemoveStaleData() API removes all the stale persistent data of the specified LHBA.

Return Values

IMA_ERROR_NOT_SUPPORTED

Returned if the LHBA does not support removing stale data

IMA_ERROR_INVALID_OBJECT_TYPE

Returned if the lhbaOid argument does not specify a valid object type

IMA_ERROR_INCORRECT_OBJECT_TYPE

Returned if the lhbaOid argument does not specify an LHBA object

IMA_ERROR_OBJECT_NOT_FOUND

Returned if the lhbaOid argument does not specify an LHBA known to the system

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/storage/snia-ima
Interface Stability
Volatile
MT-Level
Safe

See Also

libima(3LIB), attributes(7), IMA_GetLHBAProperties(3IMA)