Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-28 11:11:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ss_from_id - lookup css by id*@id: the cgroup id*@ss: cgroup subsys to be looked into* Returns the css if there's valid one with @id, otherwise returns NULL.* Should be called under rcu_read_lock().

Proto:struct cgroup_subsys_state *css_from_id(int id, struct cgroup_subsys *ss)

Type:struct cgroup_subsys_state

Parameter:

TypeParameterName
intid
struct cgroup_subsys *ss
6110  WARN_ON_ONCE(!_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section)
6111  Return dr_find() - Return pointer for given ID