Function report |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-28 11:12:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cgroup_pidlist_find
Proto:static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, enum cgroup_filetype type)
Type:struct cgroup_pidlist
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup * | cgrp | |
enum cgroup_filetype | type |
286 | ns = task_active_pid_ns(current process) |
288 | lockdep_assert_held( & pidlist_mutex) |
293 | Return NULL |
Name | Describe |
---|---|
cgroup_pidlist_find_create | 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. |
cgroup_pidlist_start | 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. |
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 |