Function report |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-28 11:12:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, enum cgroup_filetype type)
Type:struct cgroup_pidlist
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup * | cgrp | |
enum cgroup_filetype | type |
307 | lockdep_assert_held( & pidlist_mutex) |
309 | l = cgroup_pidlist_find(cgrp, type) |
314 | l = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
324 | Return l |
Name | Describe |
---|---|
pidlist_array_load | Load a cgroup's pidarray with either procs' tgids or tasks' pids |
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 |