函数逻辑报告

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:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pseudo_lock_region_clear - Reset pseudo-lock region data*@plr: pseudo-lock region* All content of the pseudo-locked region is reset - any memory allocated* freed.* Return: void

函数原型:static void pseudo_lock_region_clear(struct pseudo_lock_region *plr)

返回类型:void

参数:

类型参数名称
struct pseudo_lock_region *plr
245  size等于0
246  line_size等于0
247  释放内存
248  kmem = NULL
249  r = NULL
250  如果dplr = NULL
252  d = NULL
253  cbm等于0
254  debugfs_dir = NULL
调用者
名称描述
pseudo_lock_region_initpseudo_lock_region_init - Initialize pseudo-lock region information*@plr: pseudo-lock region* Called after user provided a schemata to be pseudo-locked. From the* schemata the &struct pseudo_lock_region is on entry already initialized
pseudo_lock_region_allocpseudo_lock_region_alloc - Allocate kernel memory that will be pseudo-locked*@plr: pseudo-lock region* Initialize the details required to set up the pseudo-locked region and* allocate the contiguous memory that will be pseudo-locked to the cache.
pseudo_lock_freepseudo_lock_free - Free a pseudo-locked region*@rdtgrp: resource group to which pseudo-locked region belonged* The pseudo-locked region's resources have already been released, or not* yet created at this point
rdtgroup_pseudo_lock_createdtgroup_pseudo_lock_create - Create a pseudo-locked region*@rdtgrp: resource group to which pseudo-lock region belongs* Called when a resource group in the pseudo-locksetup mode receives a* valid schemata that should be pseudo-locked