Function report |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-28 08:11:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dtgroup_cbm_to_size - Translate CBM to size in bytes*@r: RDT resource to which @d belongs.*@d: RDT domain instance.*@cbm: bitmask for which the size should be computed.* The bitmask provided associated with the RDT domain instance @d will be
Proto:unsigned int rdtgroup_cbm_to_size(struct rdt_resource *r, struct rdt_domain *d, unsigned long cbm)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rdt_resource * | r | |
struct rdt_domain * | d | |
unsigned long | cbm |
1262 | size = 0 |
1265 | num_b = bitmap_weight( & cbm, cbm_len) |
1266 | ci = get_cpu_cacheinfo(cpumask_any - pick a "random" cpu from *srcp*@srcp: the input cpumask* Returns >= nr_cpu_ids if no cpus set.( & cpu_mask)) |
1267 | When i < num_leaves cycle |
1274 | Return size |
Name | Describe |
---|---|
rdtgroup_size_show | dtgroup_size_show - Display size in bytes of allocated regions* The "size" file mirrors the layout of the "schemata" file, printing the* size in bytes of each region instead of the capacity bitmask. |
pseudo_lock_region_init | pseudo_lock_region_init - Initialize pseudo-lock region information*@plr: pseudo-lock region* Called after user provided a schemata to be pseudo-locked. From the* schemata the &struct pseudo_lock_region is on entry already initialized |
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 |