Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:11:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_cgroup_hierarchy_write
Proto:static int mem_cgroup_hierarchy_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup_subsys_state * | css | |
| struct cftype * | cft | |
| u64 | val |
| 3196 | retval = 0 |
| 3197 | memcg = mem_cgroup_from_css(css) |
| 3198 | parent_memcg = mem_cgroup_from_css(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.) |
| 3200 | If * Should the accounting and control be hierarchical, per subtree? == val Then Return 0 |
| 3211 | If ( Not parent_memcg || Not * Should the accounting and control be hierarchical, per subtree? ) && ( val == 1 || val == 0 ) Then |
| 3220 | Return retval |
| 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 |