函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ss_task_iter_advance_css_set - advance a task itererator to the next css_set*@it: the iterator to advance* Advance @it to the next css_set to walk.

函数原型:static void css_task_iter_advance_css_set(struct css_task_iter *it)

返回类型:void

参数:

类型参数名称
struct css_task_iter *it
4397  lockdep_assert_held( & css_set_lock)
4400  循环
4401  cset等于css_task_iter_next_css_set(it)
4402  如果非cset
4403  task_pos = NULL
4404  返回
4406  当非ss_set_populated - does a css_set contain any tasks?*@cset: target css_set* css_set_populated() should be the same as !!cset->nr_tasks at steady* state链表为空循环
4408  如果非链表为空task_pos等于链表后项
4410  否则如果非链表为空task_pos等于链表后项
4412  否则task_pos等于链表后项
4415  tasks_head等于Lists running through all tasks using this cgroup group.* mg_tasks lists tasks which belong to this cset but are in the* process of being migrated out or in. Protected by* css_set_rwsem, but, during migration, once tasks are moved to
4416  mg_tasks_head等于mg_tasks
4417  dying_tasks_head等于dying_tasks
4434  如果cur_cset
4435  删除链表项
4436  put_css_set_locked(cur_cset)
4438  ed get/put for css_set objects
4439  cur_cset等于cset
4440  添加链表项
调用者
名称描述
css_task_iter_advance