函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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().

函数原型:struct cgroup_subsys_state *css_from_id(int id, struct cgroup_subsys *ss)

返回类型:struct cgroup_subsys_state

参数:

类型参数名称
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  返回:dr_find() - Return pointer for given ID