函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c Create Date:2022-07-27 09:11:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dtgroup_mode_show - Display mode of this resource group

函数原型:static int rdtgroup_mode_show(struct kernfs_open_file *of, struct seq_file *s, void *v)

返回类型:int

参数:

类型参数名称
struct kernfs_open_file *of
struct seq_file *s
void *v
957  rdtgrp等于rdtgroup_kn_lock_live( published fields )
958  如果非rdtgrp
959  rdtgroup_kn_unlock( published fields )
960  返回:负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  返回:0