|
AquilaOS documentation
How it works, and its code
|
A block of the cache. More...
Data Fields | |
| void * | owner |
| uint64_t | nr |
| uint8_t | valid |
| uint8_t | dirty |
| blkcache_io | write |
| struct blk * | hnext |
| struct blk * | newer |
| struct blk * | older |
A block of the cache.
Definition at line 53 of file blkcache.c.
| uint8_t blk::dirty |
Definition at line 56 of file blkcache.c.
Referenced by blkcache_flush(), block_new(), flush_block(), full_dirty(), make_clean(), and make_dirty().
| struct blk* blk::hnext |
Definition at line 59 of file blkcache.c.
Referenced by block_new(), evict(), and lookup().
| struct blk* blk::newer |
Definition at line 60 of file blkcache.c.
Referenced by block_new(), lru_push(), and lru_unlink().
| uint64_t blk::nr |
Definition at line 55 of file blkcache.c.
Referenced by blkcache_flush(), blkcache_read(), blkcache_write(), block_new(), bucket(), evict(), flush_block(), lookup(), and overlap().
| struct blk * blk::older |
Definition at line 60 of file blkcache.c.
Referenced by lru_push(), and lru_unlink().
| void* blk::owner |
Definition at line 54 of file blkcache.c.
Referenced by blkcache_flush(), blkcache_read(), blkcache_write(), block_new(), bucket(), evict(), flush_block(), and lookup().
| uint8_t blk::valid |
Definition at line 56 of file blkcache.c.
Referenced by blkcache_read(), blkcache_write(), and block_new().
| blkcache_io blk::write |
Definition at line 57 of file blkcache.c.
Referenced by blkcache_flush(), blkcache_write(), flush_block(), make_dirty(), and prefault().