Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/fpu/
Dsignal.c28 struct _fpx_sw_bytes *fx_sw) in check_xstate_in_sigframe() argument
35 if (__copy_from_user(fx_sw, &fxbuf->sw_reserved[0], sizeof(*fx_sw))) in check_xstate_in_sigframe()
39 if (fx_sw->magic1 != FP_XSTATE_MAGIC1 || in check_xstate_in_sigframe()
40 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()
60 fx_sw->magic1 = 0; in check_xstate_in_sigframe()
61 fx_sw->xstate_size = sizeof(struct fxregs_state); in check_xstate_in_sigframe()
62 fx_sw->xfeatures = XFEATURE_MASK_FPSSE; in check_xstate_in_sigframe()