Function report |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-28 11:12:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static void *cgroup_pidlist_start(struct seq_file *s, loff_t *pos)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_file * | s | |
| loff_t * | pos |
| 407 | mutex_lock( & pidlist_mutex) |
| 415 | If priv Then priv = cgroup_pidlist_find(cgrp, type) |
| 422 | If Not priv Then |
| 430 | If pid Then |
| 445 | If index >= how many elements the above list has Then Return NULL |
| 448 | iter = array of xids + index |
| 450 | Return iter |
| 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 |