函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:09:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_kn_lock_live - locking helper for cgroup kernfs methods*@kn: the kernfs_node being serviced*@drain_offline: perform offline draining on the cgroup* This helper is to be used by a cgroup kernfs method currently servicing*@kn
函数原型:struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline)
返回类型:struct cgroup
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kernfs_node * | kn | |
bool | drain_offline |
1596 | 如果kernfs_type(kn)恒等于KERNFS_DIR则cgrp等于priv |
1607 | 如果非cgroup_tryget(cgrp)则返回:NULL |
1613 | 否则mutex_lock( & cgroup_mutex is the master lock) |
1616 | 如果非cgroup_is_dead(cgrp)则返回:cgrp |
1620 | 返回:NULL |
名称 | 描述 |
---|---|
cgroup_subtree_control_write | hange the enabled child controllers for a cgroup in the default hierarchy |
cgroup_type_write | |
cgroup_max_descendants_write | |
cgroup_max_depth_write | |
cgroup_freeze_write | |
cgroup_procs_write | |
cgroup_threads_write | |
cgroup_mkdir | |
cgroup_rmdir | put the base reference |
__cgroup1_procs_write | |
cgroup_release_agent_write | |
current_css_set_read | |
cgroup_subsys_states_read | |
cgroup_masks_read |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |