Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:10:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ss destruction is four-stage process
Proto:static void css_free_rwork_fn(struct work_struct *work)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct work_struct * | work |
| 4906 | If ss Then |
| 4908 | parent = PI: the parent css. Placed here for cache proximity to following* fields of the containing structure. |
| 4909 | id = PI: Subsys-unique ID. 0 is unused and root is always 1. The* matching css can be looked up using css_from_id(). |
| 4912 | cgroup_idr_remove( & idr for css->id , id) |
| 4913 | cgroup_put(cgrp) |
| 4917 | Else |
| 4920 | Used to destroy all pidlists lingering waiting for destroy timer. None* should be left afterwards. |
| 4923 | If cgroup_parent(cgrp) Then |
| 4930 | cgroup_put(cgroup_parent(cgrp)) |
| 4931 | kernfs_put( cgroup kernfs entry ) |
| 4932 | psi_cgroup_free(cgrp) |
| 4936 | Else |
| 4942 | cgroup_destroy_root(root) |
| 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 |