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

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