函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c Create Date:2022-07-27 09:12:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Initialize the RDT group's allocations.

函数原型:static int rdtgroup_init_alloc(struct rdtgroup *rdtgrp)

返回类型:int

参数:

类型参数名称
struct rdtgroup *rdtgrp
2625  如果rid恒等于RDT_RESOURCE_MBA
2626  Initialize MBA resource with default values.
2627  否则
2628  ret等于Initialize cache resources with default values
2629  如果ret小于0则返回:ret
2633  ret等于update_domains(r, closid)
2634  如果ret小于0则
2635  rdt_last_cmd_puts("Failed to initialize allocations\n")
2636  返回:ret
2641  mode等于RDT_MODE_SHAREABLE
2643  返回:0
调用者
名称描述
rdtgroup_mkdir_ctrl_monThese are rdtgroups created under the root directory. Can be used* to allocate and monitor resources.