函数逻辑报告 |
Source Code:mm\swap.c |
Create Date:2022-07-27 15:37:26 |
Last Modify:2022-05-23 13:40:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__pagevec_lru_add_fn
函数原型:static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec, void *arg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct lruvec * | lruvec | |
void * | arg |
930 | VM_BUG_ON_PAGE(PageLRU(page), page) |
932 | SetPageLRU(page) |
959 | smp_mb() |
961 | 如果page_evictable(page)则 |
962 | 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. |
967 | 否则 |
968 | lru等于LRU_UNEVICTABLE |
969 | ClearPageActive(page) |
970 | SetPageUnevictable(page) |
971 | 如果非was_unevictable则Disable counters |
975 | add_page_to_lru_list(page, lruvec, lru) |
976 | trace_mm_lru_insertion(page, lru) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |