Home
last modified time | relevance | path

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

/linux-2.6.39/arch/sh/kernel/
Dprocess.c7 unsigned int xstate_size; variable
18 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size); in arch_dup_task_struct()
81 if (!xstate_size) in arch_task_cache_init()
84 task_xstate_cachep = kmem_cache_create("task_xstate", xstate_size, in arch_task_cache_init()
98 xstate_size = sizeof(struct sh_fpu_hard_struct); in init_thread_xstate()
100 xstate_size = sizeof(struct sh_fpu_soft_struct); in init_thread_xstate()
102 xstate_size = 0; in init_thread_xstate()
/linux-2.6.39/arch/x86/kernel/
Dxsave.c128 if (fx_sw_user->xstate_size < min_xstate_size || in check_for_xstate()
129 fx_sw_user->xstate_size > xstate_size || in check_for_xstate()
130 fx_sw_user->xstate_size > fx_sw_user->extended_size) in check_for_xstate()
163 BUG_ON(sig_xstate_size < xstate_size); in save_i387_xstate()
184 xstate_size)) in save_i387_xstate()
326 int size_extended = (xstate_size - sizeof(struct i387_fxsave_struct)) + in prepare_fx_sw_frame()
340 fx_sw_reserved.xstate_size = xstate_size; in prepare_fx_sw_frame()
397 init_xstate_buf = alloc_bootmem_align(xstate_size, in setup_xstate_init()
446 xstate_size = ebx; in xstate_enable_boot_cpu()
448 update_regset_xstate_info(xstate_size, pcntxt_mask); in xstate_enable_boot_cpu()
[all …]
Di387.c42 unsigned int xstate_size; variable
43 EXPORT_SYMBOL_GPL(xstate_size);
77 xstate_size = sizeof(struct i387_soft_struct); in init_thread_xstate()
82 xstate_size = sizeof(struct i387_fxsave_struct); in init_thread_xstate()
84 xstate_size = sizeof(struct i387_fsave_struct); in init_thread_xstate()
129 memset(fx, 0, xstate_size); in fpu_finit()
135 memset(fp, 0, xstate_size); in fpu_finit()
540 if (__copy_to_user(&buf->_fxsr_env[0], fx, xstate_size)) in save_i387_fxsave()
656 err = restore_i387_fxsave(buf, fx_sw_user.xstate_size); in restore_i387_xsave()
Dprocess.c58 kmem_cache_create("task_xstate", xstate_size, in arch_task_cache_init()
/linux-2.6.39/arch/sh/kernel/cpu/
Dfpu.c26 memset(fp, 0, xstate_size); in init_fpu()
30 memset(fp, 0, xstate_size); in init_fpu()
/linux-2.6.39/arch/x86/include/asm/
Dxsave.h34 extern unsigned int xstate_size;
90 if (unlikely(err) && __clear_user(buf, xstate_size)) in xsave_user()
Dsigcontext.h33 __u32 xstate_size; /* actual xsave state size, based on the member
Di387.h446 memcpy(dst->state, src->state, xstate_size); in fpu_copy()
Dprocessor.h419 extern unsigned int xstate_size;
/linux-2.6.39/arch/sh/include/asm/
Dprocessor.h114 extern unsigned int xstate_size;
/linux-2.6.39/arch/x86/kvm/
Dx86.c2721 xstate_size); in kvm_vcpu_ioctl_x86_get_xsave()
2739 guest_xsave->region, xstate_size); in kvm_vcpu_ioctl_x86_set_xsave()