Function report |
Source Code:security\device_cgroup.c |
Create Date:2022-07-28 19:55:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:devcgroup_online - initializes devcgroup's behavior and exceptions based on* parent's*@css: css getting online* returns 0 in case of success, error code otherwise
Proto:static int devcgroup_online(struct cgroup_subsys_state *css)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup_subsys_state * | css |
176 | dev_cgroup = css_to_devcgroup(css) |
177 | parent_dev_cgroup = css_to_devcgroup(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.) |
178 | ret = 0 |
180 | mutex_lock( & devcgroup_mutex) |
182 | If (parent_dev_cgroup == NULL) Then behavior = DEVCG_DEFAULT_ALLOW |
184 | Else |
192 | Return ret |
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 |