函数逻辑报告 |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-27 08:50:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Given an xstate feature nr, calculate where in the xsave* buffer the state is. Callers should ensure that the buffer* is valid.
函数原型:static void *__raw_xsave_addr(struct xregs_state *xsave, int xfeature_nr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xregs_state * | xsave | |
int | xfeature_nr |
813 | WARN_ON_FPU(1) |
814 | 返回:NULL |
817 | 返回:xsave加xstate_comp_offsets[xfeature_nr] |
名称 | 描述 |
---|---|
get_xsave_addr | Given the xsave area and a state inside, this function returns the* address of the state |
copy_xstate_to_kernel | Convert from kernel XSAVES compacted format to standard format and copy* to a kernel-space ptrace buffer.* It supports partial copy but pos always starts from zero. This is called* from xstateregs_get() and there we check the CPU has XSAVES. |
copy_xstate_to_user | Convert from kernel XSAVES compacted format to standard format and copy* to a user-space buffer. It supports partial copy but pos always starts from* zero. This is called from xstateregs_get() and there we check the CPU* has XSAVES. |
copy_kernel_to_xstate | Convert from a ptrace standard-format kernel buffer to kernel XSAVES format* and copy to the target thread. This is called from xstateregs_set(). |
copy_user_to_xstate | Convert from a ptrace or sigreturn standard-format user-space buffer to* kernel XSAVES format and copy to the target thread. This is called from* xstateregs_set(), as well as potentially from the sigreturn() and* rt_sigreturn() system calls. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |