函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:css_task_iter_next_css_set

函数原型:static struct css_set *css_task_iter_next_css_set(struct css_task_iter *it)

返回类型:struct css_set

参数:

类型参数名称
struct css_task_iter *it
4341  lockdep_assert_held( & css_set_lock)
4344  如果tcset_pos
4345  l等于链表后项
4347  如果l不等于tcset_head
4348  tcset_pos等于l
4353  tcset_pos = NULL
4357  l等于cset_pos
4358  l等于链表后项
4359  如果l恒等于cset_head
4360  cset_pos = NULL
4361  返回:NULL
4364  如果ss
4365  cset等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(l, structcss_set, e_cset_node[ the following two fields are initialized automtically during boot ])
4366  否则
4367  link等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(l, structcgrp_cset_link, cset_link)
4368  cset等于cset
4371  cset_pos等于l
4374  如果flags按位与walk all threaded css_sets in the domain
4375  如果cur_dcsetput_css_set_locked(cur_dcset)
4377  cur_dcset等于cset
4378  ed get/put for css_set objects
4380  tcset_head等于all threaded csets whose ->dom_cset points to this cset
4381  tcset_pos等于all threaded csets whose ->dom_cset points to this cset
4384  返回:cset
调用者
名称描述
css_task_iter_advance_css_setss_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.