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 u8 spectre_bhb_loop_affected(int scope) in spectre_bhb_loop_affected() argument
853 if (scope == SCOPE_LOCAL_CPU) { in spectre_bhb_loop_affected()
919 static bool is_spectre_bhb_fw_affected(int scope) in is_spectre_bhb_fw_affected() argument
932 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_fw_affected()
944 static bool supports_ecbhb(int scope) in supports_ecbhb() argument
948 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
958 int scope) in is_spectre_bhb_affected() argument
960 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
962 if (supports_csv2p3(scope)) in is_spectre_bhb_affected()
965 if (supports_clearbhb(scope)) in is_spectre_bhb_affected()
968 if (spectre_bhb_loop_affected(scope)) in is_spectre_bhb_affected()
971 if (is_spectre_bhb_fw_affected(scope)) in is_spectre_bhb_affected()