ldata_free Kernel Service

Purpose

Frees a storage element that is pinned to an ldata pool.

Syntax

#include <sys/ldata.h>

void ldata_free (ldatap, elementp)

ldata_t ldatap; 
void * elementp; 

Description

The ldata_free kernel service frees a pinned storage element that was previously allocated to an ldata pool. The pinned storage element is identified through the elementp parameter. The element identified by elementp is freed to the sub-pool corresponding to the SRAD that allocated the element.

Parameters

Item Description
ldatap Specifies the handle of the ldata pool.
elementp Specifies the address of the pinned storage element to be freed.

Execution Environment

The ldata_free kernel service can be called from the process or interrupt environment.

Return Values

None.

Implementation Specifics

The ldata_free kernel service is part of Base Operating System (BOS) Runtime.