| Function report | 
| Source Code: kernel\cgroup\cgroup.c | Create Date:2022-07-28 11:08:19 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:rebind_subsystems
Proto:int rebind_subsystems(struct cgroup_root *dst_root, u16 ss_mask)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup_root * | dst_root | |
| u16 | ss_mask | 
| 1724 | Do | 
| 1724 | If Not CGROUP_SUBSYS_COUNT Then | 
| 1724 | ssid = 0 | 
| 1724 | Break | 
| 1724 | When ssid < CGROUP_SUBSYS_COUNT cycle | 
| 1724 | ss = cgroup_subsys[ssid] | 
| 1737 | When (false) cycle | 
| 1739 | Do | 
| 1739 | If Not CGROUP_SUBSYS_COUNT Then | 
| 1739 | ssid = 0 | 
| 1739 | Break | 
| 1739 | When ssid < CGROUP_SUBSYS_COUNT cycle | 
| 1739 | ss = cgroup_subsys[ssid] | 
| 1748 | The bitmask of subsystems attached to this hierarchy &= ~(1 << ssid) | 
| 1749 | WARN_ON(cgroup_apply_control(scgrp)) | 
| 1750 | cgroup_finalize_control(scgrp, 0) | 
| 1758 | spin_lock_irq( & css_set_lock) | 
| 1762 | spin_unlock_irq( & css_set_lock) | 
| 1765 | The bitmask of subsystems attached to this hierarchy |= 1 << ssid | 
| 1768 | Else | 
| 1773 | ret = cgroup_apply_control(dcgrp) | 
| 1780 | When (false) cycle | 
| 1782 | kernfs_activate( cgroup kernfs entry ) | 
| 1783 | Return 0 | 
| Name | Describe | 
|---|---|
| cgroup_destroy_root | |
| cgroup_setup_root | |
| cgroup1_reconfigure | 
| 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 |