RTEMS CPU Kit with SuperCore 188.8.131.52
To manage buffers we using buffer descriptors (BD). More...
|Link the BD onto a number of lists. |
|disk device |
|block number on the device |
|unsigned char *||buffer|
|Pointer to the buffer memory area. |
|State of the buffer. |
|The number of threads waiting on this buffer. |
|Pointer to the group of BDs this BD is part of. |
|Timer to indicate how long a buffer has been held in the cache modified. |
|Allow reference counting by owner. |
|User data. |
To manage buffers we using buffer descriptors (BD).
A BD holds a buffer plus a range of other information related to managing the buffer in the cache. To speed-up buffer lookup descriptors are organized in AVL-Tree. The fields 'dd' and 'block' are search keys.
Timer to indicate how long a buffer has been held in the cache modified.
Allow reference counting by owner.
The number of threads waiting on this buffer.