Function report |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-28 08:11:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dt_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
Proto:static int rdt_cdp_peer_get(struct rdt_resource *r, struct rdt_domain *d, struct rdt_resource **r_cdp, struct rdt_domain **d_cdp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rdt_resource * | r | |
struct rdt_domain * | d | |
struct rdt_resource ** | r_cdp | |
struct rdt_domain ** | d_cdp |
996 | struct rdt_resource * _r_cdp = NULL |
997 | struct rdt_domain * _d_cdp = NULL |
998 | ret = 0 |
1001 | Case rid == RDT_RESOURCE_L3DATA |
1003 | Break |
1004 | Case rid == RDT_RESOURCE_L3CODE |
1006 | Break |
1007 | Case rid == RDT_RESOURCE_L2DATA |
1009 | Break |
1010 | Case rid == RDT_RESOURCE_L2CODE |
1012 | Break |
1013 | Default |
1028 | If WARN_ON(IS_ERR_OR_NULL(_d_cdp)) Then |
1033 | out : |
1037 | Return ret |
Name | Describe |
---|---|
rdtgroup_cbm_overlaps | dtgroup_cbm_overlaps - Does CBM overlap with other use of hardware*@r: Resource to which domain instance @d belongs |
__init_one_rdt_domain | Initialize cache resources per RDT domain* Set the RDT domain up to start off with all usable allocations. That is,* all shareable and unused bits. All-zero CBM is invalid. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |