函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-27 09:11:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dt_bit_usage_show - Display current usage of resources* A domain is a shared resource that can now be allocated differently
函数原型:static int rdt_bit_usage_show(struct kernfs_open_file *of, struct seq_file *seq, void *v)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kernfs_open_file * | of | |
| struct seq_file * | seq | |
| void * | v |
| 801 | sw_shareable等于0, hw_shareable等于0 |
| 802 | exclusive等于0, pseudo_locked等于0 |
| 806 | bool sep = false |
| 815 | sw_shareable等于0 |
| 816 | exclusive等于0 |
| 817 | seq_printf(seq, "%d=", id) |
| 818 | 以i小于closids_supported()循环 |
| 821 | mode等于dtgroup_mode_by_closid - Return mode of resource group with closid*@closid: closid if the resource group* Each resource group is associated with a @closid |
| 823 | 当:mode恒等于RDT_MODE_SHAREABLE |
| 824 | sw_shareable或等于ctrl |
| 825 | 退出 |
| 826 | 当:mode恒等于RDT_MODE_EXCLUSIVE |
| 829 | 当:mode恒等于RDT_MODE_PSEUDO_LOCKSETUP |
| 837 | 退出 |
| 838 | 当:mode恒等于RDT_MODE_PSEUDO_LOCKED |
| 839 | 当:mode恒等于RDT_NUM_MODES |
| 846 | pseudo_locked等于如果plr则cbm否则0 |
| 847 | hwb等于st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from |
| 848 | swb等于st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from |
| 849 | excl等于st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from |
| 864 | sep = true |
| 868 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |