函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\percpu-stats.c Create Date:2022-07-27 18:11:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Iterates over all chunks to find the max nr_alloc entries.

函数原型:static int find_max_nr_alloc(void)

返回类型:int

参数:

38  max_nr_alloc等于0
39 slot小于pcpu_nr_slots循环list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(chunk, & pcpu_slot[slot], list)
41  max_nr_alloc等于两数取大(max_nr_alloc, nr_alloc)
43  返回:max_nr_alloc
调用者
名称描述
percpu_stats_show