Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:08:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cgroup_do_get_tree
Proto:int cgroup_do_get_tree(struct fs_context *fc)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fs_context * | fc |
2026 | ctx = cgroup_fc2context(fc) |
2030 | If fs_type == cgroup2_fs_type Then File system specific magic number = CGROUP2_SUPER_MAGIC |
2032 | Else File system specific magic number = CGROUP_SUPER_MAGIC |
2034 | ret = kernfs_get_tree(fc) |
2040 | If Not ret && ns != cgroup namespace for init task Then |
2046 | spin_lock_irq( & css_set_lock) |
2050 | spin_unlock_irq( & css_set_lock) |
2053 | nsdentry = kernfs_node_dentry( cgroup kernfs entry , sb) |
2058 | nsdentry = NULL |
2063 | If Not Set to T if we allocated a new sb Then cgroup_put( & The root cgroup. Root is destroyed on its release. ) |
2066 | Return ret |
Name | Describe |
---|---|
cgroup_get_tree | |
cgroup1_get_tree |
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 |