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

Name:rdt_last_cmd_status_show

Proto:static int rdt_last_cmd_status_show(struct kernfs_open_file *of, struct seq_file *seq, void *v)

Type:int

Parameter:

TypeParameterName
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  If len Then seq_printf(seq, "%.*s", len, last_cmd_status_buf)
737  Else seq_puts(seq, "ok\n")
739  mutex_unlock( & Mutex to protect rdtgroup access. )
740  Return 0