函数逻辑报告

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:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rdt_last_cmd_status_show

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

返回类型:int

参数:

类型参数名称
struct kernfs_open_file *of
struct seq_file *seq
void *v
733  mutex_lock( & Mutex to protect rdtgroup access. )
734  len等于How much buffer was written?
735  如果lenseq_printf(seq, "%.*s", len, last_cmd_status_buf)
737  否则seq_puts(seq, "ok\n")
739  mutex_unlock( & Mutex to protect rdtgroup access. )
740  返回:0