函数逻辑报告 |
Source Code:include\linux\huge_mm.h |
Create Date:2022-07-27 06:44:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: be used on vmas which are known to support THP.* Use transparent_hugepage_enabled otherwise
函数原型:static inline bool __transparent_hugepage_enabled(struct vm_area_struct *vma)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma |
100 | 如果Flags, see mm.h. 按位与MADV_NOHUGEPAGE marked this vma 则返回:false |
103 | 如果is_vma_temporary_stack(vma)则返回:false |
106 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:false |
109 | 如果transparent_hugepage_flags按位与1左移TRANSPARENT_HUGEPAGE_FLAG位则返回:true |
117 | 如果vma_is_dax(vma)则返回:true |
120 | 如果transparent_hugepage_flags按位与1左移TRANSPARENT_HUGEPAGE_REQ_MADV_FLAG位则返回:非非Flags, see mm.h. 按位与MADV_HUGEPAGE marked this vma 的值 |
124 | 返回:false |
名称 | 描述 |
---|---|
__handle_mm_fault | By the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry(). |
transparent_hugepage_enabled | |
do_huge_pmd_wp_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |