函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lruvec_pgdat

函数原型:static inline struct pglist_data *lruvec_pgdat(struct lruvec *lruvec)

返回类型:struct pglist_data

参数:

类型参数名称
struct lruvec *lruvec
848  返回:pgdat
调用者
名称描述
lru_add_page_tailsed by __split_huge_page_refcount()
lruvec_lru_sizelruvec_lru_size - Returns the number of pages on the given LRU list.*@lruvec: lru vector*@lru: lru to use*@zone_idx: zones to consider (use MAX_NR_ZONES for the whole LRU list)
move_pages_to_lruThis moves pages from @list to corresponding LRU list.* We move them the other way if the page is referenced by one or more* processes, from rmap.* If the pages are mostly unmapped, the processing is fast and it is
shrink_inactive_listshrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages
shrink_active_list
get_scan_countDetermine how aggressively the anon and file LRU lists should be* scanned
__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
lruvec_page_state
lruvec_page_state_local
__update_lru_size