RTEMS 6.1-rc2
|
#include <bdbuf.h>
Data Fields | |
rtems_chain_node | link |
size_t | bds_per_group |
uint32_t | users |
rtems_bdbuf_buffer * | bdbuf |
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.
rtems_bdbuf_buffer* rtems_bdbuf_group::bdbuf |
First BD this block covers.
size_t rtems_bdbuf_group::bds_per_group |
The number of BD allocated to this group. This value must be a multiple of
rtems_chain_node rtems_bdbuf_group::link |
Link the groups on a LRU list if they have no buffers in use.
uint32_t rtems_bdbuf_group::users |
How many users the block has.