Lines Matching refs:used
302 unsigned int used, ext_sz; in protected_save_fp_context() local
305 used = used_math() ? USED_FP : 0; in protected_save_fp_context()
306 if (!used) in protected_save_fp_context()
310 used |= USED_FR1; in protected_save_fp_context()
312 used |= USED_HYBRID_FPRS; in protected_save_fp_context()
344 used |= ext_sz ? USED_EXTCONTEXT : 0; in protected_save_fp_context()
346 return __put_user(used, used_math); in protected_save_fp_context()
355 unsigned int used; in protected_restore_fp_context() local
358 err = __get_user(used, used_math); in protected_restore_fp_context()
359 conditional_used_math(used & USED_FP); in protected_restore_fp_context()
365 if (err || !(used & USED_FP)) in protected_restore_fp_context()
369 if (!(used & USED_FP)) in protected_restore_fp_context()
404 if (!err && (used & USED_EXTCONTEXT)) in protected_restore_fp_context()