Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cgroup.h Create Date:2022-07-28 05:54:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ask_css - obtain css for (task, subsys)*@task: the target task*@subsys_id: the target subsystem ID* See task_css_check().

Proto:static inline struct cgroup_subsys_state *task_css(struct task_struct *task, int subsys_id)

Type:struct cgroup_subsys_state

Parameter:

TypeParameterName
struct task_struct *task
intsubsys_id
491  Return ask_css_check - obtain css for (task, subsys) w/ extra access conds*@task: the target task*@subsys_id: the target subsystem ID*@__c: extra condition expression to be passed to rcu_dereference_check()(task, subsys_id, false)
Caller
NameDescribe
task_caReturn CPU accounting group to which this task belongs
task_freezer
pids_can_attach
pids_cancel_attach
pids_release
task_csRetrieve the cpuset for a task
mem_cgroup_from_task
hugetlb_cgroup_from_task
blkcg_maybe_throttle_currentlkcg_maybe_throttle_current - throttle the current task if it has been marked* This is only called if we've been marked with set_notify_resume()
task_devcgroup