Lines Matching refs:entries
378 ERST_TAB_ENTRY(erst_tab), erst_tab->entries); in erst_exec_ctx_init()
436 u64 *entries; member
485 u64 *entries; in __erst_record_id_cache_add_one() local
506 entries = erst_record_id_cache.entries; in __erst_record_id_cache_add_one()
508 if (entries[i] == id) in __erst_record_id_cache_add_one()
526 alloc_size = new_size * sizeof(entries[0]); in __erst_record_id_cache_add_one()
533 memcpy(new_entries, entries, in __erst_record_id_cache_add_one()
534 erst_record_id_cache.len * sizeof(entries[0])); in __erst_record_id_cache_add_one()
536 kfree(entries); in __erst_record_id_cache_add_one()
538 vfree(entries); in __erst_record_id_cache_add_one()
539 erst_record_id_cache.entries = entries = new_entries; in __erst_record_id_cache_add_one()
542 entries[i] = id; in __erst_record_id_cache_add_one()
556 u64 *entries; in erst_get_record_id_next() local
566 entries = erst_record_id_cache.entries; in erst_get_record_id_next()
568 if (entries[*pos] != APEI_ERST_INVALID_RECORD_ID) in erst_get_record_id_next()
572 *record_id = entries[*pos]; in erst_get_record_id_next()
583 *record_id = erst_record_id_cache.entries[*pos]; in erst_get_record_id_next()
601 u64 *entries; in __erst_record_id_cache_compact() local
606 entries = erst_record_id_cache.entries; in __erst_record_id_cache_compact()
608 if (entries[i] == APEI_ERST_INVALID_RECORD_ID) in __erst_record_id_cache_compact()
611 entries[wpos] = entries[i]; in __erst_record_id_cache_compact()
876 u64 *entries; in erst_clear() local
892 entries = erst_record_id_cache.entries; in erst_clear()
894 if (entries[i] == record_id) in erst_clear()
895 entries[i] = APEI_ERST_INVALID_RECORD_ID; in erst_clear()
920 if (erst_tab->entries != in erst_check_table()