函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-27 09:11:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rdt_get_tree
函数原型:static int rdt_get_tree(struct fs_context *fc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fs_context * | fc |
1946 | ctx等于rdt_fc2context(fc) |
1951 | cpus_read_lock() |
1952 | mutex_lock( & Mutex to protect rdtgroup access. ) |
1956 | 如果static_branch_unlikely( & rdt_enable_key)则 |
1961 | ret等于rdt_enable_ctx(ctx) |
1965 | closid_init() |
1967 | ret等于rdtgroup_create_info_dir(kn) |
1971 | 如果rdt_mon_capable则 |
1972 | ret等于mongroup_create_dir(kn, & rdtgroup_default, "mon_groups", & Kernel fs node for "mon_groups" directory under root ) |
1981 | 如果ret小于0则转到:out_mongrp |
1987 | ret等于rdt_pseudo_lock_init() |
1988 | 如果ret则转到:out_mondata |
1991 | ret等于kernfs_get_tree(fc) |
1995 | 如果Global boolean for rdt_alloc which is true if any* resource allocation is enabled.则static_branch_enable_cpuslocked( & rdt_alloc_enable_key) |
2000 | 如果Global boolean for rdt_alloc which is true if any* resource allocation is enabled.或rdt_mon_capable则static_branch_enable_cpuslocked( & rdt_enable_key) |
2003 | 如果is_mbm_enabled()则 |
2004 | r等于rdt_resources_all[RDT_RESOURCE_L3] |
2009 | 转到:out |
2011 | out_psl : |
2012 | rdt_pseudo_lock_release() |
2013 | out_mondata : |
2016 | out_mongrp : |
2019 | out_info : |
2021 | out_mba : |
2024 | out_cdp : |
2025 | cdp_disable_all() |
2026 | out : |
2027 | rdt_last_cmd_clear() |
2029 | cpus_read_unlock() |
2030 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |