函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c Create Date:2022-07-27 09:12:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rdtgroup_rmdir_mon

函数原型:static int rdtgroup_rmdir_mon(struct kernfs_node *kn, struct rdtgroup *rdtgrp, cpumask_var_t tmpmask)

返回类型:int

参数:

类型参数名称
struct kernfs_node *kn
struct rdtgroup *rdtgrp
cpumask_var_ttmpmask
2885  prdtgrp等于parent
2889  Move tasks from one to the other group
2892  遍历CPU(cpu, & cpu_mask)
2893  per_cpu(default_rmid, cpu)等于rmid
2898  pumask_or - *dstp = *src1p | *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input
2899  Update the PGR_ASSOC MSR on all cpus in @cpu_mask,* Per task closids/rmids must have been set up before calling this function.
2901  flags等于dtgroup.flags
2902  free_rmid(rmid)
2907  WARN_ON(链表为空)
2908  删除链表项
2914  kernfs_get(kn)
2915  kernfs_remove(kn)
2917  返回:0
调用者
名称描述
rdtgroup_rmdir