函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:33:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__free_pages_ok
函数原型:static void __free_pages_ok(struct page *page, unsigned int order)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
unsigned int | order |
1418 | pfn等于page_to_pfn(page) |
1420 | 如果非free_pages_prepare(page, order, true)则返回 |
1423 | migratetype等于get_pfnblock_migratetype(page, pfn) |
1424 | local_irq_save(flags) |
1425 | __count_vm_events(PGFREE, 1 << order) |
1426 | free_one_page(page_zone(page), page, pfn, order, migratetype) |
1427 | local_irq_restore(flags) |
名称 | 描述 |
---|---|
free_compound_page | Higher-order pages are called "compound pages". They are structured thusly:* The first PAGE_SIZE page is called the "head page" and have PG_head set.* The remaining PAGE_SIZE pages are called "tail pages". PageTail() is encoded |
free_the_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |