函数逻辑报告 |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-27 08:50:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:int copy_xstate_to_user(void __user *ubuf, struct xregs_state *xsave, unsigned int offset_start, unsigned int size_total)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void __user * | ubuf | |
struct xregs_state * | xsave | |
unsigned int | offset_start | |
unsigned int | size_total |
1074 | 如果此条件成立可能性小(为编译器优化)(offset_start != 0)则返回:负EFAULT |
1082 | xfeatures与等于Supervisor features 的反 |
1087 | offset等于offsetof(structxregs_state, header) |
1090 | ret等于__copy_xstate_to_user(ubuf, & header, offset, size, size_total) |
1094 | 以i小于XFEATURE_MAX循环 |
1116 | offset等于offsetof(structfxregs_state, mxcsr) |
1118 | __copy_xstate_to_user(ubuf, & MXCSR Register State , offset, size, size_total) |
1124 | offset等于offsetof(structfxregs_state, sw_reserved) |
1125 | size等于xstate_fx_sw_bytes的长度 |
1127 | ret等于__copy_xstate_to_user(ubuf, xstate_fx_sw_bytes, offset, size, size_total) |
1131 | 返回:0 |
名称 | 描述 |
---|---|
xstateregs_get |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |