函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:These ascii lists should be read in a single call, by using a user* buffer large enough to hold the entire map

函数原型:static int cpuset_common_seq_show(struct seq_file *sf, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *sf
void *v
2404  cs等于css_cs(seq_css(sf))
2405  type等于private
2406  ret等于0
2408  spin_lock_irq( & callback_lock)
2411  :type恒等于FILE_CPULIST
2412  seq_printf(sf, "%*pbl\n", cpumask_pr_args - printf args to output a cpumask*@maskp: cpumask to be printed* Can be used to provide arguments for '%*pb[l]' when printing a cpumask.( user-configured CPUs and Memory Nodes allow to tasks ))
2413  退出
2414  :type恒等于FILE_MEMLIST
2415  seq_printf(sf, "%*pbl\n", demask_pr_args - printf args to output a nodemask*@maskp: nodemask to be printed* Can be used to provide arguments for '%*pb[l]' when printing a nodemask.( & mems_allowed))
2416  退出
2417  :type恒等于FILE_EFFECTIVE_CPULIST
2418  seq_printf(sf, "%*pbl\n", cpumask_pr_args - printf args to output a cpumask*@maskp: cpumask to be printed* Can be used to provide arguments for '%*pb[l]' when printing a cpumask.( effective CPUs and Memory Nodes allow to tasks ))
2419  退出
2420  :type恒等于FILE_EFFECTIVE_MEMLIST
2421  seq_printf(sf, "%*pbl\n", demask_pr_args - printf args to output a nodemask*@maskp: nodemask to be printed* Can be used to provide arguments for '%*pb[l]' when printing a nodemask.( & effective_mems))
2422  退出
2423  :type恒等于FILE_SUBPARTS_CPULIST
2424  seq_printf(sf, "%*pbl\n", cpumask_pr_args - printf args to output a cpumask*@maskp: cpumask to be printed* Can be used to provide arguments for '%*pb[l]' when printing a cpumask.(* CPUs allocated to child sub-partitions (default hierarchy only) * - CPUs granted by the parent = effective_cpus U subparts_cpus * - effective_cpus and subparts_cpus are mutually exclusive. * effective_cpus contains only onlined CPUs, but subparts_cpus * ))
2425  退出
2426  默认
2427  ret等于负EINVAL
2430  spin_unlock_irq( & callback_lock)
2431  返回:ret