RTEMS: rtems_bdbuf_group Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
rtems_bdbuf_group Struct Reference
Device Drivers » Block Device Library » Block Device Buffer Management

`#include <bdbuf.h>`

## Data Fields
rtems_chain_node | link
size_t | bds_per_group
uint32_t | users
rtems_bdbuf_buffer * | bdbuf

## 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:

- cpukit/include/rtems/bdbuf.h