Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:07:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:allocate_cgrp_cset_links - allocate cgrp_cset_links*@count: the number of links to allocate*@tmp_links: list_head the allocated links are put on* Allocate @count cgrp_cset_link structures and chain them on @tmp_links* through ->cset_link
Proto:static int allocate_cgrp_cset_links(int count, struct list_head *tmp_links)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | count | |
| struct list_head * | tmp_links |
| 1129 | link = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 1130 | If Not link Then |
| 1132 | Return -ENOMEM |
| 1136 | Return 0 |
| Name | Describe |
|---|---|
| find_css_set | d_css_set - return a new css_set with one cgroup updated*@old_cset: the baseline css_set*@cgrp: the cgroup to be updated* Return a new css_set that's equivalent to @old_cset, but with @cgrp* substituted into the appropriate hierarchy. |
| cgroup_setup_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 |