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:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:gion_find_by_minor - Locate a pseudo-lock region by inode minor number*@minor: The minor number of the device representing pseudo-locked region* When the character device is accessed we need to determine which* pseudo-locked region it belongs to

Proto:static struct rdtgroup *region_find_by_minor(unsigned int minor)

Type:struct rdtgroup

Parameter:

TypeParameterName
unsigned intminor
153  struct rdtgroup * rdtgrp, * rdtgrp_match = NULL
156  If plr && minor == minor Then
157  rdtgrp_match = rdtgrp
158  Break
161  Return rdtgrp_match
Caller
NameDescribe
pseudo_lock_dev_open