|
ChibiOS 21.11.4
|
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 | cache_sem |
| Semaphore for cache access. | |
| 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 197 of file chobjcaches.h.
| ucnt_t ch_objects_cache::hashn |
Number of elements in the hash table.
Definition at line 201 of file chobjcaches.h.
Referenced by chCacheObjectInit().
| oc_hash_header_t* ch_objects_cache::hashp |
Pointer to the hash table.
Definition at line 205 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 209 of file chobjcaches.h.
Referenced by chCacheObjectInit().
| size_t ch_objects_cache::objsz |
Size of elements in the objects table.
Definition at line 213 of file chobjcaches.h.
| void* ch_objects_cache::objvp |
Pointer to the objects table.
Definition at line 217 of file chobjcaches.h.
Referenced by chCacheObjectInit().
| oc_lru_header_t ch_objects_cache::lru |
LRU list header.
Definition at line 221 of file chobjcaches.h.
Referenced by chCacheObjectInit(), and lru_get_last_s().
| semaphore_t ch_objects_cache::cache_sem |
Semaphore for cache access.
Definition at line 225 of file chobjcaches.h.
Referenced by chCacheObjectInit().
| semaphore_t ch_objects_cache::lru_sem |
Semaphore for LRU access.
Definition at line 229 of file chobjcaches.h.
Referenced by chCacheObjectInit(), chCacheReleaseObjectI(), and lru_get_last_s().
| oc_readf_t ch_objects_cache::readf |
Reader functions for cached objects.
Definition at line 233 of file chobjcaches.h.
Referenced by chCacheObjectInit(), and chCacheReadObject().
| oc_writef_t ch_objects_cache::writef |
Writer functions for cached objects.
Definition at line 237 of file chobjcaches.h.
Referenced by chCacheObjectInit(), chCacheWriteObject(), and lru_get_last_s().