函数逻辑报告

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

函数名称:dtgroup_tasks_assigned - Test if tasks have been assigned to resource group*@r: Resource group* Return: 1 if tasks have been assigned to @r, 0 otherwise

函数原型:int rdtgroup_tasks_assigned(struct rdtgroup *r)

返回类型:int

参数:

类型参数名称
struct rdtgroup *r
600  ret等于0
602  lockdep_assert_held( & Mutex to protect rdtgroup access. )
604  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
605  Careful: this is a double loop, 'break' won't work as expected. (p, t)
606  如果type恒等于RDTCTRL_GROUPclosid恒等于closidtype恒等于RDTMON_GROUPrmid恒等于rmid
608  ret等于1
609  退出
612  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
614  返回:ret
调用者
名称描述
rdtgroup_locksetup_enterdtgroup_locksetup_enter - Resource group enters locksetup mode*@rdtgrp: resource group requested to enter locksetup mode* A resource group enters locksetup mode to reflect that it would be used* to represent a pseudo-locked region and is in the process of