Lines Matching full:permitted
1606 static int __xstate_request_perm(u64 permitted, u64 requested, bool guest) in __xstate_request_perm() argument
1622 if ((permitted & requested) == requested) in __xstate_request_perm()
1626 mask = permitted | requested; in __xstate_request_perm()
1660 u64 permitted, requested; in xstate_request_perm() local
1679 permitted = xstate_get_group_perm(guest); in xstate_request_perm()
1680 if ((permitted & requested) == requested) in xstate_request_perm()
1685 permitted = xstate_get_group_perm(guest); in xstate_request_perm()
1688 if (guest && (permitted & FPU_GUEST_PERM_LOCKED)) in xstate_request_perm()
1691 ret = __xstate_request_perm(permitted, requested, guest); in xstate_request_perm()
1712 /* If not permitted let it die */ in __xfd_enable_feature()
1724 * The feature is permitted. State size is sufficient. Dropping in __xfd_enable_feature()
1778 u64 permitted, supported; in fpu_xstate_prctl() local
1792 permitted = xstate_get_host_group_perm(); in fpu_xstate_prctl()
1793 permitted &= XFEATURE_MASK_USER_SUPPORTED; in fpu_xstate_prctl()
1794 return put_user(permitted, uptr); in fpu_xstate_prctl()
1797 permitted = xstate_get_guest_group_perm(); in fpu_xstate_prctl()
1798 permitted &= XFEATURE_MASK_USER_SUPPORTED; in fpu_xstate_prctl()
1799 return put_user(permitted, uptr); in fpu_xstate_prctl()