RTEMS
5.1
|
Data Fields | |
rtems_id | swapout |
bool | swapout_enabled |
rtems_chain_control | swapout_free_workers |
rtems_bdbuf_buffer * | bds |
void * | buffers |
size_t | buffer_min_count |
size_t | max_bds_per_group |
uint32_t | flags |
rtems_mutex | lock |
rtems_mutex | sync_lock |
bool | sync_active |
rtems_id | sync_requester |
rtems_disk_device * | sync_device |
rtems_bdbuf_buffer * | tree |
rtems_chain_control | lru |
rtems_chain_control | modified |
rtems_chain_control | sync |
rtems_bdbuf_waiters | access_waiters |
rtems_bdbuf_waiters | transfer_waiters |
rtems_bdbuf_waiters | buffer_waiters |
rtems_bdbuf_swapout_transfer * | swapout_transfer |
rtems_bdbuf_swapout_worker * | swapout_workers |
size_t | group_count |
rtems_bdbuf_group * | groups |
rtems_id | read_ahead_task |
rtems_chain_control | read_ahead_chain |
bool | read_ahead_enabled |
rtems_status_code | init_status |
pthread_once_t | once |
The BD buffer cache.
rtems_bdbuf_waiters rtems_bdbuf_cache::access_waiters |
Wait for a buffer in ACCESS_CACHED, ACCESS_MODIFIED or ACCESS_EMPTY state.
rtems_bdbuf_buffer* rtems_bdbuf_cache::bds |
Pointer to table of buffer descriptors.
size_t rtems_bdbuf_cache::buffer_min_count |
Number of minimum size buffers that fit the buffer memory.
rtems_bdbuf_waiters rtems_bdbuf_cache::buffer_waiters |
Wait for a buffer and no one is available.
void* rtems_bdbuf_cache::buffers |
The buffer's memory.
uint32_t rtems_bdbuf_cache::flags |
Configuration flags.
size_t rtems_bdbuf_cache::group_count |
The number of groups.
rtems_bdbuf_group* rtems_bdbuf_cache::groups |
The groups.
rtems_status_code rtems_bdbuf_cache::init_status |
The initialization status
rtems_mutex rtems_bdbuf_cache::lock |
The cache lock. It locks all cache data, BD and lists.
rtems_chain_control rtems_bdbuf_cache::lru |
Least recently used list
size_t rtems_bdbuf_cache::max_bds_per_group |
The number of BDs of minimum buffer size that fit in a group.
rtems_chain_control rtems_bdbuf_cache::modified |
Modified buffers list
rtems_chain_control rtems_bdbuf_cache::read_ahead_chain |
Read-ahead request chain
bool rtems_bdbuf_cache::read_ahead_enabled |
Read-ahead enabled
rtems_id rtems_bdbuf_cache::read_ahead_task |
Read-ahead task
rtems_id rtems_bdbuf_cache::swapout |
Swapout task ID
bool rtems_bdbuf_cache::swapout_enabled |
Swapout is only running if enabled. Set to false to kill the swap out task. It deletes itself.
rtems_chain_control rtems_bdbuf_cache::swapout_free_workers |
The work threads for the swapout task.
rtems_chain_control rtems_bdbuf_cache::sync |
Buffers to sync list
bool rtems_bdbuf_cache::sync_active |
True if a sync is active.
rtems_disk_device* rtems_bdbuf_cache::sync_device |
The device to sync and BDBUF_INVALID_DEV not a device sync.
rtems_mutex rtems_bdbuf_cache::sync_lock |
Sync calls block writes.
rtems_id rtems_bdbuf_cache::sync_requester |
The sync requester.
rtems_bdbuf_waiters rtems_bdbuf_cache::transfer_waiters |
Wait for a buffer in TRANSFER state.
rtems_bdbuf_buffer* rtems_bdbuf_cache::tree |
Buffer descriptor lookup AVL tree root. There is only one.