Searched refs:k_mem_page_frame (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/kernel/include/ |
D | mmu.h | 167 struct k_mem_page_frame { struct 193 static inline bool k_mem_page_frame_is_free(struct k_mem_page_frame *pf) in k_mem_page_frame_is_free() 198 static inline bool k_mem_page_frame_is_pinned(struct k_mem_page_frame *pf) in k_mem_page_frame_is_pinned() 203 static inline bool k_mem_page_frame_is_reserved(struct k_mem_page_frame *pf) in k_mem_page_frame_is_reserved() 208 static inline bool k_mem_page_frame_is_mapped(struct k_mem_page_frame *pf) in k_mem_page_frame_is_mapped() 213 static inline bool k_mem_page_frame_is_busy(struct k_mem_page_frame *pf) in k_mem_page_frame_is_busy() 218 static inline bool k_mem_page_frame_is_backed(struct k_mem_page_frame *pf) in k_mem_page_frame_is_backed() 223 static inline bool k_mem_page_frame_is_evictable(struct k_mem_page_frame *pf) in k_mem_page_frame_is_evictable() 236 static inline bool k_mem_page_frame_is_available(struct k_mem_page_frame *page) in k_mem_page_frame_is_available() 241 static inline void k_mem_page_frame_set(struct k_mem_page_frame *pf, uint8_t flags) in k_mem_page_frame_set() [all …]
|
/Zephyr-latest/include/zephyr/kernel/mm/ |
D | demand_paging.h | 32 struct k_mem_page_frame; 235 void k_mem_paging_eviction_add(struct k_mem_page_frame *pf); 250 void k_mem_paging_eviction_remove(struct k_mem_page_frame *pf); 268 static inline void k_mem_paging_eviction_add(struct k_mem_page_frame *pf) in k_mem_paging_eviction_add() 273 static inline void k_mem_paging_eviction_remove(struct k_mem_page_frame *pf) in k_mem_paging_eviction_remove() 301 struct k_mem_page_frame *k_mem_paging_eviction_select(bool *dirty); 357 int k_mem_paging_backing_store_location_get(struct k_mem_page_frame *pf, 435 void k_mem_paging_backing_store_page_finalize(struct k_mem_page_frame *pf,
|
/Zephyr-latest/subsys/demand_paging/eviction/ |
D | lru.c | 70 static inline uint32_t pf_to_idx(struct k_mem_page_frame *pf) in pf_to_idx() 75 static inline struct k_mem_page_frame *idx_to_pf(uint32_t idx) in idx_to_pf() 119 struct k_mem_page_frame *pf = idx_to_pf(LRU_PF_HEAD); in lru_pf_remove() 128 void k_mem_paging_eviction_add(struct k_mem_page_frame *pf) in k_mem_paging_eviction_add() 139 void k_mem_paging_eviction_remove(struct k_mem_page_frame *pf) in k_mem_paging_eviction_remove() 151 struct k_mem_page_frame *pf = k_mem_phys_to_page_frame(phys); in k_mem_paging_eviction_accessed() 162 struct k_mem_page_frame *k_mem_paging_eviction_select(bool *dirty_ptr) in k_mem_paging_eviction_select() 170 struct k_mem_page_frame *pf = idx_to_pf(head_pf_idx); in k_mem_paging_eviction_select()
|
D | nru.c | 30 struct k_mem_page_frame *pf; in nru_periodic_update() 46 struct k_mem_page_frame *k_mem_paging_eviction_select(bool *dirty_ptr) in k_mem_paging_eviction_select() 49 struct k_mem_page_frame *last_pf = NULL, *pf; in k_mem_paging_eviction_select() 121 void k_mem_paging_eviction_add(struct k_mem_page_frame *pf) in k_mem_paging_eviction_add() 126 void k_mem_paging_eviction_remove(struct k_mem_page_frame *pf) in k_mem_paging_eviction_remove()
|
/Zephyr-latest/subsys/demand_paging/backing_store/ |
D | backing_store_qemu_x86_tiny.c | 43 int k_mem_paging_backing_store_location_get(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_location_get() 70 void k_mem_paging_backing_store_page_finalize(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_page_finalize()
|
D | backing_store_ondemand_semihost.c | 18 int k_mem_paging_backing_store_location_get(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_location_get() 51 void k_mem_paging_backing_store_page_finalize(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_page_finalize()
|
D | ram.c | 85 int k_mem_paging_backing_store_location_get(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_location_get() 127 void k_mem_paging_backing_store_page_finalize(struct k_mem_page_frame *pf, in k_mem_paging_backing_store_page_finalize()
|
/Zephyr-latest/kernel/ |
D | mmu.c | 54 struct k_mem_page_frame k_mem_page_frames[K_MEM_NUM_PAGE_FRAMES]; 82 static void page_frame_dump(struct k_mem_page_frame *pf) in page_frame_dump() 117 struct k_mem_page_frame *pf = &k_mem_page_frames[i]; in k_mem_page_frames_dump() 399 static struct k_mem_page_frame *free_page_frame_list_get(void) in free_page_frame_list_get() 402 struct k_mem_page_frame *pf = NULL; in free_page_frame_list_get() 407 pf = CONTAINER_OF(node, struct k_mem_page_frame, node); in free_page_frame_list_get() 417 static void free_page_frame_list_put(struct k_mem_page_frame *pf) in free_page_frame_list_put() 432 static void page_frame_free_locked(struct k_mem_page_frame *pf) in page_frame_free_locked() 445 static void frame_mapped_set(struct k_mem_page_frame *pf, void *addr) in frame_mapped_set() 482 struct k_mem_page_frame *pf; in virt_to_page_frame() [all …]
|
/Zephyr-latest/soc/intel/intel_socfpga_std/cyclonev/ |
D | soc.c | 32 struct k_mem_page_frame *pf = k_mem_phys_to_page_frame(pos); in arch_reserved_pages_update()
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | demand_paging.rst | 53 addresses. For every page frame, a ``struct k_mem_page_frame`` is instantiated to
|