Lines Matching refs:scope
197 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2() argument
199 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2()
320 bool has_spectre_v3a(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v3a() argument
328 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a()
501 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4() argument
505 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4()
838 static bool is_spectre_bhb_safe(int scope) in is_spectre_bhb_safe() argument
854 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_safe()
957 static bool supports_ecbhb(int scope) in supports_ecbhb() argument
961 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
973 int scope) in is_spectre_bhb_affected() argument
975 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
977 if (supports_csv2p3(scope)) in is_spectre_bhb_affected()
980 if (is_spectre_bhb_safe(scope)) in is_spectre_bhb_affected()
988 if (scope == SCOPE_LOCAL_CPU && !supports_clearbhb(SCOPE_LOCAL_CPU)) in is_spectre_bhb_affected()