函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\vmstat.h Create Date:2022-07-27 06:44:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__mod_node_page_state

函数原型:static inline void __mod_node_page_state(struct pglist_data *pgdat, enum node_stat_item item, int delta)

返回类型:void

参数:

类型参数名称
struct pglist_data *pgdat
enum node_stat_itemitem
intdelta
301  node_page_state_add(delta, pgdat, item)
调用者
名称描述
unaccount_page_cache_page
shrink_inactive_listshrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages
shrink_active_list
do_page_add_anon_rmapSpecial version of the above for do_swap_page, which often runs* into pages that are exclusively owned by the current process.* Everybody else should continue to use page_add_anon_rmap above.
page_add_new_anon_rmappage_add_new_anon_rmap - add pte mapping to a new anonymous page*@page: the page to add the mapping to*@vma: the vm area in which the mapping is added*@address: the user virtual address mapped*@compound: charge the page as compound or small page
page_remove_anon_compound_rmap
add_to_swap_cacheadd_to_swap_cache resembles add_to_page_cache_locked on swapper_space,* but sets SwapCache flag and private instead of mapping and index.
__delete_from_swap_cacheThis must be called only on pages that have* been verified to be in the swap cache.
__mod_lruvec_state__mod_lruvec_state - update lruvec memory statistics*@lruvec: the lruvec*@idx: the stat item*@val: delta to add to the counter, can be negative* The lruvec is the intersection of the NUMA node and a cgroup
__mod_lruvec_slab_state
__mod_lruvec_page_state