函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:35:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Lock and remove page from the per-cpu list
函数原型:static struct page *rmqueue_pcplist(struct zone *preferred_zone, struct zone *zone, gfp_t gfp_flags, int migratetype, unsigned int alloc_flags)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct zone * | preferred_zone | |
struct zone * | zone | |
gfp_t | gfp_flags | |
int | migratetype | |
unsigned int | alloc_flags |
3238 | local_irq_save(flags) |
3239 | pcp = & ({ |
3239 | })->pcp |
3242 | 如果page则 |
3243 | __count_zid_vm_events(PGALLOC, page_zonenum(page), 1) |
3246 | local_irq_restore(flags) |
3247 | 返回:page |
名称 | 描述 |
---|---|
rmqueue | Allocate a page from the given zone. Use pcplists for order-0 allocations. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |