Lines Matching refs:scope
202 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2() argument
204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2()
325 bool has_spectre_v3a(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v3a() argument
333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a()
511 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4() argument
515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4()
848 static bool is_spectre_bhb_safe(int scope) in is_spectre_bhb_safe() argument
864 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_safe()
966 static bool supports_ecbhb(int scope) in supports_ecbhb() argument
970 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
982 int scope) in is_spectre_bhb_affected() argument
984 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
986 if (supports_csv2p3(scope)) in is_spectre_bhb_affected()
989 if (is_spectre_bhb_safe(scope)) in is_spectre_bhb_affected()
997 if (scope == SCOPE_LOCAL_CPU && !supports_clearbhb(SCOPE_LOCAL_CPU)) in is_spectre_bhb_affected()