Searched refs:xen_mce (Results 1 – 2 of 2) sorted by relevance
65 .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()197 static void xen_mce_log(struct xen_mce *mce) in xen_mce_log()214 memcpy(xen_mcelog.entry + entry, mce, sizeof(struct xen_mce)); in xen_mce_log()224 struct xen_mce m; in convert_log()234 memset(&m, 0, sizeof(struct xen_mce)); in convert_log()
340 struct xen_mce { struct380 struct xen_mce entry[XEN_MCE_LOG_LEN];