Lines Matching refs:scope
201 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2() argument
203 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2()
527 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4() argument
531 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4()
856 u8 spectre_bhb_loop_affected(int scope) in spectre_bhb_loop_affected() argument
861 if (scope == SCOPE_LOCAL_CPU) { in spectre_bhb_loop_affected()
924 static bool is_spectre_bhb_fw_affected(int scope) in is_spectre_bhb_fw_affected() argument
937 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_fw_affected()
949 static bool supports_ecbhb(int scope) in supports_ecbhb() argument
953 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
963 int scope) in is_spectre_bhb_affected() argument
965 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
967 if (supports_csv2p3(scope)) in is_spectre_bhb_affected()
970 if (supports_clearbhb(scope)) in is_spectre_bhb_affected()
973 if (spectre_bhb_loop_affected(scope)) in is_spectre_bhb_affected()
976 if (is_spectre_bhb_fw_affected(scope)) in is_spectre_bhb_affected()