函数逻辑报告 |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-27 12:14:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:d the appropriate pidlist for our purpose (given procs vs tasks)* returns with the lock on that pidlist already held, and takes care* of the use count, or returns NULL with no locks held if we're out of* memory.
函数原型:static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, enum cgroup_filetype type)
返回类型:struct cgroup_pidlist
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup * | cgrp | |
enum cgroup_filetype | type |
307 | lockdep_assert_held( & pidlist_mutex) |
309 | l等于cgroup_pidlist_find(cgrp, type) |
321 | ns等于get_pid_ns(取进程的空间) |
323 | 添加链表项 |
324 | 返回:l |
名称 | 描述 |
---|---|
pidlist_array_load | Load a cgroup's pidarray with either procs' tgids or tasks' pids |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |