Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rdtgroup_cpus_show

Proto:static int rdtgroup_cpus_show(struct kernfs_open_file *of, struct seq_file *s, void *v)

Type:int

Parameter:

TypeParameterName
struct kernfs_open_file *of
struct seq_file *s
void *v
266  ret = 0
268  rdtgrp = rdtgroup_kn_lock_live( published fields )
270  If rdtgrp Then
271  If mode == RDT_MODE_PSEUDO_LOCKED Then
272  If Not d Then
274  rdt_last_cmd_puts("Cache domain offline\n")
275  ret = -ENODEV
276  Else
282  Else
286  Else
287  ret = -ENOENT
289  rdtgroup_kn_unlock( published fields )
291  Return ret