Lines Matching full:mce
6 #define pr_fmt(fmt) "mce: " fmt
9 #include <asm/mce.h>
29 struct mce mce; member
34 int mce_gen_pool_add(struct mce *mce);
38 int mce_severity(struct mce *a, struct pt_regs *regs, char **msg, bool is_excp);
49 bool intel_filter_mce(struct mce *m);
50 bool intel_mce_usable_address(struct mce *m);
57 static inline bool intel_filter_mce(struct mce *m) { return false; } in intel_filter_mce()
58 static inline bool intel_mce_usable_address(struct mce *m) { return false; } in intel_mce_usable_address()
66 void mce_track_storm(struct mce *mce);
73 static inline void mce_track_storm(struct mce *mce) {} in mce_track_storm() argument
120 int apei_write_mce(struct mce *m);
121 ssize_t apei_read_mce(struct mce *m, u64 *record_id);
125 static inline int apei_write_mce(struct mce *m) in apei_write_mce()
129 static inline ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce()
149 static inline bool mce_cmp(struct mce *m1, struct mce *m2) in mce_cmp()
262 /* Decide whether to add MCE record to MCE event pool or filter it out. */
263 extern bool filter_mce(struct mce *m);
264 void mce_prep_record_common(struct mce *m);
265 void mce_prep_record_per_cpu(unsigned int cpu, struct mce *m);
268 extern bool amd_filter_mce(struct mce *m);
269 bool amd_mce_usable_address(struct mce *m);
275 static __always_inline void smca_extract_err_addr(struct mce *m) in smca_extract_err_addr()
296 static inline bool amd_filter_mce(struct mce *m) { return false; } in amd_filter_mce()
297 static inline bool amd_mce_usable_address(struct mce *m) { return false; } in amd_mce_usable_address()
298 static inline void smca_extract_err_addr(struct mce *m) { } in smca_extract_err_addr()