Searched refs:xen_mcelog (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/xen/
H A Dmcelog.c35 #define pr_fmt(fmt) "xen_mcelog: " fmt
62 static struct xen_mce_log xen_mcelog = { variable in typeref:struct:xen_mce_log
115 num = xen_mcelog.next; xen_mce_chrdev_read()
124 struct xen_mce *m = &xen_mcelog.entry[i]; xen_mce_chrdev_read()
130 memset(xen_mcelog.entry, 0, num * sizeof(struct xen_mce)); xen_mce_chrdev_read()
131 xen_mcelog.next = 0; xen_mce_chrdev_read()
146 if (xen_mcelog.next) xen_mce_chrdev_poll()
169 flags = xen_mcelog.flags; xen_mce_chrdev_ioctl()
170 } while (cmpxchg(&xen_mcelog.flags, flags, 0) != flags); xen_mce_chrdev_ioctl()
201 entry = xen_mcelog.next; xen_mce_log()
210 (unsigned long *)&xen_mcelog.flags); xen_mce_log()
214 memcpy(xen_mcelog.entry + entry, mce, sizeof(struct xen_mce)); xen_mce_log()
216 xen_mcelog.next++; xen_mce_log()

Completed in 174 milliseconds