函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:resctrl_late_init

函数原型:static int __init resctrl_late_init(void)

返回类型:int

参数:

968  rdt_init_res_defs()
970  check_quirks()
972  如果非get_rdt_resources()则返回:负ENODEV
975  Choose a width for the resource name and resource data based on the* resource that has widest name and cbm.
977  state等于puhp_setup_state - Setup hotplug state callbacks with calling the callbacks*@state: The state for which the calls are installed*@name: Name of the callback (will be used in debug output)*@startup: startup callback function*@teardown: teardown callback
980  如果state小于0则返回:state
983  ret等于rdtgroup_init()
984  如果ret
985  puhp_remove_state - Remove hotplug state callbacks and invoke the teardown*@state: The state for which the calls are removed* Removes the callback functions and invokes the teardown callback on* the present cpus which have already reached the @state.
986  返回:ret
988  rdt_online等于state
990  for_each_alloc_capable_rdt_resource(r)
991  打印信息("%s allocation detected\n", name)
993  for_each_mon_capable_rdt_resource(r)
994  打印信息("%s monitoring detected\n", name)
996  返回:0