函数逻辑报告 |
Source Code:include\linux\mm.h |
Create Date:2022-07-27 06:44:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The identification function is mainly used by the buddy allocator for* determining if two pages could be buddies
函数原型:static inline int page_zone_id(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
1077 | 返回:体系结构无关页的属性右移ZONEID_PGSHIFT位按位与ZONEID_MASK |
名称 | 描述 |
---|---|
page_is_buddy | This function checks whether a page is free && is the buddy* we can coalesce a page and its buddy if* (a) the buddy is not in a hole (check before calling!) &&* (b) the buddy is in the buddy system &&* (c) a page and its buddy have the same order && |
__pageblock_pfn_to_page | Check that the whole (or subset of) a pageblock given by the interval of* [start_pfn, end_pfn) is valid and within the same zone, before scanning it* with the migration of free compaction scanner |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |