/linux-master/arch/x86/kernel/fpu/ |
H A D | Makefile | 6 obj-y += init.o bugs.o core.o regset.o signal.o xstate.o
|
H A D | context.h | 5 #include <asm/fpu/xstate.h> 64 * This restores _all_ xstate which has not been
|
H A D | xstate.h | 6 #include <asm/fpu/xstate.h> 179 * Save processor xstate to xsave area. 201 * Restore processor xstate from xsave area. 251 * Save xstate to user space xsave area. 292 * Restore xstate from user space xsave area. 296 struct xregs_state *xstate = ((__force struct xregs_state *)buf); local 304 XSTATE_OP(XRSTOR, xstate, lmask, hmask, err); 311 * Restore xstate from kernel space xsave area, return an error code instead of 316 struct xregs_state *xstate = &fpstate->regs.xsave; local 325 XSTATE_OP(XRSTORS, xstate, lmas [all...] |
H A D | xstate.c | 29 #include "xstate.h" 55 "unknown xstate feature", 56 "unknown xstate feature", 57 "unknown xstate feature", 58 "unknown xstate feature", 61 "unknown xstate feature", 247 * In our xstate size checks, we assume that the highest-numbered 248 * xstate feature has the highest offset in the buffer. Ensure 252 "x86/fpu: misordered xstate at %d\n", last_good_offset); 267 * Print out all the supported xstate feature 313 os_xrstor_booting(struct xregs_state *xstate) argument 1043 copy_feature(bool from_xstate, struct membuf *to, void *xstate, void *init_xstate, unsigned int size) argument 1361 xsaves(struct xregs_state *xstate, u64 mask) argument 1385 xrstors(struct xregs_state *xstate, u64 mask) argument [all...] |
H A D | core.c | 26 #include "xstate.h" 478 /* XSAVE(S) just needs the legacy and the xstate header part */ 560 struct cet_user_state *xstate; local 566 xstate = get_xsave_addr(&dst->thread.fpu.fpstate->regs.xsave, 575 if (WARN_ON_ONCE(!xstate)) 578 xstate->user_ssp = (u64)ssp; 727 * PKRU handling does not rely on the xstate when restoring for
|
H A D | signal.c | 12 #include <asm/fpu/xstate.h> 21 #include "xstate.h" 371 * By setting TIF_NEED_FPU_LOAD it is ensured that our xstate is 372 * not modified on context switch and that the xstate is considered 424 * from the memory xstate header which makes the full
|
/linux-master/arch/sh/kernel/ |
H A D | process.c | 29 if (src->thread.xstate) { 30 dst->thread.xstate = kmem_cache_alloc(task_xstate_cachep, 32 if (!dst->thread.xstate) 34 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size); 42 if (tsk->thread.xstate) { 43 kmem_cache_free(task_xstate_cachep, tsk->thread.xstate); 44 tsk->thread.xstate = NULL;
|
H A D | ptrace_32.c | 177 return membuf_write(&to, target->thread.xstate, 196 &target->thread.xstate->hardfpu, 0, -1); 199 &target->thread.xstate->softfpu, 0, -1); 369 tmp = ((unsigned long *)child->thread.xstate) 404 ((unsigned long *)child->thread.xstate)
|
H A D | process_32.c | 157 prefetch(next_t->xstate);
|
H A D | signal_32.c | 85 return __copy_from_user(&tsk->thread.xstate->hardfpu, &sc->sc_fpregs[0], 109 return __copy_to_user(&sc->sc_fpregs[0], &tsk->thread.xstate->hardfpu,
|
/linux-master/net/netfilter/ |
H A D | nft_set_pipapo_avx2.h | 5 #include <asm/fpu/xstate.h>
|
/linux-master/arch/sh/kernel/cpu/sh4/ |
H A D | fpu.c | 84 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), 134 :"0" (tsk->thread.xstate), "r" (FPSCR_RCHG) 230 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR)) 232 denormal_to_double(&tsk->thread.xstate->hardfpu, 248 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; 249 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; 250 fpscr = tsk->thread.xstate->hardfpu.fpscr; 260 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; 262 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; 264 tsk->thread.xstate [all...] |
/linux-master/arch/sh/kernel/cpu/ |
H A D | fpu.c | 22 if (!tsk->thread.xstate) { 23 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, 25 if (!tsk->thread.xstate) 30 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; 34 struct sh_fpu_soft_struct *fp = &tsk->thread.xstate->softfpu;
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | amx_test.c | 79 static inline void __xsavec(struct xstate *xstate, uint64_t rfbm) argument 85 : : "D" (xstate), "a" (rfbm_lo), "d" (rfbm_hi) 147 struct xstate *xstate) 169 xstate->header.xstate_bv = XFEATURE_MASK_XTILE_DATA; 170 __xsavec(xstate, XFEATURE_MASK_XTILE_DATA); 171 GUEST_ASSERT(!(xstate->header.xstate_bv & XFEATURE_MASK_XTILE_DATA)); 172 GUEST_ASSERT(xstate->header.xcomp_bv & XFEATURE_MASK_XTILE_DATA); 181 xstate 145 guest_code(struct tile_config *amx_cfg, struct tile_data *tiledata, struct xstate *xstate) argument 221 vm_vaddr_t amx_cfg, tiledata, xstate; local [all...] |
/linux-master/arch/sh/kernel/cpu/sh2a/ |
H A D | fpu.c | 52 : "0" ((char *)(&tsk->thread.xstate->hardfpu.status)), 84 : "0" (tsk->thread.xstate), "r" (FPSCR_RCHG) 456 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_FPU_ERROR)) { 458 denormal_to_double (&tsk->thread.xstate->hardfpu, 473 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; 474 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; 475 fpscr = tsk->thread.xstate->hardfpu.fpscr; 485 | tsk->thread.xstate->hardfpu.fp_regs[n+1]; 487 | tsk->thread.xstate->hardfpu.fp_regs[m+1]; 492 tsk->thread.xstate [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | processor_32.h | 108 union thread_xstate *xstate; member in struct:thread_struct
|
/linux-master/arch/x86/kernel/ |
H A D | signal.c | 35 #include <asm/fpu/xstate.h>
|
H A D | shstk.c | 22 #include <asm/fpu/xstate.h>
|
H A D | process.c | 38 #include <asm/fpu/xstate.h>
|
H A D | ptrace.c | 33 #include <asm/fpu/xstate.h>
|
H A D | traps.c | 62 #include <asm/fpu/xstate.h>
|
/linux-master/drivers/net/ppp/ |
H A D | ppp_generic.c | 125 unsigned int xstate; /* transmit state bits 68 */ member in struct:ppp 160 * Bits in xstate: SC_COMP_RUN 822 val = ppp->flags | ppp->xstate | ppp->rstate; 1819 if ((ppp->xstate & SC_COMP_RUN) && ppp->xc_state && 3044 ppp->xstate &= ~SC_COMP_RUN; 3107 ppp->xstate &= ~SC_COMP_RUN; 3120 ppp->xstate &= ~SC_COMP_RUN; 3148 ppp->xstate |= SC_COMP_RUN; 3162 if (ppp->xc_state && (ppp->xstate & SC_COMP_RUN)) 3173 void *xstate, *rstat local [all...] |
/linux-master/arch/sh/math-emu/ |
H A D | math.c | 495 struct sh_fpu_soft_struct *fpu = &(tsk->thread.xstate->softfpu);
|
/linux-master/arch/x86/kvm/ |
H A D | x86.h | 6 #include <asm/fpu/xstate.h>
|
/linux-master/arch/x86/events/ |
H A D | perf_event.h | 17 #include <asm/fpu/xstate.h>
|