函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rdtgroup_schemata_show

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

返回类型:int

参数:

类型参数名称
struct kernfs_open_file *of
struct seq_file *s
void *v
465  ret等于0
468  rdtgrp等于rdtgroup_kn_lock_live( published fields )
469  如果rdtgrp
470  如果mode恒等于RDT_MODE_PSEUDO_LOCKSETUP
472  seq_printf(s, "%s:uninitialized\n", name)
473  否则如果mode恒等于RDT_MODE_PSEUDO_LOCKED
474  如果非d
476  rdt_last_cmd_puts("Cache domain offline\n")
477  ret等于负ENODEV
478  否则
479  seq_printf(s, "%s:%d=%x\n", name, id, cbm)
484  否则
485  closid等于closid
487  如果closid小于num_closidshow_doms(s, r, closid)
491  否则
492  ret等于负ENOENT
494  rdtgroup_kn_unlock( published fields )
495  返回:ret