Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_disable

Proto:static int __init cgroup_disable(char *str)

Type:int

Parameter:

TypeParameterName
char *str
6035  When ((token = strsep - Split a string into tokens*@s: The string to be searched*@ct: The characters to search for* strsep() updates @s to point after the token, ready for the next call.* It returns empty tokens, too, behaving exactly like the libc function) != NULL) cycle
6036  If Not token Then Continue
6040  If strcmp(token, name) && strcmp(token, optional, initialized automatically during boot if not set ) Then Continue
6043  cgroup_disable_mask |= 1 << i
6046  Return 1