函数逻辑报告 |
Source Code:mm\huge_memory.c |
Create Date:2022-07-27 17:35:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:always: directly stall for all thp allocations* defer: wake kswapd and fail if not immediately available* defer+madvise: wake kswapd and directly stall for MADV_HUGEPAGE, otherwise* fail if not immediately available* madvise: directly stall for
函数原型:static inline gfp_t alloc_hugepage_direct_gfpmask(struct vm_area_struct *vma)
返回类型:gfp_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma |
666 | vma_madvised等于非非Flags, see mm.h. 按位与MADV_HUGEPAGE marked this vma 的值 |
669 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:GFP_TRANSHUGE按位或如果vma_madvised则0否则__GFP_NORETRY |
673 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:GFP_TRANSHUGE_LIGHT按位或kswapd can wake |
677 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:GFP_TRANSHUGE_LIGHT按位或如果vma_madvised则Caller can reclaim 否则kswapd can wake |
683 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:GFP_TRANSHUGE_LIGHT按位或如果vma_madvised则Caller can reclaim 否则0 |
687 | 返回:GFP_TRANSHUGE_LIGHT |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |