Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/xen/
Dmcelog.c65 .recordlen = sizeof(struct xen_mce),
119 if (*off != 0 || usize < XEN_MCE_LOG_LEN*sizeof(struct xen_mce)) 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()
162 return put_user(sizeof(struct xen_mce), p); in xen_mce_chrdev_ioctl()
196 static void xen_mce_log(struct xen_mce *mce) in xen_mce_log()
213 memcpy(xen_mcelog.entry + entry, mce, sizeof(struct xen_mce)); in xen_mce_log()
223 struct xen_mce m; in convert_log()
233 memset(&m, 0, sizeof(struct xen_mce)); in convert_log()
/linux-6.12.1/include/xen/interface/
Dxen-mca.h340 struct xen_mce { struct
380 struct xen_mce entry[XEN_MCE_LOG_LEN];