ChibiOS
21.6.0
|
Structure representing a cached object. More...
#include <chobjcaches.h>
Data Fields | |
oc_object_t * | hash_next |
Next in the collisions list. More... | |
oc_object_t * | hash_prev |
Previous in the collisions list. More... | |
oc_object_t * | lru_next |
Next in the LRU list. More... | |
oc_object_t * | lru_prev |
Previous in the LRU list. More... | |
uint32_t | obj_group |
Object group. More... | |
uint32_t | obj_key |
Object key. More... | |
semaphore_t | obj_sem |
Semaphore for object access. More... | |
oc_flags_t | obj_flags |
Object flags. More... | |
void * | dptr |
User pointer. More... | |
Structure representing a cached object.
Definition at line 149 of file chobjcaches.h.
oc_object_t* ch_oc_object::hash_next |
Next in the collisions list.
Definition at line 153 of file chobjcaches.h.
oc_object_t* ch_oc_object::hash_prev |
Previous in the collisions list.
Definition at line 157 of file chobjcaches.h.
oc_object_t* ch_oc_object::lru_next |
Next in the LRU list.
Definition at line 161 of file chobjcaches.h.
oc_object_t* ch_oc_object::lru_prev |
Previous in the LRU list.
Definition at line 165 of file chobjcaches.h.
uint32_t ch_oc_object::obj_group |
Object group.
Definition at line 169 of file chobjcaches.h.
uint32_t ch_oc_object::obj_key |
Object key.
Definition at line 173 of file chobjcaches.h.
semaphore_t ch_oc_object::obj_sem |
Semaphore for object access.
Definition at line 177 of file chobjcaches.h.
Referenced by chCacheObjectInit().
oc_flags_t ch_oc_object::obj_flags |
Object flags.
Definition at line 181 of file chobjcaches.h.
Referenced by chCacheGetObject(), chCacheReadObject(), chCacheReleaseObjectI(), chCacheWriteObject(), and lru_get_last_s().
void* ch_oc_object::dptr |
User pointer.
chCacheObjectInit()
initializes it to NULL
. Definition at line 187 of file chobjcaches.h.