Lines Matching refs:used
331 unsigned int used, ext_sz; in protected_save_fp_context() local
334 used = used_math() ? USED_FP : 0; in protected_save_fp_context()
335 if (!used) in protected_save_fp_context()
339 used |= USED_FR1; in protected_save_fp_context()
341 used |= USED_HYBRID_FPRS; in protected_save_fp_context()
373 used |= ext_sz ? USED_EXTCONTEXT : 0; in protected_save_fp_context()
375 return __put_user(used, used_math); in protected_save_fp_context()
384 unsigned int used; in protected_restore_fp_context() local
387 err = __get_user(used, used_math); in protected_restore_fp_context()
388 conditional_used_math(used & USED_FP); in protected_restore_fp_context()
394 if (err || !(used & USED_FP)) in protected_restore_fp_context()
398 if (!(used & USED_FP)) in protected_restore_fp_context()
433 if (!err && (used & USED_EXTCONTEXT)) in protected_restore_fp_context()