Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c Create Date:2022-07-28 08:10:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:closid_alloc

Proto:static int closid_alloc(void)

Type:int

Parameter:Nothing

119  closid = find first bit in word
121  If closid == 0 Then Return -ENOSPC
123  closid--
124  Trivial allocator for CLOSIDs &= ~(1 << closid)
126  Return closid
Caller
NameDescribe
rdtgroup_mkdir_ctrl_monThese are rdtgroups created under the root directory. Can be used* to allocate and monitor resources.