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

Name:This creates a directory mon_data which contains the monitored data

Proto:static int mkdir_mondata_all(struct kernfs_node *parent_kn, struct rdtgroup *prgrp, struct kernfs_node **dest_kn)

Type:int

Parameter:

TypeParameterName
struct kernfs_node *parent_kn
struct rdtgroup *prgrp
struct kernfs_node **dest_kn
2457  ret = mongroup_create_dir(parent_kn, prgrp, "mon_data", & kn)
2458  If ret Then Return ret
2461  If dest_kn Then dest_kn = kn
2469  ret = mkdir_mondata_subdir_alldom(kn, r, prgrp)
2470  If ret Then Go to out_destroy
2474  Return 0
2476  out_destroy :
2477  kernfs_remove(kn)
2478  Return ret
Caller
NameDescribe
rdt_get_tree
mkdir_rdt_prepare