Searched refs:MCE_LOG_LEN (Results 1 – 4 of 4) sorted by relevance
91 #define MCE_LOG_LEN 32 macro106 struct mce entry[MCE_LOG_LEN];
275 struct mce mce_entry[MCE_LOG_LEN];276 struct mce mce_outentry[MCE_LOG_LEN];1808 count = (pvt->mce_out + MCE_LOG_LEN - pvt->mce_in) in i7core_check_error()1809 % MCE_LOG_LEN; in i7core_check_error()1814 if (pvt->mce_in + count > MCE_LOG_LEN) { in i7core_check_error()1815 unsigned l = MCE_LOG_LEN - pvt->mce_in; in i7core_check_error()1886 if ((pvt->mce_out + 1) % MCE_LOG_LEN == pvt->mce_in) { in i7core_mce_check_error()1895 pvt->mce_out = (pvt->mce_out + 1) % MCE_LOG_LEN; in i7core_mce_check_error()
328 struct mce mce_entry[MCE_LOG_LEN];329 struct mce mce_outentry[MCE_LOG_LEN];2202 count = (pvt->mce_out + MCE_LOG_LEN - pvt->mce_in) in sbridge_check_error()2203 % MCE_LOG_LEN; in sbridge_check_error()2208 if (pvt->mce_in + count > MCE_LOG_LEN) { in sbridge_check_error()2209 unsigned l = MCE_LOG_LEN - pvt->mce_in; in sbridge_check_error()2288 if ((pvt->mce_out + 1) % MCE_LOG_LEN == pvt->mce_in) { in sbridge_mce_check_error()2297 pvt->mce_out = (pvt->mce_out + 1) % MCE_LOG_LEN; in sbridge_mce_check_error()
151 .len = MCE_LOG_LEN,176 if (entry >= MCE_LOG_LEN) { in mce_log()312 for (i = 0; i < MCE_LOG_LEN; i++) { in mce_panic()323 for (i = 0; i < MCE_LOG_LEN; i++) { in mce_panic()1841 if (*off != 0 || usize < MCE_LOG_LEN*sizeof(struct mce)) in mce_chrdev_read()1879 for (i = next; i < MCE_LOG_LEN; i++) { in mce_chrdev_read()1922 return put_user(MCE_LOG_LEN, p); in mce_chrdev_ioctl()