Lines Matching refs:permitted
1585 static int __xstate_request_perm(u64 permitted, u64 requested, bool guest) in __xstate_request_perm() argument
1601 if ((permitted & requested) == requested) in __xstate_request_perm()
1605 mask = permitted | requested; in __xstate_request_perm()
1639 u64 permitted, requested; in xstate_request_perm() local
1658 permitted = xstate_get_group_perm(guest); in xstate_request_perm()
1659 if ((permitted & requested) == requested) in xstate_request_perm()
1664 permitted = xstate_get_group_perm(guest); in xstate_request_perm()
1667 if (guest && (permitted & FPU_GUEST_PERM_LOCKED)) in xstate_request_perm()
1670 ret = __xstate_request_perm(permitted, requested, guest); in xstate_request_perm()
1758 u64 permitted, supported; in fpu_xstate_prctl() local
1772 permitted = xstate_get_host_group_perm(); in fpu_xstate_prctl()
1773 permitted &= XFEATURE_MASK_USER_SUPPORTED; in fpu_xstate_prctl()
1774 return put_user(permitted, uptr); in fpu_xstate_prctl()
1777 permitted = xstate_get_guest_group_perm(); in fpu_xstate_prctl()
1778 permitted &= XFEATURE_MASK_USER_SUPPORTED; in fpu_xstate_prctl()
1779 return put_user(permitted, uptr); in fpu_xstate_prctl()