ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
slru_t Struct Reference

Two LRU segments threaded through shared prev/next frame arrays. More...

Data Fields

int32_t * prev
 prev[f] toward MRU within the frame's segment.
int32_t * next
 next[f] toward LRU within the frame's segment.
int32_t pb_head
 Probationary MRU, or -1.
int32_t pb_tail
 Probationary LRU (first evicted), or -1.
int32_t pt_head
 Protected MRU, or -1.
int32_t pt_tail
 Protected LRU, or -1.
uint32_t pt_count
 Frames currently in the protected segment.
uint32_t pt_cap
 Protected-segment capacity.

Detailed Description

Two LRU segments threaded through shared prev/next frame arrays.

Definition at line 59 of file policy_scanresist.c.

Field Documentation

◆ next

int32_t* slru_t::next

next[f] toward LRU within the frame's segment.

Definition at line 61 of file policy_scanresist.c.

Referenced by internal_slru_init(), internal_slru_push_head(), and internal_slru_unlink().

◆ pb_head

int32_t slru_t::pb_head

Probationary MRU, or -1.

Definition at line 62 of file policy_scanresist.c.

Referenced by internal_slru_access(), internal_slru_init(), internal_slru_insert(), and internal_slru_victim().

◆ pb_tail

int32_t slru_t::pb_tail

Probationary LRU (first evicted), or -1.

Definition at line 63 of file policy_scanresist.c.

Referenced by internal_slru_access(), internal_slru_init(), internal_slru_insert(), and internal_slru_victim().

◆ prev

int32_t* slru_t::prev

prev[f] toward MRU within the frame's segment.

Definition at line 60 of file policy_scanresist.c.

Referenced by internal_slru_init(), internal_slru_push_head(), and internal_slru_unlink().

◆ pt_cap

uint32_t slru_t::pt_cap

Protected-segment capacity.

Definition at line 67 of file policy_scanresist.c.

Referenced by internal_slru_access(), and internal_slru_init().

◆ pt_count

uint32_t slru_t::pt_count

Frames currently in the protected segment.

Definition at line 66 of file policy_scanresist.c.

Referenced by internal_slru_access(), and internal_slru_victim().

◆ pt_head

int32_t slru_t::pt_head

Protected MRU, or -1.

Definition at line 64 of file policy_scanresist.c.

Referenced by internal_slru_access(), internal_slru_init(), and internal_slru_victim().

◆ pt_tail

int32_t slru_t::pt_tail

Protected LRU, or -1.

Definition at line 65 of file policy_scanresist.c.

Referenced by internal_slru_access(), internal_slru_init(), and internal_slru_victim().


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