mcelog             32 arch/x86/kernel/cpu/mce/dev-mcelog.c static struct mce_log_buffer mcelog = {
mcelog             48 arch/x86/kernel/cpu/mce/dev-mcelog.c 	entry = mcelog.next;
mcelog             55 arch/x86/kernel/cpu/mce/dev-mcelog.c 		set_bit(MCE_OVERFLOW, (unsigned long *)&mcelog.flags);
mcelog             59 arch/x86/kernel/cpu/mce/dev-mcelog.c 	mcelog.next = entry + 1;
mcelog             61 arch/x86/kernel/cpu/mce/dev-mcelog.c 	memcpy(mcelog.entry + entry, mce, sizeof(struct mce));
mcelog             62 arch/x86/kernel/cpu/mce/dev-mcelog.c 	mcelog.entry[entry].finished = 1;
mcelog            220 arch/x86/kernel/cpu/mce/dev-mcelog.c 	next = mcelog.next;
mcelog            224 arch/x86/kernel/cpu/mce/dev-mcelog.c 		struct mce *m = &mcelog.entry[i];
mcelog            230 arch/x86/kernel/cpu/mce/dev-mcelog.c 	memset(mcelog.entry, 0, next * sizeof(struct mce));
mcelog            231 arch/x86/kernel/cpu/mce/dev-mcelog.c 	mcelog.next = 0;
mcelog            245 arch/x86/kernel/cpu/mce/dev-mcelog.c 	if (READ_ONCE(mcelog.next))
mcelog            269 arch/x86/kernel/cpu/mce/dev-mcelog.c 			flags = mcelog.flags;
mcelog            270 arch/x86/kernel/cpu/mce/dev-mcelog.c 		} while (cmpxchg(&mcelog.flags, flags, 0) != flags);