函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:task_dfl_cgroup

函数原型:static inline struct cgroup *task_dfl_cgroup(struct task_struct *task)

返回类型:struct cgroup

参数:

类型参数名称
struct task_struct *task
547  返回:he default cgroup associated with this css_set
调用者
名称描述
cgroup_exitgroup_exit - detach cgroup from exiting task*@tsk: pointer to task_struct of exiting process* Description: Detach cgroup from @tsk.
cgroup_enter_frozenEnter frozen/stopped state, if not yet there. Update cgroup's counters,* and revisit the state of the cgroup, if necessary.
cgroup_leave_frozenConditionally leave frozen/stopped state
____bpf_get_current_cgroup_id
__cgroup_bpf_check_dev_permission
__cgroup_bpf_run_filter_sysctl__cgroup_bpf_run_filter_sysctl - Run a program on sysctl*@head: sysctl table header*@table: sysctl table*@write: sysctl is being read (= 0) or written (= 1)*@buf: pointer to buffer passed by user space*@pcount: value-result argument: value is size of
cgroup_account_cputime
cgroup_account_cputime_field
cgroup_task_freeze