Searched refs:fx_sw (Results 1 – 1 of 1) sorted by relevance
26 struct _fpx_sw_bytes *fx_sw) in check_for_xstate() argument32 if (__copy_from_user(fx_sw, &buf->sw_reserved[0], sizeof(*fx_sw))) in check_for_xstate()36 if (fx_sw->magic1 != FP_XSTATE_MAGIC1 || in check_for_xstate()37 fx_sw->xstate_size < min_xstate_size || in check_for_xstate()38 fx_sw->xstate_size > fpu_user_xstate_size || in check_for_xstate()39 fx_sw->xstate_size > fx_sw->extended_size) in check_for_xstate()48 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size)) in check_for_xstate()