Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_memory

Proto:static int __init cgroup_memory(char *s)

Type:int

Parameter:

TypeParameterName
char *s
6776  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
6777  If Not token Then Continue
6779  If Not strcmp(token, "nosocket") Then Socket memory accounting disabled? = true
6781  If Not strcmp(token, "nokmem") Then Kernel memory accounting disabled? = true
6784  Return 0