RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions
freechain.c File Reference

This source file contains the implementation of _Freechain_Extend(), _Freechain_Get(), and _Freechain_Put(). More...

#include <rtems/score/freechainimpl.h>
#include <rtems/score/assert.h>

Functions

void * _Freechain_Extend (Freechain_Control *freechain, Freechain_Allocator allocator, size_t number_nodes_to_extend, size_t node_size)
 Extend the freechain with new nodes.
 
void * _Freechain_Get (Freechain_Control *freechain, Freechain_Allocator allocator, size_t number_nodes_to_extend, size_t node_size)
 Gets a node from the freechain.
 
void _Freechain_Put (Freechain_Control *freechain, void *node)
 Puts a node back onto the freechain.
 

Detailed Description

This source file contains the implementation of _Freechain_Extend(), _Freechain_Get(), and _Freechain_Put().