RTEMS  5.1
Data Fields

#include <bdbuf.h>

Data Fields

rtems_chain_node link
 
size_t bds_per_group
 
uint32_t users
 
rtems_bdbuf_bufferbdbuf
 

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: