函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:37:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Builds allocation fallback zone lists.* Add all populated zones of a node to the zonelist.
函数原型:static int build_zonerefs_node(pg_data_t *pgdat, struct zoneref *zonerefs)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
pg_data_t * | pgdat | |
struct zoneref * | zonerefs |
5431 | zone_type等于MAX_NR_ZONES |
5432 | nr_zones等于0 |
5434 | 循环 |
5435 | zone_type自减 |
5436 | zone等于包含了结点中各内存域的数据结构加zone_type |
5438 | zoneref_set_zone(zone, & zonerefs[nr_zones++]) |
5439 | check_highest_zone(zone_type) |
5443 | 返回:nr_zones |
名称 | 描述 |
---|---|
build_zonelists_in_node_order | Build zonelists ordered by node and zones within node.* This results in maximum locality--normal zone overflows into local* DMA zone, if any--but risks exhausting DMA zone. |
build_thisnode_zonelists | Build gfp_thisnode zonelists |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |