Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rdtgroup_schemata_show

Proto:int rdtgroup_schemata_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
465  ret = 0
468  rdtgrp = rdtgroup_kn_lock_live( published fields )
469  If rdtgrp Then
470  If mode == RDT_MODE_PSEUDO_LOCKSETUP Then
472  seq_printf(s, "%s:uninitialized\n", name)
473  Else if mode == RDT_MODE_PSEUDO_LOCKED Then
474  If Not d Then
476  rdt_last_cmd_puts("Cache domain offline\n")
477  ret = -ENODEV
478  Else
479  seq_printf(s, "%s:%d=%x\n", name, id, cbm)
484  Else
485  closid = closid
487  If closid < num_closid Then show_doms(s, r, closid)
491  Else
492  ret = -ENOENT
494  rdtgroup_kn_unlock( published fields )
495  Return ret