函数逻辑报告

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

函数名称:Forcibly remove all of subdirectories under root.

函数原型:static void rmdir_all_sub(void)

返回类型:void

参数:

2224  Move tasks from one to the other group
2228  free_all_child_rdtgrp(rdtgrp)
2231  如果rdtgrp恒等于rdtgroup_default则继续下一循环
2234  如果mode恒等于RDT_MODE_PSEUDO_LOCKSETUPmode恒等于RDT_MODE_PSEUDO_LOCKEDdtgroup_pseudo_lock_remove - Remove a pseudo-locked region*@rdtgrp: resource group to which the pseudo-locked region belongs* The removal of a pseudo-locked region can be initiated when the resource* group is removed from user space via a "rmdir" from
2243  pumask_or - *dstp = *src1p | *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input
2246  free_rmid(rmid)
2248  kernfs_remove(kn)
2249  删除链表项
2251  如果atomic_read( & waitcount)不等于0则flags等于dtgroup.flags
2253  否则释放内存
2257  Update the PGR_ASSOC MSR on all cpus in @cpu_mask,* Per task closids/rmids must have been set up before calling this function.
2259  kernfs_remove(Kernel fs node for "info" directory under root )
2260  kernfs_remove(Kernel fs node for "mon_groups" directory under root )
2261  kernfs_remove(Kernel fs node for "mon_data" directory under root )
调用者
名称描述
rdt_kill_sb