|
ChibiOS/RT 7.0.6
|
Structure representing a cache object. More...
#include <chobjcaches.h>

Data Fields | |
| ucnt_t | hashn |
| Number of elements in the hash table. | |
| oc_hash_header_t * | hashp |
| Pointer to the hash table. | |
| ucnt_t | objn |
| Number of elements in the objects table. | |
| size_t | objsz |
| Size of elements in the objects table. | |
| void * | objvp |
| Pointer to the objects table. | |
| oc_lru_header_t | lru |
| LRU list header. | |
| semaphore_t | lru_sem |
| Semaphore for LRU access. | |
| oc_readf_t | readf |
| Reader functions for cached objects. | |
| oc_writef_t | writef |
| Writer functions for cached objects. | |
Structure representing a cache object.
Definition at line 196 of file chobjcaches.h.
| ucnt_t ch_objects_cache::hashn |
Number of elements in the hash table.
Definition at line 200 of file chobjcaches.h.
Referenced by chCacheObjectInit().
| oc_hash_header_t* ch_objects_cache::hashp |
Pointer to the hash table.
Definition at line 204 of file chobjcaches.h.
Referenced by chCacheObjectInit(), and hash_get_s().
| ucnt_t ch_objects_cache::objn |
Number of elements in the objects table.
Definition at line 208 of file chobjcaches.h.
Referenced by chCacheObjectInit().
| size_t ch_objects_cache::objsz |
Size of elements in the objects table.
Definition at line 212 of file chobjcaches.h.
Referenced by chCacheObjectInit().
| void* ch_objects_cache::objvp |
Pointer to the objects table.
Definition at line 216 of file chobjcaches.h.
Referenced by chCacheObjectInit().
| oc_lru_header_t ch_objects_cache::lru |
LRU list header.
Definition at line 220 of file chobjcaches.h.
Referenced by chCacheObjectInit(), and lru_get_last_s().
| semaphore_t ch_objects_cache::lru_sem |
Semaphore for LRU access.
Definition at line 224 of file chobjcaches.h.
Referenced by chCacheGetObject(), chCacheObjectInit(), chCacheReleaseObjectI(), and lru_get_last_s().
| oc_readf_t ch_objects_cache::readf |
Reader functions for cached objects.
Definition at line 228 of file chobjcaches.h.
Referenced by chCacheObjectInit(), and chCacheReadObject().
| oc_writef_t ch_objects_cache::writef |
Writer functions for cached objects.
Definition at line 232 of file chobjcaches.h.
Referenced by chCacheObjectInit(), chCacheWriteObject(), and lru_get_last_s().