Function report |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-28 08:11:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bm_ensure_valid - Enforce validity on provided CBM*@_val: Candidate CBM*@r: RDT resource to which the CBM belongs* The provided CBM represents all cache portions available for use
Proto:static unsigned int cbm_ensure_valid(unsigned int _val, struct rdt_resource *r)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | _val | |
| struct rdt_resource * | r |
| 2502 | If Not val Then Return 0 |
| 2505 | first_bit = find the first set bit in a memory region( & val, cbm_len) |
| 2509 | bitmap_clear( & val, zero_bit, cbm_len - zero_bit) |
| 2510 | Return val |
| Name | Describe |
|---|---|
| __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 |