Home
last modified time | relevance | path

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

/arch/sh/kernel/
Dprocess.c10 unsigned int xstate_size; variable
33 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size); in arch_dup_task_struct()
54 if (!xstate_size) in arch_task_cache_init()
57 task_xstate_cachep = kmem_cache_create("task_xstate", xstate_size, in arch_task_cache_init()
71 xstate_size = sizeof(struct sh_fpu_hard_struct); in init_thread_xstate()
73 xstate_size = sizeof(struct sh_fpu_soft_struct); in init_thread_xstate()
75 xstate_size = 0; in init_thread_xstate()
/arch/x86/kernel/fpu/
Dsignal.c33 fx_sw->xstate_size < min_xstate_size || in check_for_xstate()
34 fx_sw->xstate_size > xstate_size || in check_for_xstate()
35 fx_sw->xstate_size > fx_sw->extended_size) in check_for_xstate()
44 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size)) in check_for_xstate()
91 err |= __put_user(FP_XSTATE_MAGIC2, (__u32 *)(buf + xstate_size)); in save_xstate_epilog()
128 if (unlikely(err) && __clear_user(buf, xstate_size)) in copy_fpregs_to_sigframe()
179 if (__copy_to_user(buf_fx, xsave, xstate_size)) in copy_fpstate_to_sigframe()
253 int state_size = xstate_size; in __fpu__restore_sig()
294 state_size = fx_sw_user.xstate_size; in __fpu__restore_sig()
351 return use_xsave() ? xstate_size + FP_XSTATE_MAGIC2_SIZE : xstate_size; in xstate_sigframe_size()
[all …]
Dinit.c146 unsigned int xstate_size; variable
147 EXPORT_SYMBOL_GPL(xstate_size);
170 task_size += xstate_size; in fpu__init_task_struct_size()
211 xstate_size = sizeof(struct swregs_state); in fpu__init_system_xstate_size_legacy()
214 xstate_size = sizeof(struct fxregs_state); in fpu__init_system_xstate_size_legacy()
216 xstate_size = sizeof(struct fregs_state); in fpu__init_system_xstate_size_legacy()
Dcore.c201 memset(state, 0, xstate_size); in fpstate_init()
224 memset(&dst_fpu->state.xsave, 0, xstate_size); in fpu_copy()
244 memcpy(&src_fpu->state, &dst_fpu->state, xstate_size); in fpu_copy()
Dxstate.c548 XSTATE_WARN_ON(paranoid_xstate_size != xstate_size); in do_extra_xstate_size_checks()
619 xstate_size = possible_xstate_size; in init_xstate_size()
677 update_regset_xstate_info(xstate_size, xfeatures_mask); in fpu__init_system_xstate()
684 xstate_size, in fpu__init_system_xstate()
/arch/sh/kernel/cpu/
Dfpu.c27 memset(fp, 0, xstate_size); in init_fpu()
31 memset(fp, 0, xstate_size); in init_fpu()
/arch/x86/include/asm/fpu/
Dxstate.h41 extern unsigned int xstate_size;
/arch/sh/include/asm/
Dprocessor.h115 extern unsigned int xstate_size;
/arch/x86/include/uapi/asm/
Dsigcontext.h65 __u32 xstate_size; member
/arch/x86/include/asm/
Dprocessor.h392 extern unsigned int xstate_size;