Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_init_root_id

Proto:static int cgroup_init_root_id(struct cgroup_root *root)

Type:int

Parameter:

TypeParameterName
struct cgroup_root *root
1292  lockdep_assert_held( & cgroup_mutex is the master lock)
1294  id = dr_alloc_cyclic() - Allocate an ID cyclically.*@idr: IDR handle.*@ptr: Pointer to be associated with the new ID.*@start: The minimum ID (inclusive).*@end: The maximum ID (exclusive).*@gfp: Memory allocation flags.
1295  If id < 0 Then Return id
1298  Unique id for this hierarchy. = id
1299  Return 0
Caller
NameDescribe
cgroup_setup_root