函数逻辑报告 |
Source Code:include\linux\mm_inline.h |
Create Date:2022-07-27 15:31:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static __always_inline enum lru_list page_lru(struct page *page)
返回类型:enum lru_list
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
118 | 如果PageUnevictable(page)则lru等于LRU_UNEVICTABLE |
120 | 否则 |
121 | lru等于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. |
122 | 如果PageActive(page)则lru加等于LRU_ACTIVE |
125 | 返回:lru |
名称 | 描述 |
---|---|
pagevec_move_tail_fn | |
lru_add_page_tail | sed by __split_huge_page_refcount() |
__pagevec_lru_add_fn | |
isolate_lru_page | solate_lru_page - tries to isolate a page from its LRU list*@page: page to isolate from its LRU list* Isolates a @page from an LRU list, clears PageLRU and adjusts the* vmstat statistic corresponding to whatever LRU list the page was on. |
move_pages_to_lru | This moves pages from @list to corresponding LRU list.* We move them the other way if the page is referenced by one or more* processes, from rmap.* If the pages are mostly unmapped, the processing is fast and it is |
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 |
__munlock_isolate_lru_page | Isolate a page from LRU with optional get_page() pin.* Assumes lru_lock already held and page already pinned. |
lock_page_lru | |
unlock_page_lru |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |