函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__cgroup_procs_start

函数原型:static void *__cgroup_procs_start(struct seq_file *s, loff_t *pos, unsigned int iter_flags)

返回类型:void

参数:

类型参数名称
struct seq_file *s
loff_t *pos
unsigned intiter_flags
4609  of等于private
4610  cgrp等于PI: the cgroup that this css is attached to
4611  it等于priv
4617  如果非it
4618  如果WARN_ON_ONCE(( * pos)++)则返回:错误号
4621  it等于分配内存并置零
4622  如果非it则返回:错误号
4624  priv等于it
4625  ss_task_iter_start - initiate task iteration*@css: the css to walk tasks of*@flags: CSS_TASK_ITER_* flags*@it: the task iterator to use* Initiate iteration through the tasks of @css
4626  否则如果非pos自加则
4627  ss_task_iter_end - finish task iteration*@it: the task iterator to finish* Finish task iteration started by css_task_iter_start().
4628  ss_task_iter_start - initiate task iteration*@css: the css to walk tasks of*@flags: CSS_TASK_ITER_* flags*@it: the task iterator to use* Initiate iteration through the tasks of @css
4631  返回:cgroup_procs_next(s, NULL, NULL)
调用者
名称描述
cgroup_procs_start
cgroup_threads_start