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

Name:dtgroup_mode_show - Display mode of this resource group

Proto:static int rdtgroup_mode_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
957  rdtgrp = rdtgroup_kn_lock_live( published fields )
958  If Not rdtgrp Then
959  rdtgroup_kn_unlock( published fields )
960  Return -ENOENT
963  seq_printf(s, "%s\n", dtgroup_mode_str - Return the string representation of mode*@mode: the resource group mode as &enum rdtgroup_mode* Return: string representation of valid mode, "unknown" otherwise)
965  rdtgroup_kn_unlock( published fields )
966  Return 0