Searched refs:MCE_LOG_LEN (Results 1 – 3 of 3) sorted by relevance
83 #define MCE_LOG_LEN 32 macro91 struct mce entry[MCE_LOG_LEN];
157 .len = MCE_LOG_LEN,187 if (entry >= MCE_LOG_LEN) { in mce_log()286 for (i = 0; i < MCE_LOG_LEN; i++) { in mce_panic()297 for (i = 0; i < MCE_LOG_LEN; i++) { in mce_panic()1566 if (*off != 0 || usize < MCE_LOG_LEN*sizeof(struct mce)) in mce_read()1605 for (i = next; i < MCE_LOG_LEN; i++) { in mce_read()1647 return put_user(MCE_LOG_LEN, p); in mce_ioctl()
262 struct mce mce_entry[MCE_LOG_LEN];263 struct mce mce_outentry[MCE_LOG_LEN];1778 count = (pvt->mce_out + MCE_LOG_LEN - pvt->mce_in) in i7core_check_error()1779 % MCE_LOG_LEN; in i7core_check_error()1784 if (pvt->mce_in + count > MCE_LOG_LEN) { in i7core_check_error()1785 unsigned l = MCE_LOG_LEN - pvt->mce_in; in i7core_check_error()1852 if ((pvt->mce_out + 1) % MCE_LOG_LEN == pvt->mce_in) { in i7core_mce_check_error()1861 pvt->mce_out = (pvt->mce_out + 1) % MCE_LOG_LEN; in i7core_mce_check_error()