Searched refs:mcelog (Results 1 – 3 of 3) sorted by relevance
33 static struct mce_log_buffer mcelog = { variable52 entry = mcelog.next; in dev_mce_log()59 set_bit(MCE_OVERFLOW, (unsigned long *)&mcelog.flags); in dev_mce_log()63 mcelog.next = entry + 1; in dev_mce_log()65 memcpy(mcelog.entry + entry, mce, sizeof(struct mce)); in dev_mce_log()66 mcelog.entry[entry].finished = 1; in dev_mce_log()224 next = mcelog.next; in mce_chrdev_read()228 struct mce *m = &mcelog.entry[i]; in mce_chrdev_read()234 memset(mcelog.entry, 0, next * sizeof(struct mce)); in mce_chrdev_read()235 mcelog.next = 0; in mce_chrdev_read()[all …]
14 obj-$(CONFIG_X86_MCELOG_LEGACY) += dev-mcelog.o
1066 bool "Support for deprecated /dev/mcelog character device"1069 Enable support for /dev/mcelog which is needed by the old mcelog