Searched refs:fx_sw_user (Results 1 – 2 of 2) sorted by relevance
107 struct _fpx_sw_bytes *fx_sw_user) in check_for_xstate() argument114 err = __copy_from_user(fx_sw_user, &buf->sw_reserved[0], in check_for_xstate()122 if (fx_sw_user->magic1 != FP_XSTATE_MAGIC1) in check_for_xstate()128 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()134 fx_sw_user->extended_size - in check_for_xstate()237 struct _fpx_sw_bytes fx_sw_user; in restore_user_xstate() local242 check_for_xstate(buf, buf, &fx_sw_user)) in restore_user_xstate()245 mask = fx_sw_user.xstate_bv; in restore_user_xstate()
641 struct _fpx_sw_bytes fx_sw_user; in restore_i387_xsave() local651 if (check_for_xstate(fx, buf, &fx_sw_user)) in restore_i387_xsave()654 mask = fx_sw_user.xstate_bv; in restore_i387_xsave()656 err = restore_i387_fxsave(buf, fx_sw_user.xstate_size); in restore_i387_xsave()