函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c Create Date:2022-07-27 09:13:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static int pseudo_lock_init(struct rdtgroup *rdtgrp)

返回类型:int

参数:

类型参数名称
struct rdtgroup *rdtgrp
324  plr等于分配内存并置零
325  如果非plr则返回:负ENOMEM
328  init_waitqueue_head( & lock_thread_wq)
329  初始化链表头
330  plr等于plr
331  返回:0
调用者
名称描述
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