RTEMS 6.1-rc1
Functions
chainprotected.c File Reference

This source file contains the implementation of rtems_chain_append(), rtems_chain_append_with_empty_check(), rtems_chain_extract(), rtems_chain_get(), rtems_chain_get_with_empty_check(), rtems_chain_insert(), rtems_chain_prepend(), and rtems_chain_prepend_with_empty_check(). More...

#include <rtems/chain.h>
#include <rtems/rtems/intr.h>

Functions

void rtems_chain_extract (rtems_chain_node *node)
 Extract the specified node from a chain. More...
 
rtems_chain_nodertems_chain_get (rtems_chain_control *chain)
 Obtain the first node on a chain. More...
 
void rtems_chain_insert (rtems_chain_node *after_node, rtems_chain_node *node)
 Insert a node on a chain. More...
 
void rtems_chain_append (rtems_chain_control *chain, rtems_chain_node *node)
 Append a node on the end of a chain. More...
 
void rtems_chain_prepend (rtems_chain_control *chain, rtems_chain_node *node)
 Prepend a node. More...
 
bool rtems_chain_append_with_empty_check (rtems_chain_control *chain, rtems_chain_node *node)
 Checks if the chain is empty and appends the node. More...
 
bool rtems_chain_prepend_with_empty_check (rtems_chain_control *chain, rtems_chain_node *node)
 Checks if the chain is empty and prepends the node. More...
 
bool rtems_chain_get_with_empty_check (rtems_chain_control *chain, rtems_chain_node **node)
 Tries to get the first node and check if the chain is empty afterwards. More...
 

Detailed Description

This source file contains the implementation of rtems_chain_append(), rtems_chain_append_with_empty_check(), rtems_chain_extract(), rtems_chain_get(), rtems_chain_get_with_empty_check(), rtems_chain_insert(), rtems_chain_prepend(), and rtems_chain_prepend_with_empty_check().