函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ss_tryget_online_from_dir - get corresponding css from a cgroup dentry*@dentry: directory dentry of interest*@ss: subsystem of interest* If @dentry is a directory for a cgroup which has @ss enabled on it, try* to get the corresponding css and return it
函数原型:struct cgroup_subsys_state *css_tryget_online_from_dir(struct dentry *dentry, struct cgroup_subsys *ss)
返回类型:struct cgroup_subsys_state
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry | |
struct cgroup_subsys * | ss |
6072 | kn等于kernfs_node_from_dentry(dentry) |
6074 | struct cgroup_subsys_state * css = NULL |
6078 | 如果s_type不等于cgroup_fs_type且s_type不等于cgroup2_fs_type或非kn或kernfs_type(kn)不等于KERNFS_DIR则返回:错误号 |
6093 | 如果非css或非ss_tryget_online - try to obtain a reference on the specified css if online*@css: target css* Obtain a reference on @css if it's online则css等于错误号 |
6097 | 返回:css |
名称 | 描述 |
---|---|
cgroup_get_from_fd | group_get_from_fd - get a cgroup pointer from a fd*@fd: fd obtained by open(cgroup2_dir)* Find the cgroup from a fd which should be obtained* by opening a cgroup directory. Returns a pointer to the* cgroup on success. ERR_PTR is returned if the cgroup |
memcg_write_event_control | DO NOT USE IN NEW FILES.* Parse input and register new cgroup event handler.* Input must be in format ' |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |