函数逻辑报告 |
Source Code:mm\swap.c |
Create Date:2022-07-27 15:37:00 |
Last Modify:2022-05-23 13:40:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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,
函数原型:void mark_page_accessed(struct page *page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
375 | page等于compound_head(page) |
377 | 如果非PageReferenced(page)则 |
378 | SetPageReferenced(page) |
379 | 否则如果PageUnevictable(page)则否则如果非PageActive(page)则 |
392 | 如果PageLRU(page)则activate_page(page) |
394 | 否则__lru_cache_activate_page(page) |
396 | ClearPageReferenced(page) |
400 | 如果page_is_idle(page)则clear_page_idle(page) |
名称 | 描述 |
---|---|
generic_file_buffered_read | generic_file_buffered_read - generic file read routine*@iocb: the iocb to read*@iter: data destination*@written: already copied* This is a generic file read routine, and uses the* mapping->a_ops->readpage() function for the actual low-level stuff. |
do_read_cache_page | |
follow_page_pte | |
zap_pte_range | |
try_to_merge_one_page | ry_to_merge_one_page - take two pages and merge them into one*@vma: the vma that holds the pte pointing to page*@page: the PageAnon page that we want to replace with kpage*@kpage: the PageKsm page that we want to map instead of page, |
iomap_zero | |
pagecache_get_page | pagecache_get_page - find and get a page reference*@mapping: the address_space to search*@offset: the page index*@fgp_flags: PCG flags*@gfp_mask: gfp mask to use for the page cache data page allocation* Looks up the page cache slot at @mapping & @offset. |
touch_buffer |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |