Lines Matching full:page

257  * will be established. If the page tables already had mappings installed
260 * If the target architecture supports multiple page sizes, currently
261 * only the smallest page size will be used.
269 * Architectures are expected to pre-allocate page tables for the entire
279 * @param virt Page-aligned Destination virtual address to map
280 * @param phys Page-aligned Source physical address to map
281 * @param size Page-aligned size of the mapped memory region in bytes
290 * When this completes, the relevant page table entries will be updated as
293 * page tables.
302 * and it is not necessary to free any paging structures. Empty page tables
309 * @param addr Page-aligned base virtual address to un-map
310 * @param size Page-aligned region size
317 * The function only needs to query the current set of page tables as
319 * page tables are in use. If multiple page tables are active it is unnecessary
323 * across all page tables. Calling this function on data pages that are
324 * exceptions to this rule (such as the scratch page) is undefined behavior.
325 * Just check the currently installed page tables and return the information
328 * @param virt Page-aligned virtual address
338 * Update page frame database with reserved pages
340 * Some page frames within system RAM may not be available for use. A good
350 * Update all page tables for a paged-out data page
353 * - Sets the data page virtual address to trigger a fault if accessed that
356 * data page in the page fault handler.
358 * always be page-aligned. It could be 0.
360 * If multiple page tables are in use, this must update all page tables.
371 * Update all page tables for a paged-in data page
374 * - Maps the specified virtual data page address to the provided physical
375 * page frame address, such that future memory accesses will function as
379 * If multiple page tables are in use, this must update all page tables.
390 * Update current page tables for a temporary mapping
392 * Map a physical page frame address to a special virtual address
394 * when this function returns, the calling context can read/write the page
397 * This mapping only needs to be done on the current set of page tables,
406 * Status of a particular page location.
409 /** The page has been evicted to the backing store. */
412 /** The page is resident in memory. */
415 /** The page is not mapped. */
420 * Fetch location information about a page at a particular address
422 * The function only needs to query the current set of page tables as
424 * page tables are in use. If multiple page tables are active it is unnecessary
426 * (such as reverse page table mapping on x86).
432 * across all page tables. Calling this function on data pages that are
433 * exceptions to this rule (such as the scratch page) is undefined behavior.
434 * Just check the currently installed page tables and return the information
437 * @param addr Virtual data page address that took the page fault
439 * store location value used to retrieve the data page. In the case of
440 * ARCH_PAGE_FAULT_PAGED_IN, the physical address the page is mapped to.
441 * @retval ARCH_PAGE_FAULT_PAGED_OUT The page was evicted to the backing store.
442 * @retval ARCH_PAGE_FAULT_PAGED_IN The data page is resident in memory.
443 * @retval ARCH_PAGE_FAULT_BAD The page is un-mapped or otherwise has had
451 * Bit indicating the data page was accessed since the value was last cleared.
461 * Bit indicating the data page, if evicted, will need to be paged out.
463 * Set if the data page was modified since it was last paged out, or if
472 * Bit indicating that the data page is loaded into a physical page frame.
474 * If un-set, the data page is paged out or not mapped.
480 * If ARCH_DATA_PAGE_LOADED is un-set, this will indicate that the page
485 * Retrieve page characteristics from the page table(s)
494 * and dirty states for the relevant entries in all active page tables in
495 * the system if the page is mapped and not paged out.
498 * This function will report its prior state. If multiple page tables are in
517 * across all page tables. Calling this function on data pages that are
518 * exceptions to this rule (such as the scratch page) is undefined behavior.
522 * @param addr Virtual address to look up in page tables
523 * @param [out] location If non-NULL, updated with either physical page frame
528 * @retval Value with ARCH_DATA_PAGE_* bits set reflecting the data page