函数逻辑报告 | 
Source Code:kernel\cgroup\cgroup-v1.c | 
Create Date:2022-07-27 12:15:00 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:seq_file methods for the tasks/procs files. The seq_file position is the* next pid to display; the seq_file iterator is a pointer to the pid* in the cgroup->l->list array.
函数原型:static void *cgroup_pidlist_start(struct seq_file *s, loff_t *pos)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct seq_file * | s | |
| loff_t * | pos | 
| 407 | mutex_lock( & pidlist_mutex) | 
| 415 | 如果priv则priv等于cgroup_pidlist_find(cgrp, type) | 
| 422 | 如果非priv则 | 
| 430 | 如果pid则 | 
| 445 | 如果index大于等于how many elements the above list has 则返回:NULL | 
| 448 | iter等于array of xids 加index | 
| 450 | 返回:iter | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |