Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_domain.h File Reference

Go to the source code of this file.

Detailed Description

Declare driver's domain handler exported interface

Definition in file ocs_domain.h.

Functions

int ocs_ddump_domain (ocs_textbuf_t *textbuf, ocs_domain_t *domain)
 Generate domain ddump. More...
 
ocs_domain_t * ocs_domain_alloc (ocs_t *ocs)
 Allocate a domain object. More...
 
void ocs_domain_free (ocs_domain_t *domain)
 free a domain object More...
 
void ocs_domain_force_free (ocs_domain_t *domain)
 Free memory resources of a domain object. More...
 
ocs_domain_t * ocs_domain_get_instance (ocs_t *ocs, uint32_t index)
 Return a pointer to the domain, given the instance index. More...
 

Function Details

void ocs_domain_force_free ( ocs_domain_t *  domain)

Free memory resources of a domain object.

Description

After the domain object is freed, its child objects are also freed.

Parameters
domainPointer to a domain object.
Returns
None.

Definition at line 147 of file ocs_domain.c.

ocs_domain_t* ocs_domain_get_instance ( ocs_t *  ocs,
uint32_t  index 
)

Return a pointer to the domain, given the instance index.

Description

A pointer to the domain context, given by the index, is returned.

Parameters
ocsPointer to the driver instance context.
indexInstance index.
Returns
Returns a pointer to the domain; or NULL.

Definition at line 173 of file ocs_domain.c.