函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ss_set_update_populated - update populated state of a css_set*@cset: target css_set*@populated: whether @cset is populated or depopulated*@cset is either getting the first task or losing the last. Update the

函数原型:static void css_set_update_populated(struct css_set *cset, bool populated)

返回类型:void

参数:

类型参数名称
struct css_set *cset
boolpopulated
842  lockdep_assert_held( & css_set_lock)
844  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(link, & List of cgrp_cset_links pointing at cgroups referenced from this* css_set. Protected by css_set_lock., cgrp_link)
845  group_update_populated - update the populated count of a cgroup*@cgrp: the target cgroup*@populated: inc or dec populated count* One of the css_sets associated with @cgrp is either getting its first* task or losing the last
调用者
名称描述
css_set_move_taskss_set_move_task - move a task from one css_set to another*@task: task being moved*@from_cset: css_set @task currently belongs to (may be NULL)*@to_cset: new css_set @task is being moved to (may be NULL)*@use_mg_tasks: move to @to_cset->mg_tasks instead