AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
blk Struct Reference

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

Detailed Description

A block of the cache.

Definition at line 53 of file blkcache.c.

Field Documentation

◆ dirty

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().

◆ hnext

struct blk* blk::hnext

Definition at line 59 of file blkcache.c.

Referenced by block_new(), evict(), and lookup().

◆ newer

struct blk* blk::newer

Definition at line 60 of file blkcache.c.

Referenced by block_new(), lru_push(), and lru_unlink().

◆ nr

◆ older

struct blk * blk::older

Definition at line 60 of file blkcache.c.

Referenced by lru_push(), and lru_unlink().

◆ owner

void* blk::owner

◆ valid

uint8_t blk::valid

Definition at line 56 of file blkcache.c.

Referenced by blkcache_read(), blkcache_write(), and block_new().

◆ write

blkcache_io blk::write

Definition at line 57 of file blkcache.c.

Referenced by blkcache_flush(), blkcache_write(), flush_block(), make_dirty(), and prefault().


The documentation for this struct was generated from the following file: