Home
last modified time | relevance | path

Searched refs:lru_pf_queue (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/demand_paging/eviction/
Dlru.c63 static struct lru_pf_idx lru_pf_queue[K_MEM_NUM_PAGE_FRAMES + 1]; variable
67 #define LRU_PF_HEAD lru_pf_queue[0].next
68 #define LRU_PF_TAIL lru_pf_queue[0].prev
82 lru_pf_queue[pf_idx].next = 0; in lru_pf_append()
83 lru_pf_queue[pf_idx].prev = LRU_PF_TAIL; in lru_pf_append()
84 lru_pf_queue[LRU_PF_TAIL].next = pf_idx; in lru_pf_append()
90 uint32_t next = lru_pf_queue[pf_idx].next; in lru_pf_unlink()
91 uint32_t prev = lru_pf_queue[pf_idx].prev; in lru_pf_unlink()
93 lru_pf_queue[prev].next = next; in lru_pf_unlink()
94 lru_pf_queue[next].prev = prev; in lru_pf_unlink()
[all …]