Lines Matching full:permitted
1542 static int __xstate_request_perm(u64 permitted, u64 requested, bool guest) in __xstate_request_perm() argument
1558 if ((permitted & requested) == requested) in __xstate_request_perm()
1562 mask = permitted | requested; in __xstate_request_perm()
1596 u64 permitted, requested; in xstate_request_perm() local
1615 permitted = xstate_get_group_perm(guest); in xstate_request_perm()
1616 if ((permitted & requested) == requested) in xstate_request_perm()
1621 permitted = xstate_get_group_perm(guest); in xstate_request_perm()
1624 if (guest && (permitted & FPU_GUEST_PERM_LOCKED)) in xstate_request_perm()
1627 ret = __xstate_request_perm(permitted, requested, guest); in xstate_request_perm()
1648 /* If not permitted let it die */ in __xfd_enable_feature()
1660 * The feature is permitted. State size is sufficient. Dropping in __xfd_enable_feature()
1715 u64 permitted, supported; in fpu_xstate_prctl() local
1729 permitted = xstate_get_host_group_perm(); in fpu_xstate_prctl()
1730 permitted &= XFEATURE_MASK_USER_SUPPORTED; in fpu_xstate_prctl()
1731 return put_user(permitted, uptr); in fpu_xstate_prctl()
1734 permitted = xstate_get_guest_group_perm(); in fpu_xstate_prctl()
1735 permitted &= XFEATURE_MASK_USER_SUPPORTED; in fpu_xstate_prctl()
1736 return put_user(permitted, uptr); in fpu_xstate_prctl()