函数逻辑报告 |
Source Code:include\linux\mmzone.h |
Create Date:2022-07-27 06:40:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:zone_to_nid
函数原型:static inline int zone_to_nid(struct zone *zone)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct zone * | zone |
899 | 返回:node |
名称 | 描述 |
---|---|
move_freepages | Move the free pages in a range to the free lists of the requested type.* Note that start_page and end_pages are not aligned on a pageblock* boundary. If alignment is required, use move_freepages_block() |
zone_statistics | Update NUMA hit/miss statistics* Must be called with interrupts disabled. |
zone_allows_reclaim | |
get_page_from_freelist | get_page_from_freelist goes through the zonelist trying to allocate* a page. |
show_node | |
show_free_areas | Show free area list (used inside shift_scroll-lock stuff)* We also calculate the percentage fragmentation |
dequeue_huge_page_nodemask | |
mempolicy_slab_node | Depending on the memory policy provide a node from which to allocate the* next slab entry. |
mpol_misplaced | mpol_misplaced - check whether current page node is valid in policy*@page: page to be checked*@vma: vm area where page mapped*@addr: virtual address where page mapped* Lookup current policy node id for vma,addr and "compare to" page's* node id |
fallback_alloc | Fallback function if there was no memory available and no objects on a* certain node and fall back is permitted. First we scan all the* available node for available objects. If that fails then we* perform an allocation without specifying a node |
get_any_partial | Get a page from somewhere. Search in increasing NUMA distances. |
zonelist_node_idx |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |