函数逻辑报告 |
Source Code:mm\mempolicy.c |
Create Date:2022-07-27 17:06:16 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:alloc_pages_current - Allocate pages.*@gfp:* %GFP_USER user allocation,* %GFP_KERNEL kernel allocation,* %GFP_HIGHMEM highmem allocation,* %GFP_FS don't call back into a file system.* %GFP_ATOMIC don't sleep.
函数原型:struct page *alloc_pages_current(gfp_t gfp, unsigned order)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
gfp_t | gfp | |
unsigned | order |
2201 | 如果非in_interrupt()且非gfp按位与__GFP_THISNODE的值则pol等于get_task_policy(当前进程) |
2208 | 如果See MPOL_* above 恒等于MPOL_INTERLEAVE则page等于Allocate a page in interleaved policy.Own path because it needs to do special accounting. |
2215 | 返回:page |
名称 | 描述 |
---|---|
alloc_pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |