RTEMS CPU Kit with SuperCore  4.10.99.0
Data Fields
rtems_bdbuf_group Struct Reference

A group is a continuous block of buffer descriptors. More...

#include <bdbuf.h>

Collaboration diagram for rtems_bdbuf_group:
Collaboration graph
[legend]

Data Fields

rtems_chain_node link
 Link the groups on a LRU list if they have no buffers in use.
size_t bds_per_group
 The number of BD allocated to this group.
uint32_t users
 How many users the block has.
rtems_bdbuf_bufferbdbuf
 First BD this block covers.

Detailed Description

A group is a continuous block of buffer descriptors.

A group covers the maximum configured buffer size and is the allocation size for the buffers to a specific buffer size. If you allocate a buffer to be a specific size, all buffers in the group, if there are more than 1 will also be that size. The number of buffers in a group is a multiple of 2, ie 1, 2, 4, 8, etc.


Field Documentation

First BD this block covers.

The number of BD allocated to this group.

This value must be a multiple of 2.

Link the groups on a LRU list if they have no buffers in use.

How many users the block has.


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