Function report |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-28 08:11:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__rdtgroup_cbm_overlaps - Does CBM for intended closid overlap with other*@r: Resource to which domain instance @d belongs
Proto:static bool __rdtgroup_cbm_overlaps(struct rdt_resource *r, struct rdt_domain *d, unsigned long cbm, int closid, bool exclusive)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rdt_resource * | r | |
| struct rdt_domain * | d | |
| unsigned long | cbm | |
| int | closid | |
| bool | exclusive |
| 1069 | If Not exclusive Then |
| 1070 | ctrl_b = shareable_bits |
| 1071 | If bitmap_intersects( & cbm, & ctrl_b, cbm_len) Then Return true |
| 1077 | When i < closids_supported() cycle |
| 1079 | mode = dtgroup_mode_by_closid - Return mode of resource group with closid*@closid: closid if the resource group* Each resource group is associated with a @closid |
| 1082 | If bitmap_intersects( & cbm, & ctrl_b, cbm_len) Then |
| 1083 | If exclusive Then |
| 1084 | If mode == RDT_MODE_EXCLUSIVE Then Return true |
| 1086 | Continue |
| 1088 | Return true |
| 1093 | Return false |
| Name | Describe |
|---|---|
| rdtgroup_cbm_overlaps | dtgroup_cbm_overlaps - Does CBM overlap with other use of hardware*@r: Resource to which domain instance @d belongs |
| 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 |