Flash Translation Layer  1.0
Data Fields
lru_cache Struct Reference

main LRU cache data structure More...

#include <lru.h>

Collaboration diagram for lru_cache:
Collaboration graph

Data Fields

size_t capacity
 
size_t size
 
struct lru_nodehead
 
lru_dealloc_fn deallocate
 
struct lru_node nil
 

Detailed Description

main LRU cache data structure

Field Documentation

◆ capacity

size_t lru_cache::capacity

total number of the lru_node

◆ deallocate

lru_dealloc_fn lru_cache::deallocate

◆ head

struct lru_node* lru_cache::head

◆ nil

struct lru_node lru_cache::nil

don't access this directly

◆ size

size_t lru_cache::size

current number of the lru_node


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