Lines Matching full:page

40 		/** Number of page faults */
43 /** Number of page faults with IRQ locked */
46 /** Number of page faults with IRQ unlocked */
50 /** Number of page faults while in ISR */
85 * Evict a page-aligned virtual memory region to the backing store
89 * backing store if they weren't already, with their associated page frames
90 * marked as available for mappings or page-ins.
92 * None of the associated page frames mapped to the provided region should
96 * they could take page faults immediately.
101 * @param addr Base page-aligned virtual address
102 * @param size Page-aligned data region size
112 * After the function completes, all the page frames associated with this
119 * @param addr Base page-aligned virtual address
120 * @param size Page-aligned data region size
127 * After the function completes, all the page frames associated with this
134 * @param addr Base page-aligned virtual address
135 * @param size Page-aligned data region size
142 * After the function completes, all the page frames associated with this
146 * @param addr Base page-aligned virtual address
147 * @param size Page-aligned data region size
187 * Get the backing store page-in timing histogram
198 * Get the backing store page-out timing histogram
223 * Submit a page frame for eviction candidate tracking
226 * page frame may be considered as a potential eviction candidate.
233 * @param [in] pf The page frame to add
238 * Remove a page frame from potential eviction candidates
241 * page frame may no longer be considered as a potential eviction candidate.
243 * This function will only be called with page frames that were submitted
248 * @param [in] pf The page frame to remove
253 * Process a page frame as being newly accessed
256 * eviction algorithm the provided physical address belongs to a page frame
257 * being accessed and such page frame should become unlikely to be
286 * Select a page frame for eviction
288 * The kernel will invoke this to choose a page frame to evict if there
289 * are no free page frames. It is not guaranteed that the returned page
298 * @param [out] dirty Whether the page to evict is dirty
299 * @return The page frame to evict
323 * Reserve or fetch a storage location for a data page loaded into a page frame
326 * This location will be used in the backing store to page out data page
327 * contents for later retrieval. The location value must be page-aligned.
329 * This function may be called multiple times on the same data page. If its
330 * page frame has its K_MEM_PAGE_FRAME_BACKED bit set, it is expected to return
331 * the previous backing store location for the data page containing a cached
332 * clean copy. This clean copy may be updated on page-out, or used to
336 * a loaded data page may be selected, in which case its associated page frame
339 * k_mem_page_frame_to_virt(pf) will indicate the virtual address the page is
344 * This function distinguishes whether it was called on behalf of a page
346 * page faults to succeed. If the page_fault parameter is not set, this
353 * @param page_fault Whether this request was for a page fault
365 * this address may be re-used for some other data page.
390 * Copy a data page from K_MEM_SCRATCH_PAGE to the specified location
393 * to the intended source page frame for the calling context.
398 * @param location Location token for the data page, for later retrieval
403 * Copy a data page from the provided location to K_MEM_SCRATCH_PAGE.
406 * to the intended destination page frame for the calling context.
411 * @param location Location token for the data page
416 * Update internal accounting after a page-in
424 * store in the page frame, to reflect where the data should be evicted to
429 * out clean data pages if they are noted as clean in the page tables and the
430 * K_MEM_PAGE_FRAME_BACKED bit is set in their associated page frame.
432 * @param pf Page frame that was loaded in
433 * @param location Location of where the loaded data page was retrieved
441 * The implementation may expect to receive page in/out calls as soon as this
449 * associated page frames, and any internal accounting set up appropriately.