Searched refs:xregs_state (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/arch/x86/include/asm/fpu/ |
D | xstate.h | 49 void *get_xsave_addr(struct xregs_state *xsave, int xstate); 52 int copy_xstate_to_kernel(void *kbuf, struct xregs_state *xsave, unsigned int offset, unsigned int … 53 int copy_xstate_to_user(void __user *ubuf, struct xregs_state *xsave, unsigned int offset, unsigned… 54 int copy_kernel_to_xstate(struct xregs_state *xsave, const void *kbuf); 55 int copy_user_to_xstate(struct xregs_state *xsave, const void __user *ubuf);
|
D | internal.h | 90 static inline void fpstate_init_xstate(struct xregs_state *xsave) in fpstate_init_xstate() 282 static inline void copy_xregs_to_kernel_booting(struct xregs_state *xstate) in copy_xregs_to_kernel_booting() 304 static inline void copy_kernel_to_xregs_booting(struct xregs_state *xstate) in copy_kernel_to_xregs_booting() 328 static inline void copy_xregs_to_kernel(struct xregs_state *xstate) in copy_xregs_to_kernel() 346 static inline void copy_kernel_to_xregs(struct xregs_state *xstate, u64 mask) in copy_kernel_to_xregs() 364 static inline int copy_xregs_to_user(struct xregs_state __user *buf) in copy_xregs_to_user() 386 static inline int copy_user_to_xregs(struct xregs_state __user *buf, u64 mask) in copy_user_to_xregs() 388 struct xregs_state *xstate = ((__force struct xregs_state *)buf); in copy_user_to_xregs()
|
D | types.h | 253 struct xregs_state { struct 272 struct xregs_state xsave; argument
|
/Linux-v4.19/arch/x86/kernel/fpu/ |
D | signal.c | 60 struct xregs_state *xsave = &tsk->thread.fpu.state.xsave; in save_fsave_header() 82 struct xregs_state __user *x = buf; in save_xstate_epilog() 121 static inline int copy_fpregs_to_sigframe(struct xregs_state __user *buf) in copy_fpregs_to_sigframe() 160 struct xregs_state *xsave = &fpu->state.xsave; in copy_fpstate_to_sigframe() 214 struct xregs_state *xsave = &tsk->thread.fpu.state.xsave; in sanitize_restored_xstate() 335 if (!err && state_size > offsetof(struct xregs_state, header)) in __fpu__restore_sig()
|
D | xstate.c | 256 unsigned int last_good_offset = offsetof(struct xregs_state, in setup_xstate_features() 814 void *__raw_xsave_addr(struct xregs_state *xsave, int xstate_feature_mask) in __raw_xsave_addr() 843 void *get_xsave_addr(struct xregs_state *xsave, int xstate_feature) in get_xsave_addr() 989 int copy_xstate_to_kernel(void *kbuf, struct xregs_state *xsave, unsigned int offset_start, unsigne… in copy_xstate_to_kernel() 1011 offset = offsetof(struct xregs_state, header); in copy_xstate_to_kernel() 1073 int copy_xstate_to_user(void __user *ubuf, struct xregs_state *xsave, unsigned int offset_start, un… in copy_xstate_to_user() 1095 offset = offsetof(struct xregs_state, header); in copy_xstate_to_user() 1146 int copy_kernel_to_xstate(struct xregs_state *xsave, const void *kbuf) in copy_kernel_to_xstate() 1152 offset = offsetof(struct xregs_state, header); in copy_kernel_to_xstate() 1199 int copy_user_to_xstate(struct xregs_state *xsave, const void __user *ubuf) in copy_user_to_xstate() [all …]
|
D | regset.c | 85 struct xregs_state *xsave; in xstateregs_get() 122 struct xregs_state *xsave; in xstateregs_set()
|
/Linux-v4.19/arch/x86/kvm/ |
D | x86.c | 3516 struct xregs_state *xsave = &vcpu->arch.guest_fpu.state.xsave; in fill_xsave() 3558 struct xregs_state *xsave = &vcpu->arch.guest_fpu.state.xsave; in load_xsave()
|