Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/vm/
Dpkey-x86.h135 int xstate_size; in pkey_reg_xstate_offset() local
146 xstate_size = eax; in pkey_reg_xstate_offset()
150 if (xstate_size == 0) { in pkey_reg_xstate_offset()
/linux-6.1.9/arch/sh/kernel/cpu/
Dfpu.c31 memset(fp, 0, xstate_size); in init_fpu()
35 memset(fp, 0, xstate_size); in init_fpu()
/linux-6.1.9/arch/sh/include/asm/
Dprocessor.h110 extern unsigned int xstate_size;
/linux-6.1.9/arch/x86/include/uapi/asm/
Dsigcontext.h66 __u32 xstate_size; member
/linux-6.1.9/tools/testing/selftests/x86/
Damx.c283 if (sw_bytes->xstate_size <= xtiledata.xbuf_offset) { in handle_noperm()