函数逻辑报告 |
Source Code:include\linux\mm_inline.h |
Create Date:2022-07-27 15:31:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static __always_inline enum lru_list page_off_lru(struct page *page)
返回类型:enum lru_list
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
94 | 如果PageUnevictable(page)则 |
96 | lru等于LRU_UNEVICTABLE |
97 | 否则 |
98 | 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. |
99 | 如果PageActive(page)则 |
100 | __ClearPageActive(page) |
101 | lru加等于LRU_ACTIVE |
104 | 返回:lru |
名称 | 描述 |
---|---|
__page_cache_release | This path almost never happens for VM activity - pages are normally* freed via pagevecs. But it gets used by networking. |
release_pages | lease_pages - batched put_page()*@pages: array of pages to release*@nr: number of pages* Decrement the reference count on all the pages in @pages. If it* fell to zero, remove the page from the LRU and free it. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |