Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dom_data_init

Proto:static int dom_data_init(struct rdt_resource *r)

Type:int

Parameter:

TypeParameterName
struct rdt_resource *r
555  struct rmid_entry * entry = NULL
558  nr_rmids = num_rmid
559  @rmid_entry - The entry in the limbo and free lists. = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc).
560  If Not @rmid_entry - The entry in the limbo and free lists. Then Return -ENOMEM
563  When i < nr_rmids cycle
564  entry = @rmid_entry - The entry in the limbo and free lists.[i]
565  Initialization list head
567  rmid = i
568  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
575  entry = __rmid_entry(0)
576  deletes entry from list
578  Return 0
Caller
NameDescribe
rdt_get_mon_l3_config