Function report |
Source Code:arch\x86\kernel\cpu\resctrl\core.c |
Create Date:2022-07-28 08:10:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:domain_setup_mon_state
Proto:static int domain_setup_mon_state(struct rdt_resource *r, struct rdt_domain *d)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rdt_resource * | r | |
struct rdt_domain * | d |
512 | If is_llc_occupancy_enabled() Then |
513 | rmid_busy_llc = bitmap_zalloc(num_rmid, GFP_KERNEL) |
514 | If Not rmid_busy_llc Then Return -ENOMEM |
518 | If is_mbm_total_enabled() Then |
520 | mbm_total = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
521 | If Not mbm_total Then |
522 | bitmap_free(rmid_busy_llc) |
523 | Return -ENOMEM |
526 | If is_mbm_local_enabled() Then |
528 | mbm_local = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
529 | If Not mbm_local Then |
536 | If is_mbm_enabled() Then |
537 | INIT_DELAYED_WORK( & mbm_over, mbm_handle_overflow) |
541 | Return 0 |
Name | Describe |
---|---|
domain_add_cpu | domain_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 |
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 |