函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:put_css_set

函数原型:static inline void put_css_set(struct css_set *cset)

返回类型:void

参数:

类型参数名称
struct css_set *cset
189  如果_dec_not_one - decrement a refcount if it is not 1*@r: the refcount* No atomic_t counterpart, it decrements unless the value is 1, in which case* it will return false则返回
192  spin_lock_irqsave( & css_set_lock, flags)
193  put_css_set_locked(cset)
194  spin_unlock_irqrestore( & css_set_lock, flags)
调用者
名称描述
find_css_setd_css_set - return a new css_set with one cgroup updated*@old_cset: the baseline css_set*@cgrp: the cgroup to be updated* Return a new css_set that's equivalent to @old_cset, but with @cgrp* substituted into the appropriate hierarchy.
cgroup_migrate_prepare_dstgroup_migrate_prepare_dst - prepare destination css_sets for migration*@mgctx: migration context* Tasks are about to be moved and all the source css_sets have been* preloaded to @mgctx->preloaded_src_csets
css_task_iter_endss_task_iter_end - finish task iteration*@it: the task iterator to finish* Finish task iteration started by css_task_iter_start().
cgroup_free
free_cgroup_ns
copy_cgroup_ns