Searched refs:k_mem_page_frames (Results 1 – 5 of 5) sorted by relevance
58 last_pf_idx = (last_pf_idx + 1) % ARRAY_SIZE(k_mem_page_frames); in k_mem_paging_eviction_select()61 pf = &k_mem_page_frames[pf_idx]; in k_mem_paging_eviction_select()62 pf_idx = (pf_idx + 1) % ARRAY_SIZE(k_mem_page_frames); in k_mem_paging_eviction_select()100 last_pf_idx = last_pf - k_mem_page_frames; in k_mem_paging_eviction_select()
72 return (pf - k_mem_page_frames) + 1; in pf_to_idx()77 return &k_mem_page_frames[idx - 1]; in idx_to_pf()
261 extern struct k_mem_page_frame k_mem_page_frames[K_MEM_NUM_PAGE_FRAMES];265 return (uintptr_t)((pf - k_mem_page_frames) * CONFIG_MMU_PAGE_SIZE) + in k_mem_page_frame_to_phys()289 return &k_mem_page_frames[(phys - K_MEM_PHYS_RAM_START) / in k_mem_phys_to_page_frame()320 for ((_phys) = K_MEM_PHYS_RAM_START, (_pageframe) = k_mem_page_frames; \
54 struct k_mem_page_frame k_mem_page_frames[K_MEM_NUM_PAGE_FRAMES]; variable117 struct k_mem_page_frame *pf = &k_mem_page_frames[i]; in k_mem_page_frames_dump()
361 k_mem_page_frame_set(&k_mem_page_frames[idx], K_MEM_PAGE_FRAME_RESERVED); in arch_reserved_pages_update()