函数逻辑报告 |
Source Code:arch\x86\kernel\espfix_64.c |
Create Date:2022-07-27 08:42:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This returns the bottom address of the espfix stack for a specific CPU.* The math allows for a non-power-of-two ESPFIX_STACK_SIZE, in which case* we have to account for some amount of padding at the end of each page.
函数原型:static inline unsigned long espfix_base_addr(unsigned int cpu)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | cpu |
80 | page等于cpu除ESPFIX_STACKS_PER_PAGE按位异或page_random |
81 | slot等于cpu加slot_random的和取模ESPFIX_STACKS_PER_PAGE |
82 | addr等于page左移PAGE_SHIFT determines the page size 位的值加slot乘Note: we only need 6*8 = 48 bytes for the espfix stack, but round* it up to a cache line to avoid unnecessary sharing. |
84 | addr加等于ESPFIX_BASE_ADDR |
85 | 返回:addr |
名称 | 描述 |
---|---|
init_espfix_ap |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |