Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

SUN_IMA_SetTunableProperties (3IMA)

Name

SUN_IMA_SetTunableProperties - Sets the tunable parameters of the specified session or HBA

Synopsis

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

IMA_STATUS SUN_IMA_SetTunableProperties(
    /* in */     IMA_OID oid,
    /* in */     ISCSI_TUNABLE_PARAM *param
);

Parameters

oid

The object ID of the session or host bus adapter (HBA) whose tunable parameters are being retrieved.

param

A pointer to an ISCSI_TUNABLE_PARAM data structure allocated by the caller. If returned successfully, this data structure contains the properties of the tunable parameters specified by the oid argument.

Description

The SUN_IMA_SetTunableProperties() API sets the tunable parameters of the specified session or HBA.

Return Values

IMA_ERROR_INVALID_PARAMETER

Returned if the param argument is NULL, or specifies a memory area to which data cannot be written, or if the tunable object type of the param argument is not supported

IMA_ERROR_OBJECT_NOT_FOUND

Returned if the oid argument does not specify a session or HBA 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), SUN_IMA_GetTunableProperties(3IMA)