Home
last modified time | relevance | path

Searched refs:xstate_size (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/arch/sh/kernel/
Dprocess.c13 unsigned int xstate_size; variable
34 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size); in arch_dup_task_struct()
55 if (!xstate_size) in arch_task_cache_init()
58 task_xstate_cachep = kmem_cache_create("task_xstate", xstate_size, in arch_task_cache_init()
72 xstate_size = sizeof(struct sh_fpu_hard_struct); in init_thread_xstate()
74 xstate_size = sizeof(struct sh_fpu_soft_struct); in init_thread_xstate()
76 xstate_size = 0; in init_thread_xstate()
/Linux-v6.6/arch/x86/kernel/fpu/
Dsignal.c40 fx_sw->xstate_size < min_xstate_size || in check_xstate_in_sigframe()
41 fx_sw->xstate_size > current->thread.fpu.fpstate->user_size || in check_xstate_in_sigframe()
42 fx_sw->xstate_size > fx_sw->extended_size) in check_xstate_in_sigframe()
51 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size))) in check_xstate_in_sigframe()
61 fx_sw->xstate_size = sizeof(struct fxregs_state); in check_xstate_in_sigframe()
111 sw_bytes->xstate_size = fpstate->user_size; in save_sw_bytes()
352 state_size = fx_sw_user.xstate_size; in __fpu_restore_sig()
/Linux-v6.6/tools/testing/selftests/mm/
Dpkey-x86.h117 int xstate_size = 0; in pkey_reg_xstate_offset() local
128 xstate_size = eax; in pkey_reg_xstate_offset()
132 if (xstate_size == 0) { in pkey_reg_xstate_offset()
/Linux-v6.6/arch/sh/kernel/cpu/
Dfpu.c31 memset(fp, 0, xstate_size); in init_fpu()
35 memset(fp, 0, xstate_size); in init_fpu()
/Linux-v6.6/arch/sh/include/asm/
Dprocessor.h110 extern unsigned int xstate_size;
/Linux-v6.6/arch/x86/include/uapi/asm/
Dsigcontext.h66 __u32 xstate_size; member
/Linux-v6.6/tools/testing/selftests/x86/
Damx.c285 if (sw_bytes->xstate_size <= xtiledata.xbuf_offset) { in handle_noperm()