Function report |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-28 07:50:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:int copy_user_to_xstate(struct xregs_state *xsave, const void __user *ubuf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct xregs_state * | xsave | |
const void __user * | ubuf |
1197 | offset = offsetof(structxregs_state, header) |
1203 | If Validate an xstate header supplied by userspace (ptrace or sigreturn) Then Return -EINVAL |
1206 | When i < XFEATURE_MAX cycle |
1221 | offset = offsetof(structfxregs_state, mxcsr) |
1223 | If __copy_from_user( & MXCSR Register State , ubuf + offset, size) Then Return -EFAULT |
1231 | xfeatures &= Supervisor features |
1238 | Return 0 |
Name | Describe |
---|---|
__fpu__restore_sig |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |