Home
last modified time | relevance | path

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

/linux-2.6.39/arch/x86/kernel/
Dxsave.c107 struct _fpx_sw_bytes *fx_sw_user) in check_for_xstate() argument
114 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() local
242 check_for_xstate(buf, buf, &fx_sw_user)) in restore_user_xstate()
245 mask = fx_sw_user.xstate_bv; in restore_user_xstate()
Di387.c641 struct _fpx_sw_bytes fx_sw_user; in restore_i387_xsave() local
651 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()