Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\core.c Create Date:2022-07-28 08:10:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dt_find_domain - Find a domain in a resource that matches input resource id* Search resource r's domain list to find the resource id. If the resource* id is found in a domain, return the domain. Otherwise, if requested by

Proto:struct rdt_domain *rdt_find_domain(struct rdt_resource *r, int id, struct list_head **pos)

Type:struct rdt_domain

Parameter:

TypeParameterName
struct rdt_resource *r
intid
struct list_head **pos
448  If id < 0 Then Return ERR_PTR( - ENODEV)
452  d = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(l, structrdt_domain, list)
454  If id == id Then Return d
457  If id < id Then Break
461  If pos Then pos = l
464  Return NULL
Caller
NameDescribe
domain_add_cpudomain_add_cpu - Add a cpu to a resource's domain list.* If an existing domain in the resource r's domain list matches the cpu's* resource id, add the cpu in the domain.* Otherwise, a new domain is allocated and inserted into the right position
domain_remove_cpu
rdt_cdp_peer_getdt_cdp_peer_get - Retrieve CDP peer if it exists*@r: RDT resource to which RDT domain @d belongs*@d: Cache instance for which a CDP peer is requested*@r_cdp: RDT resource that shares hardware with @r (RDT resource peer)* Used to return the result
rdtgroup_mondata_show