函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:35:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Remove page from the per-cpu list, caller must protect the list
函数原型:static struct page *__rmqueue_pcplist(struct zone *zone, int migratetype, unsigned int alloc_flags, struct per_cpu_pages *pcp, struct list_head *list)
返回类型:struct page
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct zone * | zone | |
| int | migratetype | |
| unsigned int | alloc_flags | |
| struct per_cpu_pages * | pcp | |
| struct list_head * | list |
| 3211 | 循环 |
| 3212 | 如果链表为空则 |
| 3216 | 如果此条件成立可能性小(为编译器优化)(链表为空)则返回:NULL |
| 3221 | 删除链表项 |
| 3222 | number of pages in the list 自减 |
| 3223 | 当check_new_pcp(page)循环 |
| 3225 | 返回:page |
| 名称 | 描述 |
|---|---|
| rmqueue_pcplist | Lock and remove page from the per-cpu list |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |