函数逻辑报告 |
Source Code:include\linux\page-flags.h |
Create Date:2022-07-27 06:40:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:PageActive
函数原型:static inline __attribute__((__always_inline__)) int PageActive(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
名称 | 描述 |
---|---|
add_to_page_cache_lru | |
__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_cache_add_anon | lru_cache_add_anon - add a page to the page lists*@page: the page to add |
lru_cache_add_file | |
lru_cache_add | lru_cache_add - add a page to a page list*@page: the page to be added to the LRU.* Queue the page for addition to the LRU via pagevec. The decision on whether* to add the page to the [in]active [file|anon] list is deferred until the* pagevec is drained |
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 | |
lru_lazyfree_fn | |
deactivate_page | deactivate_page - deactivate a page*@page: page to deactivate* deactivate_page() moves @page to the inactive list if @page was on the active* list and was not an unevictable page. This is done to accelerate the reclaim* of @page. |
lru_add_page_tail | sed by __split_huge_page_refcount() |
__pagevec_lru_add_fn | |
shrink_page_list | shrink_page_list() returns the number of reclaimed pages |
check_move_unevictable_pages | heck_move_unevictable_pages - check pages for evictability and move to* appropriate zone lru list*@pvec: pagevec with lru pages to check* Checks pages for evictability, if an evictable page is in the unevictable |
PageSlabPfmemalloc | If network-based swap is enabled, sl*b must keep track of whether pages* were allocated from pfmemalloc reserves. |
page_off_lru | page_off_lru - which LRU list was page on? clearing its lru flags.*@page: the page to test* Returns the LRU list a page was on, as an index into the array of LRU* lists; and clears its Unevictable or Active flags, ready for freeing. |
page_lru | page_lru - which LRU list should a page be on?*@page: the page to test* Returns the LRU list a page should be on, as an index* into the array of LRU lists. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |