Searched refs:xregs_state (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/ |
D | xstate.h | 103 void *get_xsave_addr(struct xregs_state *xsave, int xfeature_nr); 108 void copy_xstate_to_kernel(struct membuf to, struct xregs_state *xsave); 109 int copy_kernel_to_xstate(struct xregs_state *xsave, const void *kbuf); 110 int copy_user_to_xstate(struct xregs_state *xsave, const void __user *ubuf); 111 void copy_supervisor_to_kernel(struct xregs_state *xsave); 112 void copy_dynamic_supervisor_to_kernel(struct xregs_state *xstate, u64 mask); 113 void copy_kernel_to_dynamic_supervisor(struct xregs_state *xstate, u64 mask);
|
D | internal.h | 90 static inline void fpstate_init_xstate(struct xregs_state *xsave) in fpstate_init_xstate() 288 static inline void copy_kernel_to_xregs_booting(struct xregs_state *xstate) in copy_kernel_to_xregs_booting() 312 static inline void copy_xregs_to_kernel(struct xregs_state *xstate) in copy_xregs_to_kernel() 330 static inline void copy_kernel_to_xregs(struct xregs_state *xstate, u64 mask) in copy_kernel_to_xregs() 348 static inline int copy_xregs_to_user(struct xregs_state __user *buf) in copy_xregs_to_user() 373 static inline int copy_user_to_xregs(struct xregs_state __user *buf, u64 mask) in copy_user_to_xregs() 375 struct xregs_state *xstate = ((__force struct xregs_state *)buf); in copy_user_to_xregs() 391 static inline int copy_kernel_to_xregs_err(struct xregs_state *xstate, u64 mask) in copy_kernel_to_xregs_err()
|
D | types.h | 289 struct xregs_state { struct 308 struct xregs_state xsave; argument
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
D | xstate.c | 257 unsigned int last_good_offset = offsetof(struct xregs_state, in setup_xstate_features() 934 static void *__raw_xsave_addr(struct xregs_state *xsave, int xfeature_nr) in __raw_xsave_addr() 961 void *get_xsave_addr(struct xregs_state *xsave, int xfeature_nr) in get_xsave_addr() 1100 void copy_xstate_to_kernel(struct membuf to, struct xregs_state *xsave) in copy_xstate_to_kernel() 1103 struct xregs_state *xinit = &init_fpstate.xsave; in copy_xstate_to_kernel() 1143 zerofrom = offsetof(struct xregs_state, extended_state_area); in copy_xstate_to_kernel() 1183 int copy_kernel_to_xstate(struct xregs_state *xsave, const void *kbuf) in copy_kernel_to_xstate() 1189 offset = offsetof(struct xregs_state, header); in copy_kernel_to_xstate() 1236 int copy_user_to_xstate(struct xregs_state *xsave, const void __user *ubuf) in copy_user_to_xstate() 1242 offset = offsetof(struct xregs_state, header); in copy_user_to_xstate() [all …]
|
D | signal.c | 61 struct xregs_state *xsave = &tsk->thread.fpu.state.xsave; in save_fsave_header() 88 struct xregs_state __user *x = buf; in save_xstate_epilog() 127 static inline int copy_fpregs_to_sigframe(struct xregs_state __user *buf) in copy_fpregs_to_sigframe() 219 struct xregs_state *xsave = &state->xsave; in sanitize_restored_user_xstate()
|
D | regset.c | 78 struct xregs_state *xsave; in xstateregs_get() 111 struct xregs_state *xsave; in xstateregs_set()
|
/kernel/linux/linux-5.10/arch/x86/events/ |
D | perf_event.h | 848 struct xregs_state xsave;
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | x86.c | 4504 struct xregs_state *xsave = &vcpu->arch.guest_fpu->state.xsave; in fill_xsave() 4546 struct xregs_state *xsave = &vcpu->arch.guest_fpu->state.xsave; in load_xsave()
|