Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pseudo_lock_init - Initialize a pseudo-lock region*@rdtgrp: resource group to which new pseudo-locked region will belong* A pseudo-locked region is associated with a resource group. When this* association is created the pseudo-locked region is initialized

Proto:static int pseudo_lock_init(struct rdtgroup *rdtgrp)

Type:int

Parameter:

TypeParameterName
struct rdtgroup *rdtgrp
324  plr = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
325  If Not plr Then Return -ENOMEM
328  init_waitqueue_head( & lock_thread_wq)
329  Initialization list head
330  plr = plr
331  Return 0
Caller
NameDescribe
rdtgroup_locksetup_enterdtgroup_locksetup_enter - Resource group enters locksetup mode*@rdtgrp: resource group requested to enter locksetup mode* A resource group enters locksetup mode to reflect that it would be used* to represent a pseudo-locked region and is in the process of