函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\pids.c Create Date:2022-07-27 12:16:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pids_css_alloc

函数原型:static struct cgroup_subsys_state *pids_css_alloc(struct cgroup_subsys_state *parent)

返回类型:struct cgroup_subsys_state

参数:

类型参数名称
struct cgroup_subsys_state *parent
72  pids等于分配内存并置零
73  如果非pids则返回:错误号
76  atomic64_set( & * Use 64-bit types so that we can safely represent "max" as * %PIDS_MAX = (%PID_MAX_LIMIT + 1)., 0)
77  atomic64_set( & limit, PIDS_MAX)
78  atomic64_set( & Number of times fork failed because limit was hit. , 0)
79  返回:css