RTEMS CPU Kit with SuperCore
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. More...
 
size_t bds_per_group
 The number of BD allocated to this group. More...
 
uint32_t users
 How many users the block has. More...
 
rtems_bdbuf_bufferbdbuf
 First BD this block covers. More...
 

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

◆ bdbuf

rtems_bdbuf_buffer* rtems_bdbuf_group::bdbuf

First BD this block covers.

◆ bds_per_group

size_t rtems_bdbuf_group::bds_per_group

The number of BD allocated to this group.

This value must be a multiple of

◆ link

rtems_chain_node rtems_bdbuf_group::link

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

◆ users

uint32_t rtems_bdbuf_group::users

How many users the block has.


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