函数逻辑报告 |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-27 12:15:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Notify userspace when a cgroup is released, by running the* configured release agent with the name of the cgroup (path* relative to the root of cgroup file system) as the argument
函数原型:void cgroup1_release_agent(struct work_struct *work)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct work_struct * | work |
| 790 | spin_lock_irq( & css_set_lock) |
| 791 | ret等于cgroup_path_ns_locked(cgrp, pathbuf, # chars in a path name including nul , & cgroup namespace for init task ) |
| 792 | spin_unlock_irq( & css_set_lock) |
| 793 | 如果ret小于0或ret大于等于# chars in a path name including nul 则转到:out |
| 798 | argv[2] = NULL |
| 801 | envp[0]等于"HOME=/" |
| 802 | envp[1]等于"PATH=/sbin:/bin:/usr/sbin:/usr/bin" |
| 803 | envp[2] = NULL |
| 807 | 转到:out_free |
| 808 | out : |
| 810 | out_free : |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |