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()
836 u8 spectre_bhb_loop_affected(int scope) in spectre_bhb_loop_affected() argument
841 if (scope == SCOPE_LOCAL_CPU) { in spectre_bhb_loop_affected()
907 static bool is_spectre_bhb_fw_affected(int scope) in is_spectre_bhb_fw_affected() argument
920 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_fw_affected()
932 static bool supports_ecbhb(int scope) in supports_ecbhb() argument
936 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
946 int scope) in is_spectre_bhb_affected() argument
948 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
950 if (supports_csv2p3(scope)) in is_spectre_bhb_affected()
953 if (supports_clearbhb(scope)) in is_spectre_bhb_affected()
956 if (spectre_bhb_loop_affected(scope)) in is_spectre_bhb_affected()
959 if (is_spectre_bhb_fw_affected(scope)) in is_spectre_bhb_affected()