Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\device_cgroup.c Create Date:2022-07-28 19:55:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:alled from kernel/cgroup.c with cgroup_lock() held.

Proto:static struct cgroup_subsys_state *devcgroup_css_alloc(struct cgroup_subsys_state *parent_css)

Type:struct cgroup_subsys_state

Parameter:

TypeParameterName
struct cgroup_subsys_state *parent_css
212  dev_cgroup = 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).
213  If Not dev_cgroup Then Return ERR_PTR( - ENOMEM)
215  Initialization list head
216  behavior = DEVCG_DEFAULT_NONE
218  Return css