函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sched_partition_show

函数原型:static int sched_partition_show(struct seq_file *seq, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *seq
void *v
2482  cs等于css_cs(seq_css(seq))
2485  : partition root state 恒等于PRS_ENABLED
2486  seq_puts(seq, "root\n")
2487  退出
2488  : partition root state 恒等于Partition root states:* 0 - not a partition root* 1 - partition root* -1 - invalid partition root* None of the cpus in cpus_allowed can be put into the parent's* subparts_cpus. In this case, the cpuset is not a real partition* root anymore
2489  seq_puts(seq, "member\n")
2490  退出
2491  : partition root state 恒等于PRS_ERROR
2492  seq_puts(seq, "root invalid\n")
2493  退出
2495  返回:0