| 
    ChibiOS 21.11.4
    
   | 
 
Structure representing a cached object. More...
#include <chobjcaches.h>

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