函数逻辑报告 |
Source Code:include\linux\mm_inline.h |
Create Date:2022-07-27 15:31:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:page_is_file_cache - should the page be on a file LRU or anon LRU?*@page: the page to test* Returns 1 if @page is page cache page backed by a regular filesystem,* or 0 if @page is anonymous, tmpfs or otherwise ram or swap backed
函数原型:static inline int page_is_file_cache(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
23 | 返回:非PageSwapBacked(page) |
名称 | 描述 |
---|---|
__activate_page | |
mark_page_accessed | Mark a page as having seen activity.* inactive,unreferenced -> inactive,referenced* inactive,referenced -> active,unreferenced* active,unreferenced -> active,referenced* When a newly allocated page is not yet visible, so safe for non-atomic ops, |
lru_deactivate_file_fn | If the page can not be invalidated, it is moved to the* inactive list to speed up its reclaim. It is moved to the* head of the list, rather than the tail, to give the flusher* threads some time to write it out, as this is much more |
lru_deactivate_fn | |
__pagevec_lru_add_fn | |
__remove_mapping | Same as remove_mapping, but if the page is removed from the mapping, it* gets returned with a refcount of 0. |
page_check_dirty_writeback | Check if a page is dirty or under writeback |
shrink_page_list | shrink_page_list() returns the number of reclaimed pages |
reclaim_clean_pages_from_list | |
shrink_active_list | |
isolate_migratepages_block | solate_migratepages_block() - isolate all migrate-able pages within* a single pageblock*@cc: Compaction control structure.*@low_pfn: The first PFN to isolate*@end_pfn: The one-past-the-last PFN to isolate, within same pageblock |
check_and_migrate_cma_pages | |
change_pte_range | |
migrate_page_add | |
putback_movable_pages | Put previously isolated pages back onto the appropriate lists* from where they were once taken off for compaction/migration.* This function shall be used whenever the isolated pageset has been* built from lru, balloon, hugetlbfs page |
unmap_and_move | Obtain the lock on page, remove all ptes and migrate the page* to the newly allocated page in newpage. |
add_page_for_migration | Resolves the given address to a struct page, isolates it from the LRU and* puts it to the given pagelist |
release_pte_page | |
__collapse_huge_page_isolate | |
__soft_offline_page | |
page_lru_base_type | page_lru_base_type - which LRU list type should a page be on?*@page: the page to test* Used for LRU list index arithmetic.* Returns the base LRU type - file or anon - @page should be on. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |