函数逻辑报告 |
Source Code:include\linux\mm.h |
Create Date:2022-07-27 06:44:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Drop a ref, return true if the refcount fell to zero (the page has no users)
函数原型:static inline int put_page_testzero(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
592 | VM_BUG_ON_PAGE(page_ref_count(page) == 0, page) |
593 | 返回:page_ref_dec_and_test(page) |
名称 | 描述 |
---|---|
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. |
shrink_page_list | shrink_page_list() returns the number of reclaimed pages |
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 |
__free_pages | |
page_frag_free | Frees a page fragment allocated out of either a compound or order 0 page. |
gather_surplus_pages | Increase the hugetlb pool such that it can accommodate a reservation* of size 'delta'. |
io_mem_free | |
put_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |