函数逻辑报告 |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-27 08:50:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__copy_xstate_to_user
函数原型:static inline int __copy_xstate_to_user(void __user *ubuf, const void *data, unsigned int offset, unsigned int size, unsigned int size_total)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void __user * | ubuf | |
| const void * | data | |
| unsigned int | offset | |
| unsigned int | size | |
| unsigned int | size_total |
| 1047 | 如果非size则返回:0 |
| 1050 | 如果offset小于size_total则 |
| 1051 | copy等于两数取小(size, size_total - offset) |
| 1056 | 返回:0 |
| 名称 | 描述 |
|---|---|
| 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |