Home
last modified time | relevance | path

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

/linux-6.15/arch/sh/kernel/
H A 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.15/tools/testing/selftests/mm/
H A Dpkey-x86.h123 int xstate_size = 0; in pkey_reg_xstate_offset() local
134 xstate_size = eax; in pkey_reg_xstate_offset()
138 if (xstate_size == 0) { in pkey_reg_xstate_offset()
/linux-6.15/arch/sh/kernel/cpu/
H A Dfpu.c31 memset(fp, 0, xstate_size); in init_fpu()
35 memset(fp, 0, xstate_size); in init_fpu()
/linux-6.15/arch/sh/include/asm/
H A Dprocessor.h110 extern unsigned int xstate_size;
/linux-6.15/arch/x86/kernel/fpu/
H A Dsignal.c56 fx_sw->xstate_size = sizeof(struct fxregs_state); in check_xstate_in_sigframe()
106 sw_bytes->xstate_size = fpstate->user_size; in save_sw_bytes()
/linux-6.15/arch/x86/include/uapi/asm/
H A Dsigcontext.h66 __u32 xstate_size; member
/linux-6.15/tools/testing/selftests/x86/
H A Damx.c96 if (sw_bytes->xstate_size <= xtiledata.xbuf_offset) { in handle_noperm()
H A Dxstate.c401 magic2 = *(uint32_t *)(xbuf + sw_bytes->xstate_size); in validate_sigfpstate()
/linux-6.15/arch/x86/um/
H A Dsignal.c205 __put_user(host_fp_size, &to_fp64->fpstate.sw_reserved.xstate_size); in copy_sc_to_user()