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

Name:Remove all subdirectories of mon_data of ctrl_mon groups* and monitor groups with given domain id.

Proto:void rmdir_mondata_subdir_allrdtgrp(struct rdt_resource *r, unsigned int dom_id)

Type:void

Parameter:

TypeParameterName
struct rdt_resource *r
unsigned intdom_id
2325  If Not mon_enabled Then Return
2329  sprintf(name, "mon_%s_%02d", name, dom_id)
2330  kernfs_remove_by_name(mon_data_kn, name)
2332  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(crgrp, & crdtgrp_list, crdtgrp_list)
2333  kernfs_remove_by_name(mon_data_kn, name)