Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:08:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline)
Type:struct cgroup
Parameter:
Type | Parameter | Name |
---|---|---|
struct kernfs_node * | kn | |
bool | drain_offline |
1596 | If kernfs_type(kn) == KERNFS_DIR Then cgrp = priv |
1607 | If Not cgroup_tryget(cgrp) Then Return NULL |
1613 | Else mutex_lock( & cgroup_mutex is the master lock) |
1616 | If Not cgroup_is_dead(cgrp) Then Return cgrp |
1620 | Return NULL |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |