RTEMS: rtems_rbheap_chunk Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
rtems_rbheap_chunk Struct Reference
API » Classic » Red-Black Tree Heap

Red-black heap chunk descriptor. More...

`#include <rbheap.h>`

## Data Fields
rtems_chain_node | chain_node
rtems_rbtree_node | tree_node
uintptr_t | begin
uintptr_t | size

## Detailed Description

Red-black heap chunk descriptor.

## Field Documentation

## ◆ begin

uintptr_t rtems_rbheap_chunk::begin

Begin address of the chunk. The address alignment it specified in the rtems_rbheap_control.

## ◆ chain_node

rtems_chain_node rtems_rbheap_chunk::chain_node

This chain node can be used in two chains

- the chain of spare chunk descriptors and
- the chain of free chunks in the managed memory area.

In case this chain node is not part of a chain, the chunk represents a used chunk in the managed memory area.

## ◆ size

uintptr_t rtems_rbheap_chunk::size

Size of the chunk in bytes.

## ◆ tree_node

rtems_rbtree_node rtems_rbheap_chunk::tree_node

Tree node for chunks that represent a part of the managed memory area. These chunks are either free or used.

The documentation for this struct was generated from the following file:

- cpukit/include/rtems/rbheap.h