Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/xen/
Dmcelog.c62 static struct xen_mce_log xen_mcelog = { variable
115 num = xen_mcelog.next; in xen_mce_chrdev_read()
124 struct xen_mce *m = &xen_mcelog.entry[i]; in xen_mce_chrdev_read()
130 memset(xen_mcelog.entry, 0, num * sizeof(struct xen_mce)); in xen_mce_chrdev_read()
131 xen_mcelog.next = 0; in xen_mce_chrdev_read()
146 if (xen_mcelog.next) in xen_mce_chrdev_poll()
169 flags = xen_mcelog.flags; in xen_mce_chrdev_ioctl()
170 } while (cmpxchg(&xen_mcelog.flags, flags, 0) != flags); in xen_mce_chrdev_ioctl()
201 entry = xen_mcelog.next; in xen_mce_log()
210 (unsigned long *)&xen_mcelog.flags); in xen_mce_log()
[all …]